1.9 KiB
1.9 KiB
name, description, permalink
| name | description | permalink |
|---|---|---|
| dispatching-parallel-agents | Dispatch focused subagents in parallel for genuinely independent problem domains | opencode-config/skills/dispatching-parallel-agents/skill |
Dispatching Parallel Agents
Core Value
When there are 2+ genuinely independent failures/problem domains, dispatch one focused agent per domain concurrently instead of serial investigation.
When to Use
Use when all are true:
- You have multiple failures across separate domains.
- Each domain can be investigated without shared context/state.
- Agents can work without touching the same files or interfering.
Do not parallelize when:
- Failures may share a root cause.
- You still need a single root-cause investigation first.
- Agents would edit the same area and conflict.
Dispatch Pattern
- Split failures into independent domains.
- Write one prompt per domain.
- Dispatch subagents concurrently with the
tasktool. - Review results, integrate non-conflicting fixes, then run full verification.
Example dispatch intent (tool-level wording):
task: "Investigate and fix failures in "task: "Investigate and fix failures in "
Prompt Quality Requirements
Each subagent prompt must include:
- One clear problem domain (single file/subsystem/failure cluster).
- Self-contained context (errors, failing tests, relevant constraints).
- Explicit constraints (what not to change; scope boundaries).
- Explicit expected output (root cause + files changed + validation run).
Verification and Quality Pipeline
After subagents return:
- Check for overlapping edits or assumption conflicts.
- Run required verification for the integrated result (not partial checks).
- Send the feature through reviewer, then tester when behavior is user-facing.
- Do not claim completion without fresh verification evidence.