create-pr

Create GitHub pull requests from the current branch using recent commits.

1|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/ruchernchong/claude-kit --skill create-pr-ruchernchong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/ruchernchong/claude-kit/tree/main/skills/create-pr
Command: npx skills add https://github.com/ruchernchong/claude-kit --skill create-pr-ruchernchong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates turning local branch work into a GitHub pull request, reducing manual PR creation time and ensuring consistent metadata.

Core Features & Use Cases

  • Automatic PR creation: Analyzes recent commits on the current branch to generate a concise PR title and description, then creates the PR on GitHub and assigns it to the current user.
  • Self-assignment & optional collaborators: Automatically assigns to you and supports adding others via the --assignee flag.
  • Branch management: Checks status, pushes the branch if needed, and ensures the PR reflects the latest changes.
  • Use Case: After finishing a feature on a topic branch, run this Skill to open a PR quickly for review.

Quick Start

Check your status, push your branch if needed, and create the PR with self-assignment:

  • git status
  • git push -u origin $(git rev-parse --abbrev-ref HEAD)
  • gh pr create --fill --assignee @me

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automatically create a GitHub pull request from local commits?

Automatically create a GitHub pull request by analyzing recent commits on the current branch to generate a concise title and description. The Skill pushes your branch and uses gh pr create to open the PR with proper metadata.

What's the best way to auto-generate PR titles and descriptions from git commits?

Auto-generate PR titles and descriptions by parsing your branch's recent git commit history. The Skill analyzes these commits to synthesize a concise summary, then applies the content directly using the gh pr create --fill command.

Do I need the GitHub CLI installed to automate pull request creation from a branch?

Yes, you need the GitHub CLI installed to automate pull request creation. The Skill requires both Git and the gh command-line tool to push branches, analyze commits, and execute gh pr create for setting assignees.

Can I assign collaborators automatically when creating a GitHub pull request?

Yes, you can assign collaborators automatically when creating a GitHub pull request. The Skill self-assigns the PR to the current user by default and supports adding other teammates via the --assignee flag.

How does branch pushing work when automating GitHub PR creation?

Branch pushing works by checking your git status and pushing the current branch to origin if needed before creating the PR. This ensures the remote GitHub pull request accurately reflects your latest local changes.

Why use an automated PR creation workflow instead of manual GitHub pull requests?

Use an automated PR creation workflow to reduce manual pull request creation time and ensure consistent metadata across feature branches. It standardizes titles, descriptions, and assignees directly from your commit history.