
Graphite
Stacked-PR workflow skill for Graphite (gt) covering creation, navigation, restacking, and submission.
- skills.sh installs
- 10K
- GitHub stars
- 7
- last updated
- Jul 14, 2026
What it does
- Covers creating, navigating, modifying, re-parenting, and submitting PR stacks through the
gtCLI and related git commands - Includes a quick-reference command table, branch naming conventions, and a troubleshooting table for common restack and untracked-branch errors
- Enforces a rule that the first PR in a stack must be parented on
mainbefore runninggt submit --no-interactive - Designed for developers working in worktrees or deep stacks who need targeted
git rebaseinstead of all-or-nothinggt restack
Install
$ npx -y skills add withgraphite/agent-skills --skill graphite -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Graphite Skill
Work with Graphite (gt) for creating, navigating, and managing stacked pull requests.
Quick Reference
| I want to... | Command |
|---|---|
| Create a new branch/PR | gt create branch-name -m "message" |
| Amend current branch | gt modify -m "message" |
| Navigate up the stack | gt up |
| Navigate down the stack | gt down |
| Jump to top of stack | gt top |
| Jump to bottom of stack | gt bottom |
| View stack structure | gt ls |
| Submit stack for review | gt submit --no-interactive |
| Rebase stack on trunk | gt restack |
| Change branch parent | gt track --parent <branch> |
| Rename current branch | gt rename <new-name> |
| Move branch in stack | gt move |
What Makes a Good PR?
In roughly descending order of importance:
- 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
Do NOT worry about creating TOO MANY pull requests. It is always preferable to create more pull requests than fewer.
Details
- Repository
- github.com/withgraphite/agent-skills
- Category
- Git & Releases
- First seen
- Jun 3, 2026
Similar to Graphite
More Git & Releases
gtPluginoutfitter-dev/agents29 starsGraphite stack workflows for trunk-based development with stacked PRs
gh-stackSkillgithub/gh-stack21.5K installsManages stacked PRs and splits multi-part work into dependent, reviewable branch layers with gh-stack.
stacked-prsSkillbobmatnyc/claude-mpm-skills376 installsStep-by-step workflow for building dependent PR stacks, with rules that prefer main-based PRs by default.
githubSkillcallstackincubator/agent-skills9.4K installsGuide to GitHub workflows with the gh CLI for pull requests, branching, and repository automation.
create-prSkilltartinerlabs/skills424 installsPush a branch and open a GitHub or GitLab PR, with stacked-base selection and migration drift checks.
git-worktreesSkillbobmatnyc/claude-mpm-skills365 installsGit worktree setup for working on several branches at once, with stacked PR and parallel server patterns.