com um clique
graphite
Use Graphite well for everyday stacked PR work in the monologue repo.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Use Graphite well for everyday stacked PR work in the monologue repo.
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Turn uncommitted working-tree changes into a Graphite stack by slicing the dirty diff, temporarily stashing later slices so validation sees only the current slice, using `gt create` to mint each new branch, and verifying the final top branch matches the saved tree exactly. Use when the user wants to stack WIP, a dirty worktree, unstaged changes, or local changes that are not committed yet.
Split a PR or branch into a smaller Graphite stack using a human-style `gt split` workflow. Ask the user how to split the work, optionally squash to one commit with `gt squash`, rebuild named branches with `git branch`, re-track them with `gt track`, and verify the final top branch matches the original tree exactly. Use when the user asks to split a PR, split a branch into multiple Graphite branches, preserve an existing PR on one split branch, or manually emulate `gt split`.
| name | graphite |
| description | Use Graphite well for everyday stacked PR work in the monologue repo. |
Use this skill for normal gt workflows. For splitting an existing branch or PR
into smaller slices, use .cursor/skills/graphite-split-stack/SKILL.md.
Prefer PRs that are:
When choosing between one large PR and several small ones, prefer the smaller stack.
gt create branch-name -m "commit message"
gt modify -m "updated commit message"
gt ls
gt up
gt down
gt submit --no-interactive
Use gt instead of plain git commit / git push for stacked work unless you
are doing something gt does not model well.
Use a shared prefix plus a terse branch purpose:
stack-topic/first-slice
stack-topic/second-slice
stack-topic/final-slice
gt create or gt modifyIf Graphite says the current branch is untracked:
gt track -p main
Then create or restack from there.
Include:
When updating an existing PR description manually, prefer gh pr edit --body-file ... over shell-escaped inline markdown if the body is more than a
couple of lines.
gt track --parent <branch> to fix parentage.gt restack when you want Graphite to update the branch chain.git rebase is safer than a broad restack, do that and then
sync the result back into Graphite.