Dispatching Parallel Agents guides your coding agent when it faces several unrelated failures, such as test files that break for different reasons. It groups the problems by domain, writes one self-contained prompt per domain, and sends every dispatch in the same response so the agents run at once. When they return, it reads each summary, checks the fixes for conflicts and runs the full suite.
What You Get
- A decision flow for when parallel dispatch fits and when it does not
- A prompt structure with a focused scope, a clear goal, constraints and an expected output
- A worked example with six failures across three test files
- A review step: read the summaries, check for conflicts, run the full suite
Common Use Cases
- Several test files failing for different root causes after a refactor
- Independent subsystems broken at the same time
- Parallel investigation of unrelated bugs
What Makes It Unique
Many agent skills describe delegation in general terms. This one is narrow: it states exactly when to hold back from parallel work (related failures, shared state, exploratory debugging) and gives a prompt template with the usual mistakes marked, so each subagent gets everything it needs with a clean context.
Under The Hood
A single SKILL.md of instructions with a decision diagram and prompt templates. It runs no scripts of its own and reaches no outside services. The agent follows it by issuing several subagent calls in one response and then running the project’s test suite to integrate the results.