subagent-driven-development
Skill42 starsChanged 8 months agoApache-2.0View on GitHub
Use when executing implementation plans with independent tasks in the current session - dispatches visible YesMem swarm agents per task with two-stage review
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 repository9 other files it gives its agents.
- redditSkill
- risk-based-code-reviewSkill
- security-reviewSkill
- yesloopSkill
- yesmem-agentsSkill
- yesmem-cap-builderSkill
- yesmem-configSkill
- yesmem-rememberSkill
- yesresearchSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 145 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 113
Write the full task text + context into the scratchpad auftrag.
- Very specific: line 115
Model selection: Use haiku for mechanical tasks (1-2 files, clear spec), sonnet for integration tasks, opus for architecture/judgment tasks.
- Distinctive: line 190
Always: stop agents after their task is done (no zombies)
“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
Swarm-Driven Development
Execute plans by dispatching visible YesMem swarm agents per task, with two-stage review (spec compliance, then code quality) after each.
Overrides superpowers:subagent-driven-development — uses YesMem swarm (spawn_agent, scratchpad, send_to) instead of invisible Claude Code Agent tool. All agents run in separate visible terminals.
When to Use
- Have an implementation plan with mostly independent tasks
- Want to stay in current session as orchestrator
- Want to SEE agent work in real-time (vs. invisible subagents)
Core Tools
| Tool | Replaces | Purpose |
spawn_agent(project, section, model?) | Agent tool | Spawn visible agent in own terminal |
scratchpad_write(project, section, content) | Agent prompt parameter | Pass task context to agent |
scratchpad_read(project, section) | Agent return value | Read agent results |
send_to(target, content) | Inline result | Agent notifications |
relay_agent(to, content) | N/A (new) | Inject instructions into running agent |
stop_agent(to) | Automatic | Explicit agent cleanup |
list_agents(project) | N/A | Monitor agent status |
Process
digraph process {
rankdir=TB;
subgraph cluster_setup {
label="Setup";
"Read plan, extract all tasks" [shape=box];
"Choose project name" [shape=box];
"Write plan to scratchpad" [shape=box];
"whoami() for caller_session" [shape=box];
}
subgraph cluster_per_task {
label="Per Task";
"Write auftrag-impl-N to scratchpad" [shape=box];
"spawn_agent(section=impl-N)" [shape=box];
"Wait for DONE via send_to" [shape=box];
"Handle status" [shape=diamond];
"Write auftrag-spec-review-N" [shape=box];
"spawn_agent(section=spec-review-N)" [shape=box];
"Spec PASS?" [shape=diamond];
"relay_agent impl-N with fix instructions" [shape=box];
"Write auftrag-quality-review-N" [shape=box];
"spawn_agent(section=quality-review-N)" [shape=box];
"Quality PASS?" [shape=diamond];
"relay_agent impl-N with quality fixes" [shape=box];
"stop_agent all three" [shape=box];
}
"More tasks?" [shape=diamond];
"Final review + finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
"Read plan, extract all tasks" -> "Choose project name";
"Choose project name" -> "Write plan to scratchpad";
"Write plan to scratchpad" -> "whoami() for caller_session";
"whoami() for caller_session" -> "Write auftrag-impl-N to scratchpad";
"Write auftrag-impl-N to scratchpad" -> "spawn_agent(section=impl-N)";
"spawn_agent(section=impl-N)" -> "Wait for DONE via send_to";
"Wait for DONE via send_to" -> "Handle status";
"Handle status" -> "Write auftrag-spec-review-N" [label="DONE"];
"Handle status" -> "relay_agent impl-N with fix instructions" [label="NEEDS_CONTEXT"];
"Handle status" -> "Write auftrag-impl-N to scratchpad" [label="BLOCKED\n(re-dispatch)"];
"Write auftrag-spec-review-N" -> "spawn_agent(section=spec-review-N)";
"spawn_agent(section=spec-review-N)" -> "Spec PASS?";
"Spec PASS?" -> "relay_agent impl-N with fix instructions" [label="FAIL"];
"relay_agent impl-N with fix instructions" -> "spawn_agent(section=spec-review-N)" [label="re-review"];
"Spec PASS?" -> "Write auftrag-quality-review-N" [label="PASS"];
"Write auftrag-quality-review-N" -> "spawn_agent(section=quality-review-N)";
"spawn_agent(section=quality-review-N)" -> "Quality PASS?";
"Quality PASS?" -> "relay_agent impl-N with quality fixes" [label="FAIL"];
"relay_agent impl-N with quality fixes" -> "spawn_agent(section=quality-review-N)" [label="re-review"];
"Quality PASS?" -> "stop_agent all three" [label="PASS"];
"stop_agent all three" -> "More tasks?";
"More tasks?" -> "Write auftrag-impl-N to scratchpad" [label="yes"];
"More tasks?" -> "Final review + finishing-a-development-branch" [label="no"];
}Setup Phase
1. Read plan file — extract ALL tasks with full text (don't make agents read the plan)
2. Choose project name (e.g. "feature-auth")
3. whoami() → get your session_id for caller_session
4. scratchpad_write(project, section="plan", content=full plan text)Per-Task Cycle
1. Dispatch Implementer
scratchpad_write(project=PROJECT, section="auftrag-impl-N", content=IMPLEMENTER_PROMPT)
spawn_agent(project=PROJECT, section="impl-N",
caller_session=MY_SESSION, model=MODEL_CHOICE)Write the full task text + context into the scratchpad auftrag. See implementer-prompt.md for template.
Model selection: Use haiku for mechanical tasks (1-2 files, clear spec), sonnet for integration tasks, opus for architecture/judgment tasks.
2. Wait for Implementer
Agent sends send_to with status when done. Handle:
| Status | Action |
| DONE | Proceed to spec review |
| DONE_WITH_CONCERNS | Read concerns from ergebnis-impl-N, address if needed |
| NEEDS_CONTEXT | relay_agent(to="impl-N", content="CONTEXT: ...") — inject missing info |
| BLOCKED | Assess: provide more context, re-dispatch with stronger model, or break task down |
3. Spec Compliance Review
scratchpad_write(project=PROJECT, section="auftrag-spec-review-N", content=SPEC_REVIEW_PROMPT)
spawn_agent(project=PROJECT, section="spec-review-N",
caller_session=MY_SESSION, model="sonnet")See spec-reviewer-prompt.md. Reviewer reads actual code, compares to spec.
- PASS → proceed to quality review
- FAIL →
relay_agent(to="impl-N", content="FIX: [issues from reviewer]"), then re-review
4. Code Quality Review
scratchpad_write(project=PROJECT, section="auftrag-quality-review-N", content=QUALITY_REVIEW_PROMPT)
spawn_agent(project=PROJECT, section="quality-review-N",
caller_session=MY_SESSION, model="sonnet")See code-quality-reviewer-prompt.md. Only after spec compliance passes.
- PASS → stop all agents for this task, mark complete
- FAIL →
relay_agent(to="impl-N", content="QUALITY: [issues]"), then re-review
5. Cleanup
stop_agent(project=PROJECT, to="impl-N")
stop_agent(project=PROJECT, to="spec-review-N")
stop_agent(project=PROJECT, to="quality-review-N")Scratchpad Sections (Convention)
| Section | Writer | Content |
plan | Orchestrator | Full plan text |
auftrag-impl-N | Orchestrator | Implementer task with full context |
ergebnis-impl-N | Implementer | Implementation report (status, files, tests) |
auftrag-spec-review-N | Orchestrator | Spec + implementer report for reviewer |
ergebnis-spec-review-N | Spec Reviewer | Review verdict (PASS/FAIL + details) |
auftrag-quality-review-N | Orchestrator | Quality review task |
ergebnis-quality-review-N | Quality Reviewer | Quality verdict |
Advantages over Invisible Subagents
- Visible: Watch agents work in real-time in separate terminals
- Crash recovery: Daemon auto-restarts crashed agents with quarantine
- relay_agent: Inject fix instructions into running implementer (no re-spawn needed)
- Budget control:
token_budgetandmax_turnsper agent - Model per agent:
haikufor simple,opusfor complex - Status monitoring:
list_agents()shows all running agents - Persistent results: Scratchpad survives agent crashes
Red Flags
- Never dispatch implementation agents in parallel (conflicts)
- Never skip either review stage
- Never proceed with unfixed review issues
- Never make agents read the plan file — paste full task text into scratchpad
- Always stop agents after their task is done (no zombies)
- Always spec review BEFORE quality review (wrong order = waste)
Integration
- superpowers:writing-plans — creates the plan this skill executes
- superpowers:test-driven-development — implementer agents follow TDD
- superpowers:finishing-a-development-branch — after all tasks complete
- superpowers:requesting-code-review — template for quality reviewer
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.

