graphite
graphite
What it does
- Atomic/hermetic - independent of other changes; will pass CI and be safe to deploy on its own
- Narrow semantic scope - changes only to module X, or the same change across modules X, Y, Z
- Small diff - (heuristic) small total diff line count
- Stack Context: What is the bigger goal of this stack?
- What? (optional for small changes): Super terse, focus on what not why
- Why?: What prompted the change? Why this solution? How does it fit into the stack?
- It restacks ALL branches that need it, not just your stack
Requirements & configuration
- | Need to reorder PRs | Use gt move |
- | Need to delete a branch (non-interactive) | gt delete <branch> -f -q |
- It restacks ALL branches that need it, not just your stack
- You need to skip obsolete commits during the rebase
- After deleting intermediate branches, children are automatically restacked onto the parent. If you need to manually update tracking:
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
graphite FAQ
What does the graphite skill do?
Work with Graphite (gt) for stacked PRs - creating, navigating, and managing PR stacks. Atomic/hermetic - independent of other changes; will pass CI and be safe to deploy on its own Narrow semantic scope - changes only to module X, or the same change across modules X, Y, Z
What does graphite require?
| Need to reorder PRs | Use gt move | | Need to delete a branch (non-interactive) | gt delete <branch> -f -q | It restacks ALL branches that need it, not just your stack You need to skip obsolete commits during the rebase After deleting intermediate branches, children are automatically restacked onto the parent. If you need to manually update tracking:
How do I install graphite?
Run: npx -y skills add https://github.com/withgraphite/agent-skills --skill graphite --agent claude-code — the source lives at github.com/withgraphite/agent-skills.
Maintain graphite?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/withgraphite-agent-skills-graphite?ref=badge) npx agentictools info skills/withgraphite-agent-skills-graphite The second line is the CLI lookup for this page — handy in READMEs and docs.