pr-stack
Installation
SKILL.md
pr-stack
Stacked branches: a chain of small branches each opening one PR, kept in order across rebases and pushed as a group.
Three tools implement this workflow today. They share the same mental model but live in different ecosystems:
- Graphite (
gt) — third-party CLI, mature, requires a Graphite account (gt auth). Stack metadata lives in.git/.graphite_repo_config. - git-town (
git town) — third-party CLI, mature, no account and forge-agnostic (GitHub / GitLab / Gitea / Bitbucket / Forgejo / Azure DevOps). Branch lineage lives in local git config (git-town-branch.<name>.parent), so there's nothing to sign up for. - GitHub
gh stack— first-partyghextension (github/gh-stack), private preview as of 2026-05; repos must be allow-listed via gh.io/stacksbeta. Stack metadata lives in.git/gh-stack. Uses standardgh auth login— no third-party account.