stack-prs

Installation
SKILL.md

Stacking PRs from a phased plan

Phases and stages are planning units; PRs are review units. They don't have to be 1:1, but they often should be. This skill is the judgment layer for slicing a plan into a stack of PRs that the human can review and merge in parallel while later PRs are still being written. For gt command mechanics, defer to the graphite skill.

Why stack

The human reviews PR-1 while you build PR-2 on top of it. Each PR is independently green, independently mergeable. When PR-1 lands on main, the rest restacks onto fresh main and keeps moving. The point is to keep the human's review queue full and your build queue full at the same time.

The sizing decision

A PR contains exactly the work it needs — no padding, no cramming. If a small feature is two commits, the PR is two commits. If a phase is a single line change, that PR is one commit. Don't bundle just to hit a number.

The size of the work scales with the feature:

  • Large feature → large stages → large phases. Each phase is usually a PR on its own; sometimes a single phase splits into two PRs if it's heavy.
  • Small feature → one stage, a few small phases. The whole thing is often a single PR.
  • In between → bundle adjacent phases into PRs of natural size.

Soft heuristic for when you're actively choosing how to bundle: ~7–12 commits per PR feels right; past ~20 reviewers stop reading carefully. This is a target when grouping, not a minimum any PR has to clear and not a hard ceiling.

Installs
1
GitHub Stars
1
First Seen
Jul 8, 2026