<< Home | Work
Automated coding workflow from story to PR
| Area | Work |
| AI used | Claude |
| Source | Reddit comment |
| Posted | 2025-06-29 |
The move
Create a series of slash commands that trigger specialized AI sub-agents for each stage of the software development lifecycle.Steps
- Define specific roles for AI agents (e.g., Scrum Master, Product Owner, QA).
- Create slash commands for each stage of your development process.
- Set iteration caps on AI-to-AI loops to prevent infinite cycles.
- Use sub-instances for each command to manage context windows effectively.
- Monitor the logs and use a kill-switch for manual oversight.
Prompt for your AI
Act as a [Role, e.g., Product Owner]. Review the following feature story: [Insert Story]. Provide feedback and acceptance criteria. Limit your response to [Number] iterations and ensure the output is formatted for a technical implementation plan.
What happened
The developer built a custom workflow using Claude to automate the transition from product requirements to pull requests. By assigning specific roles like Scrum Master, Product Owner, and QA to AI sub-agents, the developer reduced manual intervention to almost zero. The system handles planning, coding, testing, and PR reviews automatically.Watch out
AI agents can enter infinite loops if iteration caps are not enforced. Always maintain manual oversight to prevent unintended code changes.Give it to your agent
Read https://howtheyuse.ai/p/automated-coding-workflow-from-story-to-pr.md and help me do this.