원클릭으로
graphite
Use Graphite well for everyday stacked PR work in the monologue repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use Graphite well for everyday stacked PR work in the monologue repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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`.
SOC 직업 분류 기준
| 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.