Executes development plans using parallel subagents, per-task implementers, spec compliance reviews, and code quality gates. For large multi-task projects.
npx claudepluginhub repozy/superpowers-optimizedThis skill uses the workspace's default tool permissions.
Execute a plan with fresh subagents per task and strict review gates.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Execute a plan with fresh subagents per task and strict review gates.
Announce: I'm using subagent-driven-development to execute this plan.
frontend-design standards to guide structure, styling, and accessibility.finishing-a-development-branch.Use only when tasks are independent and touch disjoint files.
If any overlap or shared-state risk exists, revert to single-task sequence.
When dispatching subagents that start background services (servers, databases, queues):
Subagents are stateless — they do not know about processes started by previous subagents. Accumulated background processes cause port conflicts, stale responses, and false test results.
Include in the subagent prompt for any E2E or service-dependent task:
Unix/macOS:
Before starting any service:
1. Kill existing instances: pkill -f "<service-pattern>" 2>/dev/null || true
2. Verify the port is free: lsof -i :<port> && echo "ERROR: port still in use" || echo "Port free"
After tests complete:
1. Kill the service you started.
2. Verify cleanup: pgrep -f "<service-pattern>" && echo "WARNING: still running" || echo "Cleanup verified"
Windows:
Before starting any service:
1. Kill existing instances: taskkill /F /IM "<process-name>" 2>nul || echo "No existing process"
2. Verify the port is free: netstat -ano | findstr :<port> && echo "ERROR: port still in use" || echo "Port free"
After tests complete:
1. Kill the service you started.
2. Verify cleanup: tasklist | findstr "<process-name>" && echo "WARNING: still running" || echo "Cleanup verified"
Exception: persistent dev servers the user explicitly keeps running — document them in state.md.
When an implementer fails on the same task after 2 attempts:
state.md and advance to the next independent task. Never silently skip or mark a blocked task complete.main/master without explicit user permission.Never forward parent session context or history to subagents. Construct each subagent's prompt from scratch using only:
Exclude unrelated prior assistant analysis and old failed hypotheses. Subagents must not receive conversation history, prior reasoning chains, or context from other subagent runs.
Subagents can discover superpowers-optimized skills via filesystem access and invoke them, causing a focused implementer to behave as a workflow orchestrator. Every subagent prompt MUST include this instruction:
You are a focused subagent. Do NOT invoke any skills from the superpowers-optimized plugin. Do NOT use the Skill tool. Your only job is the task described below.
Choose model based on task type when dispatching subagents via the Agent tool:
| Model | Use for |
|---|---|
haiku | File reads, summarization, log scanning, patch verification — output is data, not decisions |
sonnet | Default for all implementation tasks |
opus | Architecture analysis, complex spec review, multi-system debugging, any task requiring reasoning across many constraints at once |
Apply via the model parameter in Agent tool calls. Default to sonnet when uncertain. Only upgrade to opus when the task is genuinely reasoning-heavy — not just large.
Use:
./implementer-prompt.md./spec-reviewer-prompt.md./code-quality-reviewer-prompt.mdusing-git-worktrees.requesting-code-review templates for quality review structure.finishing-a-development-branch.