github:stack - Manage GitHub native stacked pull requests with gh stack
Publish, manage, sync, and merge GitHub native stacked pull requests using the gh stack CLI extension with native or external tracking.
Tags
Updated: 2026-09-21Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Publish stacked pull requests
- Merge stacked pull requests
- Link branches into a stack
- Sync local branches with GitHub
- Query stack state via GraphQL
- Restructure stack interactively
Inputs
- Branch names or PR numbers
- Stack numbers or PR URLs
- Repository owner and name
- PR titles and descriptions
Outputs
- Published GitHub pull requests
- Merged pull requests
- Updated local and remote branches
- GraphQL query response data
Requirements
- github/gh-stack extension
- GitHub CLI
- GitHub stacked PRs feature enabled
