skills/dispatching-parallel-agents/SKILL.md
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
npx skillsauth add schlenks/superpowers-bd dispatching-parallel-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when:
Don't use when:
Group failures by what's broken (e.g., File A: tool approval flow, File B: batch completion, File C: abort functionality). Each domain is independent -- fixing one doesn't affect the others.
Each agent gets: specific scope (one test file/subsystem), clear goal (make these tests pass), constraints (don't change other code), expected output (summary of findings and fixes).
Task("Fix agent-tool-abort.test.ts failures")
Task("Fix batch-completion-behavior.test.ts failures")
Task("Fix tool-approval-race-conditions.test.ts failures")
// All three run concurrently
Platform mapping: Claude uses Task/run_in_background; Codex uses spawn_agent and wait_agent. In Codex, define each worker's file ownership, tell workers they are not alone in the repo, and keep write scopes disjoint.
Read each summary, verify fixes don't conflict, run full test suite, integrate all changes.
Three rules for good agent prompts:
Example:
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output capture" - expects 'interrupted at'
2. "should handle mixed completed and aborted tools" - fast tool aborted
3. "should properly track pendingToolCount" - expects 3 results, gets 0
These are timing/race condition issues. Replace arbitrary timeouts with
event-based waiting. Do NOT just increase timeouts.
Return: Summary of root cause and changes made.
See references/agent-prompt-example.md for full annotated version.
After agents return:
references/agent-prompt-example.md: full annotated prompt example with test names and constraintsreferences/real-session-example.md: complete scenario: dispatch, results, integration, time savedreferences/real-world-impact.md: stats from debugging session (2025-10-03)tools
Use when converting a Superpowers-BD implementation plan or Shortcut story into a beads epic with dependency-aware child tasks
development
Use when the user asks for /cr-style review of local changes, commits, a branch diff, or a GitHub PR outside subagent-driven development
development
Use when you have a spec or requirements for a multi-step task, before touching code
tools
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions