github/gh-stack

GitHub Stacked PRs

About the project

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.

1,749Stars on the repository
2Files it configures its agents with
4,095Tokens loaded in every session
3Agents configured

Instructions

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.