Files

graphite-cli (Cursor plugin)

Cursor plugin for Graphite CLI stacked PR workflows.

What it includes

  • skills/graphite/SKILL.md: guidance for stacked PR workflows with gt
  • commands/create-pr.md: create and submit a new PR in the current stack
  • commands/modify-pr.md: amend and resubmit the current PR
  • hooks/hooks.json: pre-tool hook for gt usage gating
  • .mcp.json: Graphite MCP server definition

Usage

  1. Install or link this plugin in Cursor.
  2. Use the graphite skill before running gt commands.
  3. Run plugin commands:
    • create-pr
    • modify-pr