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