ワンクリックで
dispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
Applies when a session involves an existing codebase or project context and onboarding should occur prior to brainstorming or implementation. Skip for purely abstract design discussion with no project to onboard to, or if the project was already onboarded earlier in the session
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Use when implementing any feature or bugfix, before writing implementation code
| name | dispatching-parallel-agents |
| description | Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies |
"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.