Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

gh-stack-pr-skill

A Claude Code skill for working with stacked pull requests via GitHub's official gh stack extension.

It exists to stop the agent from hand-rolling stack management with git rebase --update-refs and manual gh pr create --base calls when a supported tool already does it — and to make it ask before stacking PRs that don't actually depend on each other.

Install

Personal (all projects):

git clone https://github.com/nir-mo/gh-stack-pr-skill.git ~/.claude/skills/stacked-pr

Single project:

git clone https://github.com/nir-mo/gh-stack-pr-skill.git .claude/skills/stacked-pr

Then install the extension it drives:

gh extension install github/gh-stack

Use

Ask Claude for anything stack-shaped — "stack a PR on top of this", "restack", "split this into a stack" — and the skill loads. See SKILL.md for the full workflow.

Adapting it

The skill is written for a generic repo. If yours has conventions gh stack submit bypasses — required labels, a title format, a post-PR step — see the Adapt to your repo section of SKILL.md and edit it in.

License

MIT

About

Claude Code skill for stacked pull requests, driven by GitHub's gh stack extension

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors