What problem does it solve? Breaking a large change into small, reviewable pull requests is hard when each PR depends on the previous one. This Skill manages stacks of dependent branches and PRs so each layer shows reviewers only its own diff, and keeps the whole chain rebased and in sync. ## Core Features & Use Cases - Stack creation and navigation: Initialize stacks with gh stack init, add layers with gh stack add, and move between layers with up, down, top, and bottom. - PR submission and syncing: Push branches and create linked PRs with gh stack submit --auto, and run gh stack sync to fetch, rebase, push, and reconcile PR state in one command. - Conflict and merge handling: Recover from squash-merges automatically, resolve rebase conflicts with rebase --continue/--abort, and restructure stacks with unstack. - Use Case: You are building a full-stack feature. Create a stack of data-models, api-routes, and frontend branches, submit them as three chained PRs, and when review feedback requires an API change, navigate down, commit the fix, and rebase the layers above. ## Quick Start Ask the agent to break the current feature into a stack of dependent PRs using gh stack, starting with a foundational branch and submitting draft PRs for each layer.