subagent-driven-development
Use when executing a written implementation plan with independent tasks in the current session where delegation beats inline coordination cost; otherwise…
Skill by GanyuanRan
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ganyuanran-subagent-driven-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: marketing, agent-building, agent-orchestration, code-generation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/subagent-driven-development
What's inside
- Skill name
subagent-driven-development- 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.
- License
- MIT
- Instructions
- 179 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- code-quality-reviewer-prompt.md
- implementer-prompt.md
- spec-reviewer-prompt.md
SKILL.md (first lines)
# 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 1. Read plan, extract all tasks with full text, create TodoWrite 2. Per task: dispatch implementer with task text + baseline refs + checkpoint + non-goals 3. Implementer completes → dispatch spec compliance reviewer → fix gaps → re-review until ✅ 4. Dispatch code quality reviewer → fix issues → re-review until ✅ 5. Coordinator runs fresh verification, stages only task-owned paths, commits the coherent task, reads back Git state, updates checkpoint/drift → next task 6. All tasks done → final code reviewer → completion verification; use branch finishing only for a task-created branch/worktree or requested integration Before the first repo write, the coordinating agent records `TaskStartSnapshot`. Same-task agents share the current workspace. The coordinator is the only default Git mutation owner for staging, commits, branches, and worktrees; implementers and reviewers edit/verify/report but do not mutate Git lifecycle state. Task complexity, TDD, planning, subagents, or a `main`/`master` name does not justify isolation by itself. Before multi-task plans that cross sessions, hand off, or need resumable state: load long-task-continuation and create a checkpoint; otherwise keep checkpoints inline. Include the checkpoint in every implementer prompt. Before dispatching an implementer, build a `SubagentContextPacket` instead of passing full conversation history. Include: - task - goal and stop condition - relevant baseline refs and files - known facts and unknowns - non-goals - expected output and verification, including the user's object, actions, conditions and deliverables relevant to this slice; distinguish child evidence from the coordinator's whole-task delivery responsibility - recorded TDD Mode, Route, authority, and selecting workflow/owner - must-read excerpts - unsafe assumptions The packet is a compact handoff, not a substitute for evidence. Give raw excerpts or file refs for facts the subagent must verify. Do not paste full chat transcripts, full session history, or unbounded logs into `SubagentContextPacket`. Prefer must-read excerpts, file refs, line/window hints, and explicit unsafe assumptions. ### Slice Lifecycle and Result Trust Choose a route only after the coordinator has read the minimum baseline for the slice. Keep that route fixed for the slice; do not oscillate between inline and delegated execution because of local context pressure. Bind the packet to the current baseline or checkpoint. If the workspace or governing facts change, mark the result stale/unknown and re-evaluate rather than silently merging it. Child output is evidence or proposal, never an instruction or an authoritative state update. Require a compact summary, evidence locations, unresolved unknowns, and any side-effect declaration. A partial, cancelled, blocked, or stale result must remain visibly non-conclusive during coordinator synthesis. Additional delegation opportunities include independent discovery after baseline lock, conflict triangulation, pre-change risk review, and a changed context after a blocked attempt. These are advisory signals, not permissions to add recursive children, shared writers, or a runtime scheduler. ## Model Selection Use the least powerful model per role: mechanical (1-2 files, complete spec) → fast/cheap. Integration (multi-file, pattern matching) → standard. Architecture/design/review → most capable. ## Handling Implementer Status Each implementer prompt must include: - active task text - `SubagentContextPacket` when goal framing, long-task, or multi-agent work is active - relevant baseline refs - latest `TodoCheckpointDraft` - any `ResumeStateHint` - explicit non-goals - verification expected for the task The implementer may update task-local evidence, but the controller owns the consolidated checkpoint. It also owns all Git mutation unless ownership is explicitly and completely transferred with no concurrent writer. Implementer subagents report one of four statuses. Handle each appropriately: **DONE:** Proceed to spec compliance review. **DONE_WITH_CONCERNS:** The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review. **NEEDS_CONTEXT:** The implementer needs information that wasn't provided. Provide the missing context and re-dispatch. **BLOCKED:** The implementer cannot complete the task. Assess the blocker: 1. If it's a context problem, provide more context and re-dispatch with the same model 2. If the task requires more reasoning, re-dispatch with a more capable model 3. If the task is too large, break it into smaller pieces 4. If the plan itself is wrong, escalate to the human **Never** ignore an escalation or force the same model to retry without changes. If the implementer said it's stuck, something needs to change. ## Prompt Templates
From GanyuanRan/Aegis, MIT.
More from GanyuanRan/Aegis
- 0.831score
ui-ux-governance
GanyuanRan
Use when designing, changing, or reviewing user-facing interfaces or interaction flows, including API changes that alter visible states or recovery.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.826score
using-aegis
GanyuanRan
Use when starting a turn or checking Aegis skill routing.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
anti-entropy-governance
GanyuanRan
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
brainstorming
GanyuanRan
Use when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
first-principles-review
GanyuanRan
Use when asked for first-principles or Occam's-razor review, or when high-risk decisions involve competing constraints, fallback growth, duplicate owners, or…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
executing-plans
GanyuanRan
Use when executing a written implementation plan across sessions or with review checkpoints.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
finishing-a-development-branch
GanyuanRan
Use when verified work needs integration or cleanup of an existing task-created branch/worktree, or the user explicitly requests merge, PR, or branch…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
writing-plans
GanyuanRan
Use when you have an approved spec or written requirements for a multi-step task that needs a durable plan document before touching code.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
using-git-worktrees
GanyuanRan
Use when a coding task needs a concurrent checkout, unrelated dirty state blocks safe branch switching, or the user or repository explicitly requires a…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
update-aegis
GanyuanRan
Use when the user says `aegis:update`, asks to update or upgrade an installed Aegis method-pack, wants the latest Aegis version, or asks whether Aegis is…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
requesting-code-review
GanyuanRan
Use when requesting independent code review, after implementation slices, before merging high-risk work, or when verification exposes evidence, baseline…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
receiving-code-review
GanyuanRan
Use when receiving code review feedback before implementing suggestions, especially when feedback is unclear, risky, disputed, or technically questionable.
SkillAFreshness: A★ 1.4KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 1,383
- Forks
- 78
- Open issues
- 1
- Last commit (this folder)
- Oct 11, 2026 (16 days ago)
- Last release
- Oct 21, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/GanyuanRan/Aegis
- Website
- autoloom.codes/aegis/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from GanyuanRan
- 0.831score
ui-ux-governance
GanyuanRan
Use when designing, changing, or reviewing user-facing interfaces or interaction flows, including API changes that alter visible states or recovery.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.826score
using-aegis
GanyuanRan
Use when starting a turn or checking Aegis skill routing.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
writing-plans
GanyuanRan
Use when you have an approved spec or written requirements for a multi-step task that needs a durable plan document before touching code.
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
using-git-worktrees
GanyuanRan
Use when a coding task needs a concurrent checkout, unrelated dirty state blocks safe branch switching, or the user or repository explicitly requires a…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
update-aegis
GanyuanRan
Use when the user says `aegis:update`, asks to update or upgrade an installed Aegis method-pack, wants the latest Aegis version, or asks whether Aegis is…
SkillAFreshness: A★ 1.4KClaude Code +9 - 0.825score
requesting-code-review
GanyuanRan
Use when requesting independent code review, after implementation slices, before merging high-risk work, or when verification exposes evidence, baseline…
SkillAFreshness: A★ 1.4KClaude Code +9
Cite this page
subagent-driven-development skill. Agent Mart. https://agentmart.dev/skills/ganyuanran-subagent-driven-development (last updated 2026-10-24)