Prompt file imported from itsvedantkumar/keystatic-passkeys (
.claude/commands/pr.md). Fill in{{arguments}}before use. Copyright stays with the author.
Branch: !git branch --show-current
Commits vs main: !git log --oneline origin/main..HEAD 2>/dev/null || git log --oneline -10
Diff stat: !git diff origin/main...HEAD --stat 2>/dev/null || git diff --stat
Open a PR. {{arguments}}
Steps:
- Push the branch with upstream if needed (
git push -u origin HEAD). gh pr createwith a clear title and a body covering: what changed and why, how it was tested, and any risk/rollback note. Keep it tight — no filler.- Return the PR URL. Do not merge.