| name | pr |
| description | Commit, push, and open a pull request. Use when finished work on the current branch needs to become a PR. |
| user-invocable | true |
| argument-hint | [optional: PR title, base branch, or draft|ready] |
PR
Take the finished change on the current branch to an open pull request.
Workflow
- Run
branch first if still on the default branch.
- Run
commit for any uncommitted intended changes.
- Push the branch.
- Open the PR with
gh or GitHub tools. Draft by default; ready only when the user or ticket policy asks. Write the title like a commit subject: in squash-merge repos it becomes the commit on the default branch.
- Write the body from the diff and work done: what changed and why, ticket link when one exists, tests and checks run with results, review findings fixed, and anything not verified.
- Report the PR URL.
Rules
- One PR per branch. If one is already open, push and update its description instead of opening another. Preserve human edits to the body: update only what the new commits change, never rewrite the whole description.
- Follow the repo's PR template when one exists.
- Do not claim verification that did not run.
- If push or PR creation fails, keep the branch and commit local and report the exact failure.