subagent-driven-development
Use when executing implementation plans with independent tasks or facing multiple independent issues that can be investigated without shared state - dispatches fresh subagent for each task with code review between tasks.
Purpose - Execute plans through coordinated subagents with quality checkpoints
Output - Completed implementation with all tasks verified and reviewed
When to Use SADD
Use SADD when:
You have an implementation plan with 3+ distinct tasks
Tasks can be executed independently (or in clear sequence)
You need quality gates between implementation steps
Context would accumulate over a long implementation session
Multiple unrelated failures need parallel investigation
Different subsystems need changes that do not conflict
Use regular development when:
Single task or simple change
Tasks are tightly coupled and need shared understanding
Exploratory work where scope is undefined
You need human-in-the-loop feedback between every step
Usage
How It Works
SADD supports three execution strategies based on task characteristics:
Sequential Execution
For dependent tasks that must be executed in order:
Parallel Execution
For independent tasks that can run concurrently:
Parallel Investigation
Special case for fixing multiple unrelated failures:
Sequential Execution Process
Load Plan: Reads plan file, creates TodoWrite with all tasks
Execute Task with Subagent: For each task, dispatches a fresh subagent that reads the task, implements it, writes tests, verifies, commits, and reports back
Review Subagent's Work: Dispatches a code-reviewer subagent to review against the plan (returns Strengths, Issues by severity, Assessment)
Apply Review Feedback: Fix Critical issues immediately, Important issues before next task, note Minor issues
Mark Complete, Next Task: Updates TodoWrite and repeat steps 2-5
Final Review: After all tasks, dispatches final code-reviewer for overall assessment
Complete Development: Use finishing-a-development-branch skill to verify and close
Parallel Execution Process
Loads and Reviews Plan: Reads plan, identifies concerns, creates TodoWrite
Executes Batch: Executes first 3 tasks (default batch size), marking each in_progress then completed
Reports: Shows what was implemented and verification output, says "Ready for feedback"
Continues: Applies feedback if needed, executes next batch, repeats until complete
Complete Development: Final verification using finishing-a-development-branch skill
Parallel Investigation Process
Special case for multiple unrelated failures that can be investigated without shared state:
Identifies Independent Domains: Groups failures by what is broken (e.g., different test files, different subsystems)
Creates Focused Agent Tasks: Each agent gets specific scope, clear goal, constraints, and expected output format
Dispatch in Parallel: All agents run concurrently
Reviews and Integrates: Reads each summary, verifies fixes do not conflict, runs full test suite
Last updated