Files
withgraphite__agent-skills/plugins/claude-code/commands/modify-pr.md
2026-02-18 02:40:12 +00:00

739 B

description, allowed-tools
description allowed-tools
Amend current PR with new changes using Graphite Bash(gt modify *), Bash(gt submit *), Bash(git diff *), Bash(git status *), Bash(git add *), Bash(open *)

Modify 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. Run: gt modify -am "<your_generated_commit_message>"
  4. Show the user the commit message and confirm the PR was modified
  5. Run: gt submit --no-interactive
  6. Show the user the output and confirm the PR was submitted