Skip to content
Development
Skill

/common-subagent-driven-development

Execute multi-task implementation plans by dispatching a fresh implementer subagent per task with independent review gates. Use when implementing plans, executing multi-task PRs, or transitioning from planning to implementation.

BOOST
From plugin
agent-skills-standard
569200 skills21 agents33 commands1 MCP
Install
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-subagent-driven-development --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/common-subagent-driven-development

Context preview

The summary Claude sees to decide when to auto-load this skill.

Execute multi-task implementation plans by dispatching a fresh implementer subagent per task with independent review gates. Use when implementing plans, executing multi-task PRs, or transitioning from planning to implementation.

SKILL.md

common-subagent-driven-development.SKILL.md
name: common-subagent-driven-development
description: Execute multi-task implementation plans by dispatching a fresh implementer subagent per task with independent review gates. Use when implementing plans, executing multi-task PRs, or transitioning from planning to implementation.
metadata:
  triggers:
    files:
    - 'docs/**/plans/*.md'
    - '.agent/sdd/**'
    - '*plan*.md'
    - 'TODO.md'
    keywords:
    - subagent-driven-development
    - implement plan
    - execute plan
    - implement this plan
    - implement PR
    - implement tasks
    - execute tasks
    - start implementation
    - plan implementation
    - subagent driven
    - multi-task implementation
    - sdd

Subagent-Driven Development (SDD)

**Priority: P1 (HIGH)**

Execute multi-task implementation plans by dispatching a fresh implementer subagent per task, an independent task review (spec compliance + code quality) after each, and a whole-branch review at the end.

1. Execution Confirmation Gate (Scenario A & B)

Before editing code for any multi-task plan: 1. **DO NOT start editing files directly in this orchestrator session.** 2. **Confirm with human partner:** Offer Subagent-Driven (Recommended — fresh workers via cheap tier + task review gate, zero context bloat) vs. Inline (only for tiny 1-2 file changes). 3. If approved (or user replies "yes", "proceed", "start"), invoke SDD. See [methodology.md](references/methodology.md#1-execution-confirmation-gate).

2. SDD & TDD Integration

  • **Macro (SDD):** Orchestrator manages task decomposition, context isolation, review gates, and progress logging.
  • **Micro (TDD):** Implementer subagents must follow the strict RED -> GREEN -> REFACTOR cycle inside their assigned brief.

3. Setup & Workspace Resolution

Resolve the isolated, git-ignored workspace directory before Task 1:

python3 skills/common/common-subagent-driven-development/scripts/sdd_workspace.py <PLAN_FILE>

Track task completion in `<workspace>/progress.md` so work survives context compaction.

4. The Task Loop

For each task in the plan: 1. **Dispatch Implementer:** Generate brief via `task_brief.py <plan> <N>`. Dispatch worker using a cheap execution tier with `[BRIEF_FILE]` and `[REPORT_FILE]`. 2. **Passive Wait (No Polling):** Call `wait()` and yield control. Never poll status or activity in a loop. 3. **Dispatch Reviewer:** Generate package via `review_package.py <plan> $BASE $HEAD`. Dispatch task reviewer with `[BRIEF_FILE]`, `[REPORT_FILE]`, and `[DIFF_FILE]`. 4. **Fix Loop (Up to 5 Rounds):** Re-prompt existing worker via `send_agent_prompt` with findings; re-review with `re-review-prompt.md`.

5. Final Review & Completion

Run `review_package.py <plan> $MERGE_BASE HEAD`. Dispatch a senior reviewer on the most capable model. Once clean, delete `<workspace>` and complete the branch.

Anti-Patterns

  • **No Inline Edits on Multi-Task Plans:** Do not burn orchestrator context editing files directly.
  • **No Polling Loops:** Yield control via `wait()`; do not loop `get_agent_status`.
  • **No Inlined Context Bloat:** Pass briefs and diffs as file paths, never paste full bodies into chat prompts.

References

  • [Methodology & Gates](references/methodology.md) — execution confirmation scenarios & task loop rules
  • [Subagent Prompt Templates](references/templates.md) — implementer, reviewer, and re-reviewer templates
Read more
Ships withagent-skills-standard

The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.

Get the whole plugin

Other skills on agent-skills-standard.