Create Pull Request
Create a pull request for the current branch, following commit message rules for the title (important for squash-merge).
PR Title Rules
The PR title becomes the commit message when squash-merging. Follow these rules:
- •Limit to 50 characters (hard limit for commit subjects)
- •Capitalize the first word
- •No period at the end
- •Use imperative mood ("Add", "Fix", "Update" — not "Added", "Fixed")
- •Explain what, not how
Good Examples
- •
Add validation for email format - •
Fix login timeout on slow connections - •
Update dependencies to patch security issue
Bad Examples
- •
Fixed the bug(past tense, vague) - •
Updates to the login page.(third person, period, vague) - •
WIP: trying to fix auth(WIP, lowercase, vague)
PR Body
Include:
- •Summary: 1-3 bullet points of what changed and why
- •Test plan: How to verify the changes work
Process
- •
If
brivlo:send_eventis available, usebrivlo:send_event scm-tools:pras your first step. - •
Check current branch status and commits since diverging from base
- •
Determine base branch (use argument if provided, otherwise
main) - •
Push branch to remote if needed
- •
Create PR with properly formatted title and body using
gh pr create - •
Return the PR URL