pr
Installation
SKILL.md
PR
- If still on the default branch, create or switch to a task branch first.
- Commit intended changes with a Conventional Commit subject. Stage only intended files.
- Before writing the PR body, read the repo's PR template if one exists. Check
.github/pull_request_template.md,.github/PULL_REQUEST_TEMPLATE.md,pull_request_template.md,docs/pull_request_template.md, and.txtvariants. If aPULL_REQUEST_TEMPLATE/directory exists under.github/, the repo root, ordocs/, pick the template named by the repo or user; otherwise use the default template if present. - Push and open the PR, ready for review by default, draft only when asked or the work is known incomplete. Title reads like a commit subject: in squash-merge repos it becomes the commit on the default branch.
- Write the body from the template when one exists. Preserve headings and fill relevant sections from the diff and work done: what changed and why, ticket link when one exists, checks run with results, review issues fixed, and anything not checked. If no template exists, write a concise body with those same details.
- Report the PR URL.
Rules
- One PR per branch. If one is open, push and update it. Preserve human edits to the body: update only what the new commits change.
- Follow the repo's PR template when one exists.
- Never claim checks that did not run.
- If push or PR creation fails, keep the work local and report the exact failure.