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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-optimized:dispatching-parallel-agentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use parallel subagents only for truly independent work.
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.
npx claudepluginhub repozy/superpowers-optimizedDispatches parallel agents or subagents for 2+ independent tasks without shared state, like multiple test failures or broken subsystems. Chooses team/subagent mode via env vars.
Dispatches Claude Code agents concurrently for independent tasks to reduce total resolution time. Useful when multiple issues have different root causes and no shared state.
Delegates independent tasks to parallel subagents, each with isolated context. Use when 3+ test failures or subsystems have unrelated root causes.