Commit Push PR
Follow the commit-push workflow, then:
- Determine the base branch from the repository default or existing branch context.
- Create a PR with
gh pr createwhen one does not already exist for the branch. - Generate a semantic PR title aligned with the commit intent.
- Write a short PR body with summary, testing, and any follow-up notes.
- Report the PR URL.
Guardrails
- If a PR already exists, update the branch by pushing and report the existing PR instead of creating a duplicate.
- Do not squash or rewrite history unless the user explicitly asks.