gt

Parse /gt commands to manage Graphite branch stacks.

8|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/jfmyers9/claude --skill gt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gt
Source: https://github.com/jfmyers9/claude/tree/main/skills/gt
Command: npx skills add https://github.com/jfmyers9/claude --skill gt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Graphite users rely on a collection of ad-hoc commands to manage their local branch stacks. This skill wraps common Graphite CLI operations into a cohesive, predictable workflow.

Core Features & Use Cases

  • Wraps Graphite CLI operations into a single command surface.
  • Supports: log, restack, sync, info, amend, up, down, top, bottom.
  • Provides a sensible default with help when no args and includes a post-op bd sync after state-changing commands.

Quick Start

Call /gt log to view the current branch stack.

Frequently Asked Questions about gt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage my Graphite branch stack from the command line?

You can manage your Graphite branch stack by running the /gt command with arguments like log, restack, sync, or amend. It parses these operations to maintain, view, and reorder local branches.

What is the best way to navigate up and down a stacked branch structure in Bash?

To navigate a stacked branch structure in Bash, use the /gt up, /gt down, /gt top, or /gt bottom commands. These wrapper operations move your focus through the local branch stack sequentially.

Can I automatically synchronize branches after amending a commit in a Graphite stack?

Yes, you can synchronize branches after amending a commit because the wrapper performs a post-operation bd sync automatically. Running /gt amend triggers this state-changing synchronization to keep your stack updated.

How do I view the current state of my local Graphite branch stack?

To view the current state of your local Graphite branch stack, execute the /gt log or /gt info command. This provides a cohesive overview of your current branch stack and its details.

What happens if I run the Graphite wrapper command without any arguments?

If you run the Graphite wrapper command without any arguments, it defaults to displaying the help menu. This provides a predictable baseline showing all available stack management operations.

Does this workflow wrapper support restacking and syncing local Graphite branches?

Yes, the workflow wrapper supports restacking and syncing local Graphite branches through the /gt restack and /gt sync commands. These operations maintain and synchronize your branch stack state.