subagent-driven-development
Installation
SKILL.md
Subagent-Driven Development
Execute a plan by dispatching fresh subagents per task, with the lead doing inline review (spec compliance + code quality) after each task. Independent tasks can be dispatched in parallel; tightly coupled tasks run sequentially. For fixes, dispatch a fresh implementer with the fix prompt and prior-task context.
Core principle: Fresh subagent per task + inline review by lead + parallel fan-out when tasks are independent = high quality without wasted ceremony.
Dispatch mechanism:
- Claude Code:
Agenttool (one call per subagent; multiple calls in one turn run in parallel). - opencode:
Tasktool (one call per subagent; multiple calls in one turn run in parallel). The built-ingeneralsubagent is suitable for most implementer work;@mentionalso works for manual invocation. - Codex:
spawn_agent(agent_type="worker", message=<filled prompt>)(one call per subagent; multiple calls in one turn run in parallel). Keep the returned agent ID,send_input(target=<agent-id>, message=...)feeds follow-ups (the closest thing to Claude Code's resume),wait_agent(targets=[<agent-id>])blocks until the agent finishes, andclose_agent(target=<agent-id>)frees the slot. Requiresmulti_agent = truein~/.codex/config.toml(seeskills/using-razorback/references/codex-tools.md). - Gemini CLI:
invoke_agent(agent_name="generalist", prompt=<filled prompt>)(parallel by default; setwait_for_previous: trueonly when you need a call serialized behind earlier ones). Resume is not available — route fix rounds via a freshinvoke_agentcall with the fix prompt and prior-task context. Subagents cannot recursively dispatch other subagents, so all worker dispatch happens from the lead session.
If the harness supports per-agent model or reasoning selection, apply the plan's Model Routing tier when dispatching. If it does not, use inherit and note that in the task report.