gt
Installation
SKILL.md
Graphite
Overview
Graphite (gt) is a CLI tool for managing stacked pull requests - breaking large features into small, incremental changes built on top of each other. This skill provides the mental model, command reference, and workflow patterns needed to work effectively with gt.
CRITICAL: Always Use --no-interactive
NEVER invoke any gt command without --no-interactive. This is a global flag inherited by every gt command — not a per-command option.
Without --no-interactive, gt may open prompts, pagers, or editors that hang indefinitely in agent/CI contexts. The --force flag does NOT prevent prompts — you must use --no-interactive separately.
# WRONG - may hang waiting for user input
gt sync
gt submit --force
gt track --parent main