Gh stack

From flightctl/ai-workflows · View interactive version

Gh stack is an AI agent skill from the GitHub repository flightctl/ai-workflows. Manages stacked PRs with gh-stack — creation, viewing, editing, push, submit, sync, rebase, merge, and checkout. Use when splitting work into reviewable branches, managing dependent PRs, whenever the user mentions a stack, branch layers, or gh stack, or whenever a stack is already checked out.

How to use this skill

Skill file

gh-stack

gh stack is a GitHub CLI extension for stacked branches and pull requests.

Read references/usage.md for setup, the non-interactive

command table, core workflow loops, and exit codes.

Open the reference whose trigger matches the task:

stack or deciding layers.

for preconditions, side effects, and ordering guarantees.

divergence, restructuring, or driving stacks from another tool.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.