/general:dispatching-agentsfrom general
Decides when and how to dispatch subagents for parallel independent work, with delegation signals and decision guidance for concurrent investigations.
Ships in general. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Delegate tasks to specialized agents with isolated context. Craft their instructions precisely so each agent stays focused on one problem domain without inheriting your session's history. This preserves your own context for coordination work.
When multiple unrelated failures appear across different test files or subsystems, investigating them sequentially wastes time. Each investigation is independent and can happen concurrently.
Core principle: One agent per independent problem domain. Let them work concurrently.
digraph when_to_use {
multiple [shape=diamond label="Multiple failures?"];
independent [shape=diamond label="Are they independent?"];
single [shape=box label="Single agent investigates all"];
parallel_ok [shape=diamond label="Can they work in parallel?"];
sequential [shape=box label="Sequential agents"];
parallel [shape=box label="Parallel dispatch"];
multiple -> independent [label="yes"];
independent -> single [label="no - related"];
independent -> parallel_ok [label="yes"];
parallel_ok -> parallel [label="yes"];
parallel_ok -> sequential [label="no - shared state"];
}
Use when:
When NOT to use:
Whether a sub-step is dispatched to a subagent at all is the first question. Check these signals before reaching for model-selection guidance.
Positive signals (favor dispatch):
Negative signals (favor staying inline):
Dispatch a subagent once one of these signals is real, not because a step happens to have a name.
Group failures by what is broken:
Group research by various areas
Each domain is independent — fixing tool approval does not affect abort tests.
Each agent gets:
Task("Fix agent-tool-abort.test.ts failures")
Task("Fix batch-completion-behavior.test.ts failures")
Task("Fix tool-approval-race-conditions.test.ts failures")
// All three run concurrently
When agents return:
Effective agent prompts are focused, self-contained, and specific about expected output:
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output capture" - expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
3. "should properly track pendingToolCount" - expects 3 results but gets 0
These are timing/race condition issues. Your task:
1. Read the test file and understand what each test verifies
2. Identify root cause - timing issues or actual bugs?
3. Fix by:
- Replacing arbitrary timeouts with event-based waiting
- Fixing bugs in abort implementation if found
- Adjusting test expectations if testing changed behavior
Do NOT just increase timeouts - find the real issue.
Return: Summary of what you found and what you fixed.
❌ Too broad: "Fix all the tests" — agent gets lost. ✅ Specific: "Fix agent-tool-abort.test.ts" — focused scope.
❌ No context: "Fix the race condition" — agent does not know where to look. ✅ Context: Paste the error messages and test names.
❌ No constraints: Agent might refactor unrelated code. ✅ Constraints: "Do NOT change production code" or "Fix tests only."
❌ Vague output: "Fix it" — no record of what changed. ✅ Specific: "Return summary of root cause and changes."
After agents return:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub davidsouther/domain-driven-design --plugin general8 skills in this plugin
/c3-reviewProvide review and feedback based on Correctness, Conciseness, and Clarity. Given a scope of artifacts, reviews them in their entirety and provide feedback that gauges those three aspects./conversationUse when interacting with users — asking clarifying or exploratory questions, presenting suggestions or options, pausing for confirmation, or before taking an action with effects outside the repository./reviewUse when preparing a final work product for handoff, before claiming a task is complete./using-generalBootstrap skill for general skills. Use to find the most relevant skills before thinking or acting. Ailly moved to davidsouther/ailly; general/MOVED.md says how to repoint this install./writing-paired-skillsUse when two skills cover the same topic at different cadences — one rare-but-recurring task that assembles a harness (configures, scaffolds, bootstraps, idempotent) and one frequent task that operates within the harness (every log line, every TDD cycle, every new term). Applies when a single skill is growing two distinct cadences in its body, when a frequent skill is acquiring a "before you start, configure..." section, or when two existing skills cover the same topic but neither references the other and the contract between them is implicit./writing-pattern-skillsUse when authoring a new skill for the patterns plugin, or when revising an existing pattern skill so it conforms to the plugin's conventions. Applies when a recurring design pressure needs to be captured as a named, reusable pattern, including its frontmatter, section structure, and the references directory layout.2 plugins ship this exact skill · first indexed Aug 15, 2026
Other plugins' skills for the same job