pr-stack

Installation
SKILL.md

PR Stack

Use this skill for stacked PR workflows built on top of plain git and gh.

Mental Model

A stack has:

  • A trunk branch, usually the repo default branch.
  • Feature branches where each branch has one intended parent.
  • Pull requests whose base branch is that parent, not always trunk.

Track stack relationships explicitly:

  • Required: stack.trunk=<branch>, branch.<name>.stackParent=<parent-branch>
  • Strongly recommended: stack.remote=<remote>, branch.<name>.stackParentRemoteRef=<remote>/<parent-branch>

Use stack.trunk and branch.<name>.stackParent as the source of truth. Resolve PR state live through gh. Derive children by scanning branches for matching stackParent values.

Related skills

More from ouj/skills

Installs
8
Repository
ouj/skills
First Seen
Apr 12, 2026