Dispatches parallel subagents for 2+ independent tasks without file or state conflicts or dependencies. Triggers on 'run these in parallel', plans with separate domains, includes prompt templates and verification.
npx claudepluginhub repozy/superpowers-optimizedThis skill uses the workspace's default tool permissions.
Use parallel subagents only for truly independent work.
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.
Use parallel subagents only for truly independent work.
Use parallel dispatch when all are true:
If any condition fails, run sequentially.
Do not use when:
Never forward parent session context or history to subagents. Construct each subagent's prompt from scratch using only the items listed below. Subagents must not receive conversation history, prior reasoning chains, or context from other subagent runs.
Each agent prompt must include:
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output capture" — expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" — fast tool aborted instead of completed
3. "should properly track pendingToolCount" — expects 3 results but gets 0
Your task:
1. Read the test file and understand what each test verifies.
2. Identify root cause — timing issues or actual bugs?
3. Fix the root cause. Do NOT just increase timeouts.
4. Do NOT change any files outside src/agents/agent-tool-abort.test.ts and its direct implementation file.
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 above.
Return: Summary of root cause and what you changed.
❌ Too broad: "Fix all the tests" — agent gets lost ✅ Specific: "Fix agent-tool-abort.test.ts" — focused scope
❌ No context: "Fix the race condition" — agent doesn't know where ✅ With context: Paste the error messages and test names
❌ No constraints: Agent might refactor everything ✅ Constrained: "Do NOT change files outside X"
❌ Vague output: "Fix it" — you don't know what changed ✅ Specific output: "Return summary of root cause and what you changed"
When risk is high, fall back to sequential execution.