Files
withgraphite__agent-skills/plugins/claude-code/commands/create-pr.md
2026-02-17 21:29:51 -05:00

815 B

description, allowed-tools
description allowed-tools
Create a new stacked PR from current changes using Graphite Bash(gt create *), Bash(gt submit *), Bash(git diff *), Bash(git status *), Bash(git add *), Bash(open *)

Create PR

Context

Git diff of current changes

!`git diff`

Staged changes

!`git diff --cached`

Instructions

  1. Analyze the git diff output above to understand what changes have been made
  2. Generate a concise conventional commit message (format: type: description)
  3. Stage any unstaged changes if appropriate: git add <files>
  4. Run: gt create -a -m "<your_generated_commit_message>"
  5. Show the user the commit message and confirm the PR was created
  6. Run: gt submit --no-interactive
  7. Show the user the output and confirm the PR was submitted