mirror of
https://github.com/withgraphite/agent-skills.git
synced 2026-09-14 13:39:16 +08:00
739 B
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
- Analyze the git diff output above to understand what changes have been made
- Generate a concise conventional commit message (format:
type: description) - Run:
gt modify -am "<your_generated_commit_message>" - Show the user the commit message and confirm the PR was modified
- Run:
gt submit --no-interactive - Show the user the output and confirm the PR was submitted