/cc · Claude Code Commands
  1. Home
  2. Parallel & background work
  3. /batch

/batch<instruction>

Skill⇄ Broad file changes

Orchestrates large changes in parallel: researches the codebase, decomposes the work into 5–30 independent units and presents a plan; after approval, one background subagent per unit implements and tests it in its own worktree. Requires a git repository or a WorktreeCreate hook.

Best use

/batch migrate src/ from JavaScript to TypeScript.

Safety labels

⇄ Broad file changes: Can change or revert many files at once. Commit or back up first, and review with /diff afterwards.

Used in these situations

Related commands · Parallel & background work

← See all commands