Measure pull request size from git numstat or a diff, skipping lock and generated files, and plan how to split big changes into reviewable slices. Use when the user asks if a PR is too big, wants a size check, or asks to split a PR.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
The size slices tell you where the lines are. Use them as a starting point and order the parts so each one can be merged on its own.
| Order | Typical content | Why |
|---|---|---|
| 1 | Mechanical moves, renames, formatting | Large but easy to skim; no logic to review |
| 2 | Shared library, types, schema or config | Others depend on it |
| 3 | Feature code, one area per PR | The actual review effort |
| 4 | Tests for the area (or inside the area's PR when small) | Keeps behaviour and proof together |
| 5 | Docs, changelog | No risk |
--suggest (and --depth 2 if a slice is oversized).git checkout my-big-branch -- src/api tests/api.A single mechanical change (rename across the repo, formatter run, dependency bump) is better as one PR, clearly labelled, than as many partial ones that leave the tree inconsistent.