Pull Request
Context
- Current branch: !
git rev-parse --abbrev-ref HEAD - Default branch: !
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null || echo 'unknown' - Git status: !
git status -b --porcelain
Title and Commit Message
- Check
.gitmessage/CONTRIBUTING.mdfirst (respect project conventions) - Fallback to Conventional Commits
PR Body Templates
Standard:
## Summary
<description>
With issue linking (branch starts with #<number>_):
closes #<number>
---
## Summary
<description>
Steps
- If open PR exists (
gh pr view) →gh pr edit --title ... --body ... - Otherwise →
gh pr create --draft --title ... --body ... --base <base> --assignee @me- Base:
$ARGUMENTSif provided, else default branch - Always create as draft; the author marks ready for review manually
- Base: