graphite
Installation
SKILL.md
Graphite Stacked PRs Workflow
IMPORTANT: This workflow applies ONLY to repositories with .git/.graphite_repo_config. For repositories without this file, use standard git commands (git commit, git push, etc.).
Detection
Check for .git/.graphite_repo_config to determine if a repo uses Graphite:
- File exists: Use
gtcommands (this skill applies) - File does not exist: Use standard
gitcommands (this skill does NOT apply)
When Graphite is detected, use gt commands instead of git for all commit and branch operations.
MCP Server
A Graphite MCP server may be available (check with /mcp). If the graphite MCP is connected, it provides tools to work with stacked PRs.
Planning Stacks (CRITICAL)
Before writing any code, present the stack structure and ask for confirmation.