Stacked PR workflow with the Graphite CLI (gt) — create stacks, submit, sync, restack, split/squash/fold, track existing branches, collaborate on shared stacks, configure repo/CI for Graphite, and operate the merge queue.
93%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Reshuffle the order of branches in the current stack via an editor-based picker. User input: $ARGUMENTS.
gt reorder opens $EDITOR with the current branch and its ancestors (downstack), one branch per line. Rearrange the lines to set the new order. You can also delete lines (removes the branch from the stack) or add lines (must reference branches Graphite already knows about).
gt ls to show the user the stack today.gt reorder — just the downstack of the current branch.gt reorder --stack — the entire stack (trunk → tip)./graphite:move --onto <branch> to reposition one branch at a time instead.gt add . → gt continue -a, or gt abort.gt ls to confirm./graphite:move with --onto <branch>.gt create --insert -am "..." (covered by /graphite:create).