splitting-pr
Splitting PR
Overview
A large uncommitted diff on one branch produces one large, risky-to-review PR. This skill turns
it into a stacked chain of small PRs: each one small enough to review (≤15 business-logic
files, assets/docs excluded), each one tracked in a state file so the split can be paused and
resumed across sessions without losing track of which files went where. This skill does not run
its own build/lint/test step — verification is whatever the project's own pre-push hook already
does at git push time (Step 6 of references/block-cycle.md); if that hook rejects a push,
that's the signal a block was cut wrong, not something this skill checks proactively beforehand.
This skill is retroactive only — it never plans a split before the diff exists. If no large uncommitted diff is present when this skill is invoked, say so and stop; there is nothing to split yet.
This skill is the entry point; it owns storage/naming/state-file conventions (below — shared by both reference files) and routes to the process that applies: