What problem does it solve?
This Skill turns a finished branch into a well-formed pull request without skipping the checks and context reviewers need. It helps avoid weak PR descriptions, missed validation steps, accidental pushes from the wrong branch, and inconsistent GitHub workflows.
Core Features & Use Cases
- Pre-flight validation: Checks branch state, commit history, existing PR status, uncommitted changes, and whether the branch is ahead or behind base before opening anything.
- PR drafting with context: Builds a title and body from commits, diffstat, ADRs, specs, ticket references, PR templates, and repository conventions so the PR reflects the actual change.
- Safe publication workflow: Runs final sanity checks, asks for explicit approval, pushes the branch, opens the PR with gh pr create, and hands off cleanly to follow-up review work.
- Use case: After finishing a feature branch, use this Skill to verify readiness, generate a reviewable PR description, and open either a draft or ready-for-review PR without force-pushing or bypassing hooks.
Quick Start
Ask the assistant to use the open-pr skill to review the current branch, draft the pull request, and open it after your approval.