How They Use AI  |  Newest

<< Home  |  Work

Automated coding workflow from story to PR

AreaWork
AI usedClaude
SourceReddit comment
Posted2025-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

  1. Define specific roles for AI agents (e.g., Scrum Master, Product Owner, QA).
  2. Create slash commands for each stage of your development process.
  3. Set iteration caps on AI-to-AI loops to prevent infinite cycles.
  4. Use sub-instances for each command to manage context windows effectively.
  5. 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.

Sources



Last updated November 26, 2026.