subagent-driven-development
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Coordinator-driven parallel implementation — dispatch one implementer subagent per task in its own worktree, per-task review, fix loop, integrate. Load when the plan has independent tasks ready to execute.
189 other projects use a version of this.
Adopted by
Most recently taken up by
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- roundpilot/superpowers-antigravitytheir own version, first seen Nov 8, 2026
- REPOZY/superpowers-optimizedtheir own version, first seen Nov 8, 2026
- lingyired/status-triotheir own version, first seen Nov 8, 2026
- DJtx001/ai-coding-playbooktheir own version, first seen Nov 8, 2026
- namlxuit056/social-forextheir own version, first seen Nov 8, 2026
Used with
Projects with it also use chinese-code-review, chinese-commit-conventions and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Leodorareluctant259Skillchinese-code-review
中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈
Also in 8 projects that use this
Leodorareluctant259Skillchinese-commit-conventions
中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化
Also in 8 projects that use this
obraSkilldiagnosing-superpowers
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.
Also in 19 projects that use this
Tommy-ywSkillwebhook-subscriptions
Create and manage webhook subscriptions for event-driven agent activation, or for direct push notifications (zero LLM cost). Use when the user wants external services to trigger agent runs OR push notifications to chats.
Also in 5 projects that use this
math-incSkillminecraft-modpack-server
Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.
Also in 5 projects that use this
math-incSkillpokemon-player
Play Pokemon games autonomously via headless emulation. Starts a game server, reads structured game state from RAM, makes strategic decisions, and sends button inputs — all from the terminal.
Also in 5 projects that use this
- +3 more from Leodorareluctant259
- +2 more from math-inc
Other versions189 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 189
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.4ksame name
- openai/plugins★ 7.8ksame name
- farm-fe/farm★ 5.6ksame name
- lingyired/status-trio★ 1.8ksame name
- GanyuanRan/Aegis★ 1.4ksame name
- pcvelz/superpowers★ 1.3ksame name
- math-inc/OpenGauss★ 1.3ksame name
- DemonDamon/AgenticX★ 1ksame name
- coco-research/coco★ 797same name
179 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 12-factor-appSkill
- caveman-commitSkill
- caveman-reviewSkill
- cavemanSkill
- conventional-commitsSkill
- creating-pull-requestsSkill
- deep-researchSkill
- dispatching-parallel-agentsSkill
- domain-modelingSkill
- finishing-a-development-branchSkill
- forge-cleanupSkill
- forge-docsSkill
- forge-eu-accessibilitySkill
- forge-flowSkill
- forge-initSkill
- forge-seoSkill
- forge-setupSkill
- forgeSkill
- forge-tailwindcss-conventionsSkill
- frontend-designSkill
- git-issue-trackerSkill
- grillingSkill
- kiss-principleSkill
- loopsSkill
- planning-and-task-breakdownSkill
- prototypeSkill
- pr-resolveSkill
- pr-reviewSkill
- resolving-merge-conflictsSkill
- ste100Skill
- use-git-identitySkill
- using-git-worktreesSkill
- verification-before-completionSkill
- wayfinderSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 11
Leading word: dispatch + report: Every implementer reports back with the four-item contract (branch, commits, tests, summary).
- Distinctive: line 26
Read the plan once. Note Global Constraints.
- Very specific: line 28
Create one worktree per task via using-git-worktrees:
- Distinctive: line 32
Run project setup + baseline tests in each.
- Very specific: line 47
Keep moving without check-ins.
- Distinctive: line 58
Never rush an implementer asking questions — answer clearly and completely.
- Very specific: line 62
After each DONE, record BASE (integration-branch head the task branched from — never HEAD~1, truncates multi-commit tasks).
- Distinctive: line 85
Every round: implementer fixes, re-runs covering tests (name the files — a one-line fix doesn't need full suite), commits, reports same …
- Very specific: line 86
Every round ends with a scoped re-review (re-review-prompt.md) over the fix range only (FIX_BASE = previous review's head).
- Distinctive: line 98
After all tasks complete, dispatch ONE final reviewer on the most capable available model over the full branch range.
- Distinctive: line 100
If findings return, dispatch ONE fix subagent with the complete list.
- Distinctive: line 105
Run full test suite on merged result.
- Very specific: line 108
Before declaring integration complete, load verification-before-completion — check each subagent's claimed state against git status and …
“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Subagent-Driven Development
You are the coordinator. Dispatch a fresh implementer per task — each in its own worktree — review every task (spec compliance + code quality), integrate branches locally. Your context stays clean for coordination.
Leading word: dispatch + report. Every implementer reports back with the four-item contract (branch, commits, tests, summary). You integrate; subagents never merge.
Hard rules
- Task branches FROM the PR integration branch (
dev,feat/*,fix/*), merge back INTO it only. Nevermain/master— main changes only via PR. - One worktree per task:
.worktrees/<task-slug>/, branch<task-slug>, off the integration branch. - Worktrees share the object store: subagent commits are visible to you immediately. Integration is local merge — no push between subagents and coordinator.
- Subagents never merge, never present options. They commit in their worktree, verify, report. You decide integration.
- MANDATORY FIRST in every subagent prompt. Implementer:
using-git-worktrees+conventional-commits+caveman-commit+verification-before-completion. Reviewer: addcaveman-review. - No-ambiguity prompts — see
dispatching-parallel-agents"Prompt rules". Every subagent prompt includes broader context (plan, why, what came before, what comes after) AND task context (exact files, exact commands, exact output). STE100 prose: one meaning per word, short sentences, active voice. The subagent must never need to ask a clarifying question — that signal means the prompt was incomplete.
Steps
1. Setup
- Read the plan once. Note Global Constraints. Create a todo per task.
- Determine the PR integration branch (
dev/feat/*/fix/*, nevermain/master). If unclear, ask before any work. - Create one worktree per task via
using-git-worktrees:
Run project setup + baseline tests in each.git worktree add ".worktrees/$TASK_SLUG" -b "$TASK_SLUG" "$INTEGRATION_BRANCH" - Pre-flight scan for conflicts (contradictory tasks, plan text mandating something review treats as a defect). Batch into one question for the user before execution.
Done when: integration branch confirmed, worktrees created with green baselines.
2. Dispatch the swarm
Dispatch all implementers in ONE AgentSwarm call (see dispatching-parallel-agents):
prompt_templatewith{{item}}placeholder- Reference template:
implementer-prompt.md— fill in the worktree, branch, and per-task spec where indicated subagent_type: coder- Each item carries: full task spec, worktree path, branch name, commit instructions, binding global constraints, return contract
- Up to 10 parallel; independent tasks in one wave, dependent in later waves
Keep moving without check-ins. As each implementer returns, handle its report, dispatch its reviewer, run the fix loop until review is clean/parked/BLOCKED.
3. Handle the implementer report
Implementers report one of four statuses:
- DONE — dispatch the task reviewer.
- DONE_WITH_CONCERNS — read concerns. Correctness/scope doubts: address before review. Observations: note and proceed.
- NEEDS_CONTEXT — provide missing context, resume or re-dispatch.
- BLOCKED — assess: context problem → provide; needs more reasoning → bigger subagent; too large → split; plan wrong → escalate to human.
Never rush an implementer asking questions — answer clearly and completely.
4. Per-task review
After each DONE, record BASE (integration-branch head the task branched from — never HEAD~1, truncates multi-commit tasks). Generate the diff:
git log --oneline <BASE>..<HEAD> > /tmp/review-<task-slug>.diff
git diff --stat <BASE>..<HEAD> >> /tmp/review-<task-slug>.diff
git diff -U10 <BASE>..<HEAD> >> /tmp/review-<task-slug>.diffDispatch a task reviewer (read-only explore) with: task spec, implementer report, diff path, binding global constraints verbatim. Reference template: task-reviewer-prompt.md — fill in TASK_SPEC, REPORT, BASE_SHA, and the diff path. Both verdicts required: spec compliance AND task quality. Implementer self-review never replaces this.
⚠️ "cannot verify from diff" items don't block — resolve each yourself before completion.
5. Fix loop
Triggers: spec ❌, Critical/Important finding, or confirmed ⚠️ gap. Two exits:
- Minor findings — record as deferred for final review.
- Plan-mandated findings — present beside plan text, ask which governs.
Everything else loops, 5 rounds max per task:
- Rounds 1–3: resume the original implementer (
Agent(resume=...)) with open findings verbatim — context intact. - Rounds 4–5: dispatch fresh implementer — "Prior attempts N times; you own it. Read existing commits for what was tried."
- Every round: implementer fixes, re-runs covering tests (name the files — a one-line fix doesn't need full suite), commits, reports same contract + covering-test command/output.
- Every round ends with a scoped re-review (
re-review-prompt.md) over the fix range only (FIX_BASE = previous review's head).
Breaker. Round 5 still has findings? Stop dispatching, adjudicate each:
- Reviewer wrong / contestable → park with ruling (final review sees both).
- Real but nothing downstream builds on it → park with "real, deferred".
- Real and load-bearing → STOP. Report BLOCKED with finding, plan text collision, fix history.
Adjudicate only at the cap. Every ruling recorded; silent discard forbidden. Never fix findings yourself — coordinator fixes skip review and pollute context.
6. Final whole-branch review
After all tasks complete, dispatch ONE final reviewer on the most capable available model over the full branch range. Point it at deferred-minor and parked findings for triage.
If findings return, dispatch ONE fix subagent with the complete list. Then one scoped re-review of the fix wave; adjudicate residuals. No second fix wave — residual load-bearing findings surface to the user at handoff.
7. Integrate & finish
- Merge each task branch into the integration branch locally via squash:
git checkout <integration-branch> && git merge --squash <task-slug> && git commit -m "<conventional-commit>". One commit per task on the integration branch, each a natural Conventional Commit (e.g.feat(api): add user profile endpoint). Nevermain/master. - Run full test suite on merged result. Red: stop, leave everything in place, investigate (nothing pushed, merge is local + recoverable).
- Green: load
finishing-a-development-branchfor cleanup and PR creation.
Before declaring integration complete, load verification-before-completion — check each subagent's claimed state against git status and full suite run, not against the summary it returned.
Failure modes (no-ops → positive form)
| Excuse | Reality |
| "Close enough on spec" | Spec gaps = not done. Fix, or hit the cap and adjudicate. |
| "I'll fix it myself, dispatching is overhead" | Coordinator fixes skip review. Resume the implementer. |
| "One more round will converge" | Past the cap, rounds don't converge. Adjudicate and route. |
| "This finding is obviously wrong" | Adjudicate only at the cap, record every ruling. |
| "The fix was small, skip re-review" | Unreviewed fixes = regressions. Every round ends with re-review. |
| "Subagents can share one worktree" | Parallel agents in one tree collide. One per task. |
| "Subagents should push their branches" | Worktrees share object store. Local merge. |
| "Merge everything to main when done" | Main changes only via PR. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

