dispatching-parallel-agents

Dispatch concurrent subagents to fix independent test failures across separate problem domains.

1|Updated May 3, 2021
One-click install
npx skills add https://github.com/leogurja/dotfiles --skill dispatching-parallel-agents-leogurja
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dispatching-parallel-agents
Source: https://github.com/leogurja/dotfiles/tree/main/home/dot_agents/skills/dispatching-parallel-agents
Command: npx skills add https://github.com/leogurja/dotfiles --skill dispatching-parallel-agents-leogurja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When multiple unrelated test failures or bugs appear across different files and subsystems, investigating them sequentially wastes time and bloats your working context. This Skill provides a structured pattern for delegating each independent problem to a focused subagent that works in parallel with isolated context. ## Core Features & Use Cases - Independence Assessment: A decision flowchart and criteria help you determine whether failures are truly independent and safe to parallelize, or related and better handled by a single agent. - Focused Agent Prompts: A proven prompt structure covering scope, goal, constraints, and expected output so agents stay on task and return actionable summaries. - Parallel Dispatch Pattern: Guidance on issuing multiple subagent dispatches in a single response so they execute concurrently rather than sequentially. - Use Case: After a major refactoring leaves 6 failures across 3 test files (abort logic, batch completion, race conditions), dispatch one agent per file, then review summaries, check for conflicts, and run the full suite to integrate the fixes. ## Quick Start Ask the AI to dispatch one parallel subagent per failing test file, giving each a focused prompt with the failing test names, constraints, and a required summary of root cause and fixes.

Frequently Asked Questions about dispatching-parallel-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix multiple failing tests in parallel with AI agents?▼

Group failures by independent problem domain, then dispatch one subagent per domain in the same response so they run concurrently. Give each agent a focused prompt with the failing test names, constraints, and a required summary of root cause and fixes.

When should I use parallel agents instead of a single agent?▼

Use parallel agents when failures are independent, such as different test files or subsystems with no shared state. Use a single agent when failures are related, when fixing one might fix others, or when understanding requires full system context.

What makes a good subagent prompt for debugging tasks?▼

A good prompt is focused on one problem domain, self-contained with all needed context like error messages and test names, explicit about constraints such as not changing production code, and specific about the expected output summary.

How do I make subagents run in parallel instead of sequentially?▼

Issue all subagent dispatch calls in the same response so they execute concurrently. Dispatching one agent per response forces sequential execution and loses the parallelism benefit.

What should I do after parallel agents return their fixes?▼

Read each agent's summary, verify the fixes do not conflict by checking whether agents edited the same code, run the full test suite to confirm everything works together, and spot check for systematic errors.

When should I avoid dispatching parallel agents?▼

Avoid parallel dispatch when failures are related, when you are still exploring what is broken, when agents would edit the same files or share state, or when understanding the problem requires seeing the entire system at once.