# Subagent Driven Development

Use when executing a written implementation plan with independent tasks in the current...

- Repository: https://github.com/GanyuanRan/Aegis (1408 stars)
- Category: AI and agents
- License: MIT
- Last updated: 2026-10-25
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add GanyuanRan/Aegis --skill subagent-driven-development -g -a claude-code -y`
Codex: `npx skills add GanyuanRan/Aegis --skill subagent-driven-development -g -a codex -y`
Cursor: `npx skills add GanyuanRan/Aegis --skill subagent-driven-development -g -a cursor -y`
Gemini CLI: `npx skills add GanyuanRan/Aegis --skill subagent-driven-development -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add GanyuanRan/Aegis`

## Description

Use when executing a written implementation plan with independent tasks in the current session where delegation beats inline coordination cost; otherwise inline. Ad-hoc 2+ tasks without a plan use dispatching-parallel-agents.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Execute

→ Have an implementation plan with independent tasks? → **Fresh subagent per task + two-stage review.**
  1. Read plan, extract all tasks, create TodoWrite
  2. Per task: dispatch implementer → answer questions → implementer completes
  3. Review stage 1 (spec compliance) → fix gaps → re-review until ✅
  4. Review stage 2 (code quality) → fix issues → re-review until ✅
  5. Coordinator verifies, commits the coherent task, updates checkpoint/drift → next task
→ All tasks done: final review → verification receipt; branch finishing only when needed.

# 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.

**Why subagents:** You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history, you construct exactly what they need. This also preserves your own context for coordination work.

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

## When to Use

Use when you have a written implementation plan with mostly independent tasks and want to stay in the current session. For cross-session execution, use executing-plans instead.

## The Process

The rest: https://github.com/GanyuanRan/Aegis/blob/HEAD/skills/subagent-driven-development/SKILL.md
