What problem does it solve? Large features delivered as one giant pull request are hard to review, and dependent changes spread across branches are painful to keep in sync. This Skill manages stacked PRs with the gh-stack GitHub CLI extension, so each layer of work gets its own small, reviewable PR based on the branch below it. ## Core Features & Use Cases - Stack creation and editing: Initialize a stack of dependent branches, add layers, edit the correct layer, and rebase everything above it automatically. - Non-interactive automation: Provides the exact flags and commands (view --json, submit --auto, merge --yes) that work safely in agent harnesses without TTY prompts or TUIs. - Sync, merge, and recovery: Sync with GitHub, handle squash merges, resolve rebase conflicts via documented exit codes, and restructure stacks when requirements change. - Use Case: You are building a feature spanning models, API routes, and a frontend. Create a three-layer stack, commit each concern to its own branch, submit draft PRs for all layers at once, and merge them bottom-up when approved. ## Quick Start Ask the agent to split the current feature work into a stacked set of PRs using gh stack, with one branch per concern. ## Quick Start Tell the agent to create a gh-stack with separate branches for each layer of the feature and submit them as draft PRs.