create-pr
Installation
SKILL.md
Create PR
Create a PR a reviewer can understand without reading the conversation. Use extra invocation text and session findings to explain the problem, final behavior, and evidence. Follow the user's requested format and the target repo's guidance.
These rules apply to pull requests. For problem-focused issue titles and structured issue reports, use create-issue.
Workflow
- Inspect the scope and base
- Read repository guidance and inspect
git status, staged changes, and the current branch. - Honor staged-only requests. Never stage unrelated work or require a new commit when the branch already contains the requested changes.
- Confirm the target remote and base branch. Before creating a branch from main/master,
fetch that remote and fast-forward the local base with
git merge --ff-only <remote>/<base>. Preserve dirty work and stop if fast-forwarding fails. Do not reset it away. - Create a short branch using the repo's naming convention. Never commit directly to main.
- Read repository guidance and inspect