askill
subagent-driven-development

subagent-driven-developmentSafety 95Repository

Use when executing implementation plans with independent tasks in the current session

2 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

Subagent-Driven Development

Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.

Core principle: Fresh subagent per task + two-stage review (spec then quality) = high quality, fast iteration

When to Use

vs. Executing Plans (parallel session):

  • Same session (no context switch)
  • Fresh subagent per task (no context pollution)
  • Two-stage review after each task: spec compliance first, then code quality
  • Faster iteration (no human-in-loop between tasks)

The Process

Step 1: Read Plan and Create TodoWrite

  1. Read plan file once
  2. Extract all tasks with full text and context
  3. Create TodoWrite with all tasks

Step 2: Per Task Loop

For each task:

  1. Dispatch implementer subagent with full task text + context
  2. If implementer asks questions: Answer and re-dispatch
  3. Implementer implements, tests, commits, self-reviews
  4. Dispatch spec reviewer subagent
    • If spec issues found: implementer fixes, re-review
  5. Dispatch code quality reviewer subagent
    • If quality issues found: implementer fixes, re-review
  6. Mark task complete in TodoWrite

Step 3: Final Review

After all tasks complete:

  1. Dispatch final code reviewer for entire implementation
  2. Use superpowers:finishing-a-development-branch

Advantages

vs. Manual execution:

  • Subagents follow TDD naturally
  • Fresh context per task (no confusion)
  • Parallel-safe (subagents don't interfere)
  • Subagent can ask questions (before AND during work)

vs. Executing Plans:

  • Same session (no handoff)
  • Continuous progress (no waiting)
  • Review checkpoints automatic

Efficiency gains:

  • No file reading overhead (controller provides full text)
  • Controller curates exactly what context is needed
  • Subagent gets complete information upfront
  • Questions surfaced before work begins (not after)

Quality gates:

  • Self-review catches issues before handoff
  • Two-stage review: spec compliance, then code quality
  • Review loops ensure fixes actually work
  • Spec compliance prevents over/under-building
  • Code quality ensures implementation is well-built

Red Flags

Never:

  • Start implementation on main/master branch without explicit user consent
  • Skip reviews (spec compliance OR code quality)
  • Proceed with unfixed issues
  • Dispatch multiple implementation subagents in parallel (conflicts)
  • Make subagent read plan file (provide full text instead)
  • Skip scene-setting context (subagent needs to understand where task fits)
  • Ignore subagent questions (answer before letting them proceed)
  • Accept "close enough" on spec compliance (spec reviewer found issues = not done)
  • Skip review loops (reviewer found issues = implementer fixes = review again)
  • Let implementer self-review replace actual review (both are needed)
  • Start code quality review before spec compliance is ✅ (wrong order)
  • Move to next task while either review has open issues

If subagent asks questions:

  • Answer clearly and completely
  • Provide additional context if needed
  • Don't rush them into implementation

If reviewer finds issues:

  • Implementer (same subagent) fixes them
  • Reviewer reviews again
  • Repeat until approved
  • Don't skip the re-review

If subagent fails task:

  • Dispatch fix subagent with specific instructions
  • Don't try to fix manually (context pollution)

Integration

Required workflow skills:

  • superpowers:using-git-worktrees - REQUIRED: Set up isolated workspace before starting
  • superpowers:writing-plans - Creates the plan this skill executes
  • superpowers:requesting-code-review - Code review template for reviewer subagents
  • superpowers:finishing-a-development-branch - Complete development after all tasks

Subagents should use:

  • superpowers:test-driven-development - Subagents follow TDD for each task

Alternative workflow:

  • superpowers:executing-plans - Use for parallel session instead of same-session execution

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/19/2026

Comprehensive skill文档 for subagent-driven development methodology. Well-structured with clear steps, when-to-use guidance, advantages, red flags, and integration requirements. The skill provides practical, actionable process for executing implementation plans using subagents with two-stage review. Somewhat framework-specific (references "superpowers" skills), but content is thorough and well-organized. Minor issues: tags don't match content well, and path suggests internal tool usage.

95
88
82
92
90

Metadata

Licenseunknown
Version-
Updated2/8/2026
Publisherhugo-berendi

Tags

github-actionstesting