subagent-driven-development
Skill1 starsChanged 5 months agoMITView on GitHub
Use separate agent passes or delegated workers for bounded subtasks without losing ownership of integration, review, and verification. Use when independent subtasks can run in parallel, when a reviewer/tester pass can improve quality, or when exploration and implementation can be separated safely. Main task, accepted plan, independent subtask boundaries, file ownership, expected outputs, validation commands, and integration owner. For multi-subtask work, designate an orchestrator that owns the task graph, delegates subtasks, monitors lifecycle states, and integrates results. The orchestrator is…
189 other projects use a version of this.
Adopted by
Most recently taken up by
- mintunitish/tandemtheir own version, first seen Nov 15, 2026
- auarunkumar1/mugil-idetheir own version, first seen Nov 15, 2026
- metaspartan/cybaratheir own version, first seen Nov 15, 2026
- mdiri-ai/SoduWorktheir own version, first seen Nov 15, 2026
- DemonDamon/AgenticXtheir own version, first seen Nov 9, 2026
- roundpilot/superpowers-antigravitytheir 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
- mdiri-ai/SoduWork★ 930same 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 repository117 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-orchestrationSkill
- architect-agentSkill
- implementer-agentSkill
- quality-councilSkill
- reviewer-agentSkill
- tester-agentSkill
- writer-critic-pairSkill
- authoring-skillsSkill
- api-endpoint-qualitySkill
- async-job-qualitySkill
- auth-qualitySkill
- db-migration-qualitySkill
- frontend-state-qualitySkill
- acceptance-criteriaSkill
- adaptive-flowSkill
- adaptive-prompt-selectionSkill
- adversarial-code-reviewSkill
- architecture-decision-recordsSkill
- brainstormingSkill
- brownfield-spec-enhancementSkill
- bug-fix-lifecycleSkill
- checkpoint-validationSkill
- cicd-integrationSkill
- clarify-before-codeSkill
- claude-code-hooks-packSkill
- code-context-packSkill
- code-intelligence-reviewSkill
- context-policySkill
- context-rich-implementationSkill
- crash-proof-planningSkill
- critique-pass-protocolSkill
- dependency-aware-task-orderingSkill
- deprecation-migrationSkill
- disciplined-diagnosisSkill
- docs-authorSkill
- executing-plansSkill
- external-skillSkill
- finishing-a-development-branchSkill
- git-guardrailsSkill
- goal-driven-executionSkill
- grill-user-before-buildingSkill
- guard-bypass-protocolSkill
- improve-codebase-architectureSkill
- incremental-reviewSkill
- issue-slicingSkill
- lessons-learned-dbSkill
- loop-engineeringSkill
- model-aware-configSkill
- model-weakness-memorySkill
- multi-repo-learningSkill
- orchestration-workflowsSkill
- plan-driven-executionSkill
- plan-from-specSkill
- prd-from-contextSkill
- project-constitutionSkill
- prompt-architectureSkill
- prototype-before-commitmentSkill
- quality-engineSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 179 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use separate agent passes or delegated workers for bounded subtasks without losing ownership of integration, review, and verification.
- Distinctive: line 21
Use when independent subtasks can run in parallel, when a reviewer/tester pass can improve quality, or when exploration and implementation …
- Distinctive: line 32
Keep delegated write scopes disjoint when possible.
- Distinctive: line 51
Loud failure: Check return codes, exit signals, and whether expected output files were actually created or modified.
- Distinctive: line 68
Run dry-run validation before delegation: confirm task boundaries, scopes, and dependencies make sense before a worker starts.
- Distinctive: line 69
After a failure, record the pattern in the orchestration retrospective to tune future decomposition.
“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
Skill: Subagent-Driven Development
Purpose
Use separate agent passes or delegated workers for bounded subtasks without losing ownership of integration, review, and verification.
When to use
Use when independent subtasks can run in parallel, when a reviewer/tester pass can improve quality, or when exploration and implementation can be separated safely.
Inputs
Main task, accepted plan, independent subtask boundaries, file ownership, expected outputs, validation commands, and integration owner.
Workflow
- Decide which task remains on the critical path and keep that work local.
- Delegate only concrete, bounded subtasks with clear file ownership or read-only questions.
- Tell each worker they are not alone in the codebase and must not revert others' edits.
- Keep delegated write scopes disjoint when possible.
- Integrate returned work deliberately: inspect changed files, resolve conflicts, and run checks.
- Record which agent/pass did what only when useful for review or handoff.
Orchestrator role
For multi-subtask work, designate an orchestrator that owns the task graph, delegates subtasks, monitors lifecycle states, and integrates results. The orchestrator is not a manager role that blocks workers — it is a coordination role that ensures subtask boundaries are respected, dependencies are resolved, and integration validation runs. See skills/core/superagent-orchestration/SKILL.md for the full orchestrator pattern with lifecycle states (queued → planning → executing → reviewing → merging → complete).
Sandbox scoping
Before delegating a write subtask, declare the worker's sandbox scope: write zone (files the worker may modify), read-only zone (files the worker may inspect), and forbidden zone (files the worker must not touch). Include a side-effect declaration listing every operation outside pure file writes. Use templates/sandbox-scope-template.md and the sandboxed execution skill for the scope declaration discipline. This prevents silent conflicts when multiple workers touch the same repository.
Error-handling patterns for subagent failures
Subagents can fail silently (wrong output), loudly (crash or timeout), or partially (some work done, some wrong). Handle each case deliberately.
Detection
- Silent failure: Validate subagent output against acceptance criteria before integration. Always run per-subtask gates.
- Loud failure: Check return codes, exit signals, and whether expected output files were actually created or modified.
- Partial failure: Compare the worker's output against the brief's acceptance criteria item by item. Accept valid portions; reject the rest.
Recovery strategies
| Failure type | Recovery action |
| Wrong output, no integration yet | Rescope the brief with tighter constraints and re-delegate. |
| Wrong output, already integrated | Revert the affected files from the worker, fix in the orchestrator pass, and add a regression gate. |
| Timeout or crash | Reduce subtask scope, add checkpoint gates inside the subtask, and re-delegate with a simpler brief. |
| Sandbox violation (wrote to forbidden zone) | Revert all files touched by the worker, tighten the brief's forbidden-zone language, and re-delegate to a different worker. |
| Side-effect leak (ran a script instead of making file edits) | Roll back the side effect if possible, add an explicit side-effect declaration requirement to the brief. |
Prevention
- Split large subtasks into smaller units with intermediate checkpoints.
- Include a "stop if uncertain" instruction in every brief: the worker should block and report ambiguity rather than guess.
- Run dry-run validation before delegation: confirm task boundaries, scopes, and dependencies make sense before a worker starts.
- After a failure, record the pattern in the orchestration retrospective to tune future decomposition.
Outputs
Delegation brief(s), completed subtask outputs, integrated patch, and verification or review notes.
Failure modes
- Delegating the immediate blocking task and stalling the main workflow.
- Multiple agents edit the same files without coordination.
- Subagent output is trusted without integration review.
- Parallelism adds complexity without reducing risk or time.
Verification checklist
- Subtasks are independent and bounded.
- File ownership is clear for write tasks.
- Returned changes were reviewed before finalizing.
- Final verification covers the integrated result.
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.

