Big pull request? Comment /split
prsplit turns one large PR into a stack of small ones that are easy to review, and proves they add up to your original change.
- Show avatars on the profile page+26
- Add avatar upload API+55
- Add avatar storage+46
- Rename utils/fmt.ts to format.ts+8 −8
How it works
Everything happens in the pull request, with three comments' worth of effort.
Comment /split
prsplit cuts the change into small pieces and works out which ones depend on which.
Read the plan
AI groups the pieces into focused PRs. Code checks the result before you see it.
Comment /split apply
The PRs open as a GitHub stack. Review and merge them the way you already do.
Safe by design
The AI only suggests the grouping. Plain code checks everything before anything is pushed.
Adds up exactly
The top of the stack has the same files as your PR, byte for byte.
Nothing out of order
No PR uses something that only arrives in a later one.
Your branch is untouched
prsplit creates new branches and never overwrites one that exists.
You stay in charge
Nothing is pushed until you apply, and prsplit steps back once the stack is open.
Commands
/splitSuggest how to split this PR/split applyOpen the suggested PRs as a stack/split cancelForget the suggestion/split undoClose the new PRs and restore the original
Questions
What does the AI see?
Short summaries of the changed lines, sent to Anthropic's API. Your code isn't kept after the job finishes.
Which languages work?
Any repo can be split. Dependency checks are strongest for TypeScript and JavaScript.
Could a single small PR break the build?
The full stack always equals your PR. Let CI run on each part before merging.
Are there limits?
Up to 5,000 changed lines per PR, 10 splits per repo per day, and no PRs from forks yet.
✓ All 19 changes are used once, in an order that works, and the 4 PRs together equal this PR exactly.