Batch Parallel Changes
Orchestrate large-scale codebase changes: $ARGUMENTS
Process:
- Research the codebase to understand scope
- Decompose work into 5-30 independent units
- Present plan for approval
- Spawn one agent per unit in isolated git worktree
- Each agent: implements changes, runs tests, opens PR
- Aggregate results and report
Requirements:
- Must be in a git repository
- Each unit must be independent (no cross-dependencies)
- Tests must exist or be created for verification
Example usage:
- /batch migrate src/ from Solid to React
- /batch update all API endpoints to v2
- /batch add TypeScript types to all .js files