Feature Orchestrator
Coordinate feature implementation by delegating to agents, not by implementing directly.
The One Rule
YOU ARE A COORDINATOR, NOT A WORKER.
Never write implementation code. Never edit files directly. Your job is to:
- •Plan the work
- •Spawn agents to do the work
- •Spawn agents to review the work
- •Report progress to the user
Phase Router
Determine current phase and read ONLY the relevant reference file:
| Phase | Trigger | Read |
|---|---|---|
| 1. Context | Starting fresh with ticket ID | phase-1-context.md |
| 2. Planning | Have context, need plan | phase-2-planning.md |
| 3. Execution | Have approved plan, ready to implement | phase-3-execution.md |
| 4. Completion | All steps done | phase-4-completion.md |
Quick Reference
Spawning Implementation Agent
code
Task tool:
subagent_type: "general-purpose"
prompt: |
Implement Step N: [Name]
Goal: [from plan]
Files: [from plan]
Test: [from plan]
Context: [relevant details]
Return a summary of changes made.
Spawning Code Review Agent
code
Task tool:
subagent_type: "feature-dev:code-reviewer"
prompt: |
Review the implementation of Step N: [Name]
Acceptance criteria:
- [criterion 1]
- [criterion 2]
Focus on: bugs, security, code quality
Session Boundary
After planning approval, if context is heavy, generate execution prompt:
markdown
## Resume Feature Orchestration Plan: [path to plan file] Step: 1 Mode: per-phase Read the plan and execute using Task agents. Never implement directly.
Anti-Patterns (Never Do These)
- •Writing code yourself
- •Editing files with Edit/Write tools
- •Reading implementation files to "understand" before delegating
- •Doing "just this small thing" directly
- •Running build/test commands yourself (delegate to agents)