subagent-dispatch

Coordinate parallel code-writing subagents with worktree isolation and resource management.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/jonkraatz/claude-skills --skill subagent-dispatch-jonkraatz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-dispatch
Source: https://github.com/jonkraatz/claude-skills/tree/main/skills/subagent-dispatch
Command: npx skills add https://github.com/jonkraatz/claude-skills --skill subagent-dispatch-jonkraatz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of managing parallel code-writing subagents, ensuring safety, coordination, and recovery in parallel coding tasks.

Core Features & Use Cases

  • Parallel Code Writing: Safely dispatch multiple subagents to work on the same task in parallel.
  • Worktree Isolation: Ensures that each subagent works in its own isolated environment to prevent conflicts.
  • Pre-dispatch Checklist: Provides a comprehensive checklist to prepare for subagent dispatch.
  • Build and Test Verification: Ensures that code changes pass all tests and linting before merge.
  • Resource Serialization: Manages access to shared resources to prevent concurrent access issues.
  • Post-dispatch Cleanup: Automates the cleanup process after a task is completed.
  • Crash Recovery: Handles recovery from failed subagent tasks.
  • Use Case: Ideal for projects that require parallel coding, such as large feature development or bug fixes, ensuring efficient and safe collaboration.

Quick Start

Dispatch a subagent to work on a task by invoking the 'subagent-dispatch' skill with the necessary details.

Frequently Asked Questions about subagent-dispatch

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

FAQPage Schema
How do I manage parallel coding subagents without conflicts?

Preventing conflicts in parallel coding subagents requires worktree isolation for each agent and resource serialization for shared access. This ensures each subagent operates independently in its own isolated environment while preventing concurrent editing issues.

What is worktree isolation for parallel code writing?

Worktree isolation is a coordination mechanism ensuring each code-writing subagent operates in its own isolated environment. It prevents conflicts during parallel coding tasks by keeping agent changes physically separated until a safe merge.

How do I dispatch code-writing subagents for large feature development?

Dispatching code-writing subagents requires invoking the skill with task details, completing a pre-dispatch checklist, and verifying builds and tests. This coordinates parallel tasks safely and ensures code changes pass linting before a final merge.

Can I recover from a failed subagent task during parallel coding?

Yes, crash recovery handles failures from subagent tasks during parallel coding. The system manages recovery protocols to resume or safely rollback incomplete work without corrupting the isolated worktrees or the shared codebase.

Does parallel subagent management automate cleanup after task completion?

Yes, post-dispatch cleanup automates the environment cleanup process after a parallel coding task is completed. This safely removes isolated worktrees and manages resources once the subagents finish their work.

When should I use subagent coordination for code isolation?

Subagent coordination for code isolation is ideal for complex projects requiring parallel coding, such as large feature development or extensive bug fixes. It ensures efficient and safe collaboration when multiple agents modify code simultaneously.