Manage native GitHub stacked pull requests with gh-stack
<p>Teach coding agents to split large changes into native GitHub stacked pull requests, keep branch layers rebased, and submit focused reviewable PR chains with the gh stack CLI.</p>
npx skills add agentskillexchange/skills --skill manage-native-github-stacked-pull-requests-with-gh-stack
Use gh-stack when an agent needs to turn one large development task into a chain of focused GitHub pull requests that build on each other. The operator workflow is to install the GitHub CLI extension, initialize or adopt a stack, add branch layers for separate implementation steps, push the stack, and submit linked pull requests whose base branches preserve the intended review order.
What this skill actually does
Invoke this instead of normal pull-request creation when review quality depends on keeping a large diff split into ordered layers, or when an AI coding agent must maintain stack metadata, perform cascading rebases, and submit the right PR bases without improvising raw Git and GitHub commands. Scope boundary: this is for repositories with GitHub Stacked PRs enabled and the gh-stack extension available; it is not a generic Git workflow card, a Git Town duplicate, or a substitute for human review of merge order, CI, and branch protection.