Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.
安装
npx skills add github/gh-stack --skill gh-stacknpx skills add github/gh-stack --skill gh-stack -a claude-code -gnpx skills add github/gh-stack --skill gh-stack -a codex -ggemini skills install https://github.com/github/gh-stack.git --path skills/gh-stackgh skill install github/gh-stack gh-stackgit clone --depth 1 https://github.com/github/gh-stack /tmp/github__gh-stack
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/github__gh-stack/skills/gh-stack ~/.claude/skills/gh-stack # Claude Code
cp -R /tmp/github__gh-stack/skills/gh-stack ~/.agents/skills/gh-stack # Codex, Cursor, Gemini CLI, Copilot, OpenCode