Pull Request
Context
Run in parallel:
-
git status (never -uall)
-
git diff HEAD
-
Branch tracking status
-
git diff [base-branch]...HEAD and git log
Template Locations
-
.github/pull_request_template.md
-
.github/PULL_REQUEST_TEMPLATE.md
-
.github/PULL_REQUEST_TEMPLATE/
-
docs/pull_request_template.md
-
pull_request_template.md
Workflow
-
Search for PR template
-
Read template if found
-
Review ALL commits (not just latest)
-
Draft title (<70 chars) and body:
-
Use template structure if available
-
Otherwise: Summary + Test plan
-
In parallel:
-
Create branch if needed
-
Push with -u if needed
-
Create PR with gh pr create using HEREDOC
Rules
-
Use PR template if available
-
Analyze ALL commits
-
Return PR URL
-
Use gh CLI