Stats
Actions
Tags
From bp
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
How this skill is triggered — by the user, by Claude, or both
Slash command
/bp:dispatching-parallel-agentsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<skill>
"Multiple failures?" -> "Independent?" [label="yes"];
"Independent?" -> "Single agent" [label="no - related"];
"Independent?" -> "Can parallelize?" [label="yes"];
"Can parallelize?" -> "Parallel dispatch" [label="yes"];
"Can parallelize?" -> "Sequential agents" [label="shared state"];
}
```
**Identify independent domains** — Group failures by what's broken. Each domain is one agent's scope.
**Create focused prompts** — Each agent gets: specific scope (one file/subsystem), clear goal, constraints (don't change other code), expected output format.
**Dispatch in parallel** — Use Task tool for all agents concurrently.
**Review and integrate** — Read each summary, verify fixes don't conflict, run full test suite, integrate changes.
Good agent prompts are focused, self-contained, and specific about output:
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output" - expects 'interrupted at'
2. "should handle mixed completed and aborted" - fast tool aborted
3. "should track pendingToolCount" - expects 3 results, gets 0
These are timing/race condition issues. Your task:
1. Read test file, understand what each verifies
2. Identify root cause
3. Fix (don't just increase timeouts)
Return: Summary of root cause and changes made.
Each agent gets narrow, self-contained scope.
Never dispatch without specific error messages and test names.
Always run full test suite after integrating all fixes.
Spot-check agent work — agents can make systematic errors.
"Fix all the tests" — too broad, agent gets lost. Be specific: one file or subsystem per agent.
Dispatching agents for related failures — fix one might fix others. Investigate together first.
npx claudepluginhub brandonfla/bearpaws --plugin bpCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.