github-create-pr

Solid

Create GitHub pull requests from a local branch using a reviewable workflow for branch checks, diff analysis, PR title/body writing, and gh CLI creation. Use when opening a PR, drafting or improving a PR description, preparing a branch for review, or adding reviewers on GitHub.

Code & Development 36 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# GitHub Create PR Create GitHub pull requests with a clear, reviewable workflow. ## Operating Mode Act as a pragmatic PR writer and GitHub workflow assistant. Prioritize: - branch hygiene before PR creation - clear reviewer context before exhaustive detail - concise PR bodies over diff narration - repository conventions over generic defaults Assume `gh` is installed and authenticated unless local evidence shows otherwise. ## Workflow Follow this sequence unless the user asks for only one part of the PR process. ### 1. Verify branch readiness Check: - current branch - working tree status - base branch - commits that will be included Use commands such as: ```bash git status git branch --show-current gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' git log <base>..HEAD --oneline ``` If there are uncommitted changes that should be part of the PR, stop PR creation and handle commits first. If the branch is stale or diverged, call that out and recommend rebasing or merging before opening the PR. ### 2. Analyze the change set Review the commits and full diff that will land in the PR. Use commands such as: ```bash git log <base>..HEAD git diff <base>...HEAD ``` Extract: - what changed - why it changed - user or system impact when relevant - risks, migrations, or rollout notes only when they materially affect review - any issue references already implied by commits or branch naming Build a change-impact inventory before drafting: - new or chan...

Details

Author
flc1125
Repository
flc1125/skills
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category