graphite

Automate Graphite stacked PR workflows with gt commands.

11|3|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/georgeguimaraes/claude-code-graphite --skill graphite-georgeguimaraes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: graphite
Source: https://github.com/georgeguimaraes/claude-code-graphite/tree/main/plugins/graphite/skills/graphite
Command: npx skills add https://github.com/georgeguimaraes/claude-code-graphite --skill graphite-georgeguimaraes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Graphite stacked PR workflows can be complex to manage manually. This Skill automates detection and orchestration of PR stacks in Graphite-enabled repos, ensuring consistent planning, execution, and submission.

Core Features & Use Cases

  • Stack planning and orchestration: Break features into atomic PRs using gt create and plan before coding.
  • Detection and context: Auto-detect Graphite repos via .git/.graphite_repo_config, and use gt commands instead of git for PR workflows.
  • MCP server integration: When connected, leverage Graphite MCP tools for stack management.
  • Conflict guidance: Provide structured guidance for restack conflicts and CI-safe PRs.

Quick Start

Install the Graphite CLI and verify your repository contains .git/.graphite_repo_config. Then create and manage atomic PRs with gt:

  • gt create -am "feat: initial stack PR"
  • gt log to inspect stack status Finally, submit the complete stack with gt submit --no-interactive.

Frequently Asked Questions about graphite

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

FAQPage Schema
How do I automate stacked PR workflows using Graphite?

Automating stacked PR workflows with Graphite involves using the gt CLI to plan, create, and submit atomic PRs. This Skill orchestrates the stack lifecycle by detecting Graphite-enabled repositories and mapping commands for CI-safe submissions.

What is the best way to break a feature into atomic PRs for CI?

Breaking features into atomic PRs for CI requires stack planning before coding. This Skill uses gt create to establish individual stack PRs and enforces CI validation, ensuring each atomic PR passes checks before stack submission.

Do I need the Graphite CLI installed to manage PR stacks?

Yes, you need the Graphite CLI installed to manage PR stacks. The Skill requires the gt tooling to execute commands like gt create and gt log, and optionally leverages MCP server integration for enhanced stack management in Graphite-enabled repos.

How does gt handle restack conflicts in stacked PRs?

Handling restack conflicts in stacked PRs requires structured guidance during the restacking process. The Skill provides conflict resolution steps when restacking the PR stack, ensuring that the atomic PRs remain consistent and CI-safe before submission.

Can I use Graphite MCP server tools for stack management?

Yes, you can use Graphite MCP server tools for stack management. When connected to an MCP server, the Skill leverages MCP tools to detect repository contexts and orchestrate stacked PR workflows alongside the standard gt commands.