⌨️/batch Command
Also known as /batch, Parallel change, Large-scale change
It splits a big change into parts that run side by side.
Think of it like
It is like a big puzzle. Many friends each do one corner at the same time.
Example
Jack must rename a logging call in 200 files. /batch splits the folders into 12 parts, and an hour later he has 12 small pull requests to review.
Why it matters
A change too big for one session gets done all at once, in small parts a person can check.
Definition
Example code
console
/batch migrate src/ from JavaScript to TypeScriptCommon mistake
Key takeaways
- 1Plan first. You approve it.
- 25 to 30 parts. Each on its own.
- 3One worktree each. One pull request each.