From superpowers
Execute a beads epic using subagent-driven development - sequential task execution with two-stage review (spec compliance, then code quality)
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers:epic-executorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute all tasks within a beads epic using subagent-driven development. Tasks run sequentially with two-stage review after each.
Execute all tasks within a beads epic using subagent-driven development. Tasks run sequentially with two-stage review after each.
/epic-executor <epic-id>
bd show <epic-id> --json
bd epic status <epic-id> --json
If epic doesn't exist or is already 100% complete, inform user and stop.
Record git SHA before starting for code review context:
git rev-parse HEAD
Process one task at a time until epic complete:
bd epic status <epic-id> --json
If 100% complete, announce completion and stop.
bd ready --parent=<epic-id> --limit=1 --json
If no tasks ready but epic incomplete, check bd blocked --parent=<epic-id> --json and report what's blocking.
bd update <task-id> --status=in_progress --json
Use subagent-driven-development pattern. Dispatch a fresh subagent with:
If subagent asks questions: Answer them, then let them continue.
Dispatch spec reviewer subagent to verify implementation matches specification.
Critical: The reviewer must read actual code and compare to requirements line by line. It does NOT trust the implementer's self-report.
Report: APPROVED or NEEDS_CHANGES with specific file:line references.
Only after spec compliance passes.
Use superpowers:code-reviewer subagent. Focus on:
If either review finds issues:
If both reviews pass: Proceed to close.
bd close <task-id> --reason="Implemented and verified" --json
Go back to step 1 for next task.
When bd epic status <epic-id> --json shows 100%:
Epic <epic-id> complete!
Summary:
- Tasks completed: N
- All implementations reviewed and verified
bd update and bd closebd commands use --json for reliable parsingnpx claudepluginhub ryanhudson/superpowersCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.