pr

Creates GitHub pull requests with auto-generated titles, summaries, and test plans from branch commits.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/webdevarif/claude-skills --skill pr-webdevarif
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/webdevarif/claude-skills/tree/main/pr
Command: npx skills add https://github.com/webdevarif/claude-skills --skill pr-webdevarif

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing clear, complete pull request descriptions is tedious and often skipped, leaving reviewers without context. This Skill analyzes all branch commits and diffs to generate a well-structured GitHub PR automatically. ## Core Features & Use Cases - Full Branch Analysis: Reads every commit since diverging from the base branch, not just the latest one, to capture the complete scope of changes. - Structured PR Generation: Produces a conventional-commit-style title under 70 characters, a summary, a per-file change list, breaking change notes, and a test plan checklist. - Push and Create: Pushes the branch to origin and creates the PR via the GitHub CLI, returning the PR URL. - Use Case: After finishing a feature branch with five commits touching routes, components, and tests, run this Skill to get a reviewer-ready PR with an accurate summary and verification steps in seconds. ## Quick Start Create a pull request for my current branch with a generated summary and test plan.

Frequently Asked Questions about pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub pull request from the command line?

Use the GitHub CLI with gh pr create, passing a title and body. This Skill automates that by analyzing your branch commits and diff, generating the title, summary, and test plan, then pushing the branch and creating the PR.

How to write a good pull request description automatically?

Analyze all commits since the branch diverged from the base branch, then summarize what changed and why in bullet points. This Skill generates a conventional-format title, per-file change list, breaking change notes, and a test plan checklist.

Does this work if my branch is not pushed to origin yet?

Yes. The Skill checks remote tracking and pushes the branch with git push -u origin before creating the PR. It never force pushes and warns you about uncommitted changes instead of committing them.

What happens if the GitHub CLI is not authenticated?

The Skill detects the authentication failure and instructs you to run gh auth login first. PR creation requires an authenticated gh session with access to the target repository.

How does it determine the base branch for the pull request?

It detects the default branch from the remote using git remote show origin rather than guessing. All commits and diffs are then computed against that detected base branch.