Agent skill · operations · aiskillstore
dispatching-parallel-agents
Dispatches one subagent per independent domain to parallelize investigation/fixes. Use when you have 2+ unrelated failures (e.g., separate failing test files, subsystems, bugs) with no shared state or ordering dependencies.
Why this skill is useful
Provides a structured workflow for parallelizing agent tasks in independent domains, which the AI wouldn't reliably generate on its own.
What it needs
About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Dispatching Parallel Agents Dispatch one agent per independent problem. Let them work concurrently. Dispatch Workflow Copy and track: 1. Identify Independent Domains Group failures by what's broken: File A tests: Tool approval flow File B tests: Batch completion File C tests: Abort functionality Each domain is independent—fixing tool approval doesn't affect abort tests. Critical check: If fixing one might fix others → investigate together first (don't parallelize). 2. Create Focused Agent Tasks Each agent needs: Scope: One test file or subsystem Goal: Make these tests pass Constraints: Don't change unrelated code Output: Summary of findings and fixes 3. Dispatch in Parallel Example (Claude Code): 4. Review and Integrate 1. Read each agent's summary 2. Check for conflicts (same files edited?) If two agents touched the same file → stop and re-scope (one owner per file) 3. Run full test suite 4. If failures: Check for merge conflicts → resolve manually If no conflicts → investigate as new failures 5. Repeat until green Agent Prompt Template Common Mistakes ❌ Bad ✅ Good -------- --------- "Fix all the tests" "Fix agent-tool-abort.test.ts" "Fix the race condition" Paste error messages + test names No constraints "Do NOT change production code" "Fix it" "Return summary of root cause and changes" Example Scenario: 6 test failures across 3 files after major refactoring. Failures: agent-tool-abort.test.ts: 3 failures (timing issues) batch-completion-behavior.test.ts: 2 failures (tools not executing) tool-approval-race-conditions.test.ts: 1 failure (execution count = 0) Decision: Independent domains—abort logic separate from batch completion separate from race conditions. Dispatch: Results: Agent 1: Replaced timeouts with event-based waiting Agent 2: Fixed event structure bug (threadId in wrong place) Agent 3: Added wait for async tool execution Integration: All fixes independent, no conflicts, full suite green.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/dispatching-parallel-agents