GitHub Stacked PRs
gh-stack is a GitHub CLI extension for managing stacked branches and pull requests, where each small change builds on the branch below it. Developers use it to create, rebase, submit, and navigate reviewable PR chains, and the catalogue entries help coding agents operate the extension.
Latest release v0.3.0 · 26 Oct 2026
2 files for GitHub Copilot, Codex and OpenCode: gh-stack copilot-instructions.md, gh-stack AGENTS.md — 4,095 tokens loaded in every session.
.github/copilot-instructions.md A 1,063 tok AGENTS.md A 3,032 tok These files are github/gh-stack's own configuration — they tell GitHub Copilot, Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.