obra/superpowers/skills/subagent-driven-development
Subagent-driven development
For use when carrying out an implementation plan whose tasks are mostly independent, within the current session.
What Subagent-driven development does
The agent acts as a controller for a written implementation plan. It first works in an isolated git worktree, runs a bundled script that creates a workspace for the plan under .superpowers/sdd/, and keeps a ledger file there so progress survives context compaction. Before the first task it scans the plan for conflicts and records its rulings in the ledger.
For each task it extracts the task text to a brief file with another script, then sends a fresh implementer subagent the brief path. The implementer writes the code and tests, commits, reviews its own diff and writes a report file. The controller then builds a review package (commit list, stats and diff) and sends a separate reviewer subagent to check spec compliance and code quality. Failed reviews go through a fix loop of up to five rounds, each followed by a scoped re-review; leftover findings are parked with a recorded ruling.
The SKILL.md tells the agent to pick the cheapest model that fits each role and to name the model on every dispatch. It also tells the controller to run every task without stopping for check-ins, except for destructive or security-sensitive steps, actions outside the worktree such as a push, or a plan too broken to follow. When all tasks are done, a final whole-branch review runs on the most capable model, the controller lists every ruling it made, deletes the plan's workspace and hands off to the finishing-a-development-branch skill.
Install
/plugin install superpowers@claude-plugins-officialRead the security check below before you run it. The repository's own instructions win if they differ.
Security check
What the skill's files do, from reading them. A flag that nobody has checked yet says "Not checked", never "No".
- Runs scripts
- Yes
- Uses the network
- No
- Installs hooks
- No
- Asks for secrets
- No
The automated scan reported no scripts, hooks, network calls or secrets, but the folder holds four bash scripts in scripts/. The SKILL.md tells the agent to run sdd-workspace, task-brief and review-package, which call sdd-repo. Read as text, they use only git, awk and shell built-ins, make no network calls, and write files under .superpowers/sdd/, including a .gitignore. The skill spawns implementer and reviewer subagents that commit code, and ends by deleting the plan's workspace with rm -rf. Installing the Superpowers plugin also adds a SessionStart hook. Read the scripts and try it on a test branch first.
Scan details: Ships 4 bash scripts without a file extension (scripts/review-package, scripts/sdd-repo, scripts/sdd-workspace, scripts/task-brief), which SKILL.md tells the agent to run. Read by hand: they use git, awk and shell built-ins, write under .superpowers/sdd/ and make no network requests. No hook definitions or secret variables were found. Checked at commit 22f0b463e7a5.
Use cases
- Carrying out a written multi-task implementation plan in one session
- Getting a separate review of each task before moving on
- Resuming a long plan after context compaction from a ledger file
Limitations
- Needs a written plan and an agent that can dispatch subagents.
- Needs bash and git; the bundled scripts stop outside a git working tree.
- Relies on other Superpowers skills such as using-git-worktrees, requesting-code-review and finishing-a-development-branch.
- Runs every task without checking in, so the agent decides ambiguities itself and logs them.
Sources
- subagent-driven-development skill folderRepositoryPrimarygithub.com
- obra/superpowersRepositoryPrimarygithub.com
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/SKILL.mdWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/references/preflight.mdWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/implementer-prompt.mdWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/scripts/review-packageWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/task-reviewer-prompt.mdWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/references/fix-loop.mdWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/references/final-review.mdWeb
- github.com/obra/superpowers/tree/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-developmentRepositoryPrimary
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/scripts/sdd-workspaceWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/scripts/sdd-repoWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/skills/subagent-driven-development/scripts/task-briefWeb
- raw.githubusercontent.com/obra/superpowers/22f0b463e7a5e579904dd6211a520321035526f7/hooks/hooks.jsonWeb
- github.com/obra/superpowers/blob/22f0b463e7a5e579904dd6211a520321035526f7/README.mdRepositoryPrimary

