Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.
Installs just this skill. Get the whole plugin for auto-invocation.
โก How it fires
How this skill gets triggered: by you, by Claude, or both.
Fires itselfClaude auto-loads it when your prompt matches the work.
You can call itInvoke it directly when you want it.
Slash command/batch-orchestration
๐๏ธ Context preview
The summary Claude sees to decide when to auto-load this skill.
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.
---name: batch-orchestration
description: Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees. Use for migrations, refactors, codemods, and any change touching 10+ files with the same pattern.
user-invocable: true
---# Batch Orchestration
The `/batch` command pattern for large-scale parallel changes.
## How It Works
```text
/batch <instruction>
โ
โโโ 1. Research: scan repo, understand scope
โโโ 2. Decompose: split into 5-30 independent units
โโโ 3. Present plan: show units, ask for approval
โโโ 4. Execute: one background agent per unit in isolated worktree
โโโ 5. Collect: each agent runs tests and opens a PR
```
## Syntax
```bash
/batch Convert all React class components to function components
/batch Add error boundaries to every page component
/batch Migrate from moment.js to dayjs across the codebase
/batch Add OpenTelemetry tracing to all API handlers
```
The instruction should describe the change pattern, not individual files. The batch system finds the files.
## Phase 1: Research
The orchestrator scans the repo to find every instance that matches the instruction: