
Batch Orchestration
When you need to apply the same change across 10+ files and don't want to babysit each one, this decomposes the work into independent units and spawns parallel agents in isolated worktrees. Think converting 18 class components to hooks, migrating from moment to dayjs everywhere, or adding tracing to all your API handlers. It forces you to approve a plan before spawning anything, runs tests per unit, and opens separate PRs so failures don't block the whole batch. The overhead only makes sense for truly mechanical, repetitive changes where the units are independent. For anything requiring judgment calls or touching shared state, you're better off doing it manually.
- skills.sh installs
- 162
- GitHub stars
- 2.9K
- last updated
- Jun 8, 2026
Install
$ npx -y skills add rohitg00/pro-workflow --skill batch-orchestration --agent claude-codeInstalls into .claude/skills of the current project.
Files
Batch Orchestration
The /batch command pattern for large-scale parallel changes.
How It Works
/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
/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:
grep -r "class.*extends.*Component" --include="*.tsx" -l
It builds a complete list of targets and groups them by independence.
Phase 2: Decompose
Each unit must be:
Sponsors
Details
- Repository
- github.com/rohitg00/pro-workflow
- Category
- Automation & Workflows
- First seen
- Jun 11, 2026
More from rohitg00/pro-workflow
All 35- Bug Capture162
- Agent Teams161
- Permission Tuner161
- Sprint Status159
- Llm Gate158
- Wiki Query157
- Wiki Builder156
- Survey Generator154
- Wiki Research Loop154
- Wiki Viewer153
- Skill Optimizer140
- Module Map
- Token Efficiency239
- Pro Workflow213
- Wrap Up210
- Deslop203
- Context Optimizer196
- Learn Rule194
- Session Handoff191
- Smart Commit190
- Compact Guard189
- Insights186
- Replay Learnings184
- Parallel Worktrees180