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.
153 other projects use a version of this.
Adopted by
Most recently taken up by
- LayneChai/superpowers-dshtheir own version, first seen Oct 3, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- delorenj/skillstheir own version, first seen Oct 2, 2026
- JameMy0001/antigravity-skills-hubtheir own version, first seen Oct 2, 2026
- lsy041015/orchestratheir own version, first seen Oct 2, 2026
- Wenaixi/dsh-superpowertheir own version, first seen Oct 1, 2026
Used with
Projects with it also use diagnosing-superpowers, workflow-runner 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.
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 6 projects that use this
MorningStar0709Skillworkflow-runner
Run an agency-orchestrator style YAML workflow inside the current Trae conversation by simulating or coordinating multiple roles. Use when the user provides a `.yaml` or `.yml` workflow, asks for multi-role collaboration, says things like “用多个角色一起评审这个 PRD”“多角色协作”“先生成工作流再执行”“让产品经理、架构师、QA 一起看一下”, or wants roles such as product manager, architect, reviewer, or QA to work together. Supports layered execution, role prompting, variable interpolation, document-backed inputs, and parallel steps only when the current environment has a clear subagent mapping. Do not use for ordinary implementation plans, simple code changes, or tasks already covered by `writing-plans`, `executing-plans`, `subagent-driven-development`, or single-purpose review/debug skills.
Also in 5 projects that use this
MorningStar0709Skillchinese-git-workflow
Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".
Also in 4 projects that use this
AlexAI-MCPSkillnative-mcp
MCP server integration in Claude Code — add servers to .mcp.json, configure transports, and use their tools natively.
Also in 5 projects that use this
shibit-netSkillchinese-code-review
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
shibit-netSkillchinese-commit-conventions
中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。
Also in 3 projects that use this
- +1 more from shibit-net
Other versions153 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 153
- obra/superpowers★ 314ksame name
- jnMetaCode/superpowers-zh★ 8.3ksame name
- openai/plugins★ 7.3ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- GanyuanRan/Aegis★ 1.3ksame name
- coco-research/coco★ 437same name
- Ibrahim-3d/orchestrator-supaconductor★ 380same name
- graniet/kheish★ 221same name
- KbWen/agentic-os★ 206same name
- totvs/engpro-advpl-tlpp-skills★ 138same name
143 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 145 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 145 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.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

