Break a React project into a 12-agent workflow
A developer split Claude Code into 12 narrow helpers to handle building, checking, fixing, rewriting, and committing work on a React app.
- What they did
- They placed individual agent definitions in markdown files under ~/.claude/agents/, with each one assigned its own instructions, model, and tool access. The prompts included the repo’s existing coding habits so the helpers would stay aligned with the project. In the main Claude Code session, they used the agents’ descriptions to send tasks to the right role: one for architecture, one for typing, one for bottom-up implementation, one for read-only review, and one Haiku-based agent for git commits. Independent tasks could be run in parallel.
- How it went
- According to the developer, new features now stay closer to the project’s established patterns, and review checks surface rule breaks automatically. No metrics were reported, and they described the setup as still evolving.
- Tips
- Keep each helper’s job narrow and make the routing descriptions specific enough that the main session can choose the right one without guesswork. Leave anything irreversible, such as commits, until a final approval step.
Try it yourself with Claude Code
Set up a small team of Claude Code subagents for my [framework] codebase in [repo path]. Give each agent a distinct responsibility such as planning, implementation, type checking, review, debugging, refactoring, or committing, and write each definition as its own file with clear instructions, tools, and model choice. Include the project’s style and naming patterns in the prompts so the helpers follow the same conventions. Then have the main session route one test task through the team, report which agent handled each step, and stop for my approval before any commit, push, deletion, or submission.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
1 more report of this
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Claude Code to control Windows apps in the background
A developer made an MCP server that lets Claude Code operate some Windows apps without taking over the desktop.
Automate a second check on Claude Code replies
They built Sage to forward Claude Code’s answers to Codex so they could review another model’s take without manual copy-pasting.
Use a browser agent for setup tasks that come up while coding
A developer keeps coding in Claude Code while Claude in Chrome handles related web settings changes in the browser.
Build an anonymous board for AI hopes and worries
They used Claude Code to create a site where people can post anonymously, with one model sorting entries and another finding themes.
Build a five-step feature pipeline with approval gates
A solo SaaS founder used chained Claude Code commands to turn ideas into shipped features with less token use and faster turnaround.
Let Claude Code text you only when it needs help
A solo SaaS founder let Claude Code handle most coding and interrupt them by Telegram only for decisions, errors, and approvals.