Create PR — Git skill for Claude Code
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code template.
How to install Create PR
Installs to ~/.claude/skills/johnlarkin1-claude-code-extensions-create-pr/SKILL.md
mkdir -p ~/.claude/skills/johnlarkin1-claude-code-extensions-create-pr && curl -fsSL https://raw.githubusercontent.com/johnlarkin1/claude-code-extensions/HEAD/commands/create-pr.md -o ~/.claude/skills/johnlarkin1-claude-code-extensions-create-pr/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Create PR does
description: Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code template allowed-tools: ["Bash", "Read", "Write"]
Create PR from Branch Changes
Step 1: Gather Context
!git fetch origin main 2>/dev/null || git fetch origin master 2>/dev/null
!git branch --show-current
Step 2: Review All Changes (Excluding Lock Files)
Committed changes vs origin: !git diff origin/main...HEAD -- . ':!uv.lock' ':!poetry.lock' ':!Cargo.
Alternatives in Git
- Gen Commit Msg — Generate intelligent commit messages based on staged changes 5.7k ★
- Commit Msg — 生成 Git Commit Message 1k ★
- CodeReview — Review local code changes against base branch 512 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Generate PR
Review branch changes (including staged/uncommitted), generate commit message, and create PR using Claude Code
Draft Commit Message
Analyze the staged and unstaged changes, then output a single conventional commit message line.
Commit Message Generator
Generate descriptive commit messages by analyzing staged changes
Commit Message
Generate a conventional commit message from staged changes
Gen Commit Message
Use when user has staged changes and asks for a commit message, says "what should the commit message be", or t
Msg
Suggest a commit message for the current staged changes. Do not commit. Do not stage. Do not run any git write
Related Agents
Change Analyzer
Read uncommitted or branch changes and return atomic commit groups with subjects, a Conventional Branch name,
Commit Writer
Drafts a Conventional Commits message for the currently staged changes and creates the commit. Reads the modif
Close Commit Composer
Compose a session-close git commit message from a staged-changes summary passed by the /close orchestrator. Re