Create a pull request for the current branch following our PR template and conventional commit standards.
Steps
- Detect the base branch:
hotfix/*orhotfix-*branches targetmain- Everything else targets
nextby default - If the current branch looks like it chains off another feature branch (not
mainornext), ask me which base to use
- Run
git logandgit diffagainst the detected base branch to understand all changes. - Generate a PR title using conventional commits (
feat:,fix:,chore:,refactor:,docs:,test:,build:). Keep it under 72 characters, lowercase after prefix. - Fill in the PR body:
- What: summarize the change in 1-2 sentences
- Why: explain the problem or user need this solves (link issues with #N if applicable)
- How to test: write concrete steps a reviewer can follow
- Screenshots / recordings: include section only if there are UI changes
- Checklist: include all items, check the ones that apply to this PR
- Ask me to confirm or adjust the title and body before creating.
- Create the PR with
gh pr create --base <detected-base> --title "..." --body "...". - Assign me as assignee with
gh pr edit --add-assignee @me.
Show me the PR URL when done.