stack
Installation
SKILL.md
Stack
Use the local stack CLI for squash-safe stacked PR repair. It is designed for
repos where PRs are squash-merged and merged branches are deleted, so Git ancestry
alone cannot preserve stack intent.
Keep ordinary editing and commits on plain git. Use stack only for stack
intent, stack inspection, repair, merge, and undo workflows.
Mental Model
dev
└─ stack-a #101
└─ stack-b #102
└─ stack-c #103
Stack intent is persisted in .git/stack/state.json as stack links: