create-pr

Create GitHub Pull Requests from current branch changes using Git and GitHub CLI.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/canpok1/claude-code-plugins --skill create-pr-canpok1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/canpok1/claude-code-plugins/tree/main/plugins/base-tools/skills/create-pr
Command: npx skills add https://github.com/canpok1/claude-code-plugins --skill create-pr-canpok1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of creating GitHub Pull Requests by understanding your branch's changes and generating appropriate titles and bodies.

Core Features & Use Cases

  • Automated PR Creation: Generates PR titles and bodies based on commit messages and a template.
  • Branch Validation: Prevents PR creation from the main branch.
  • Use Case: After completing a set of code changes on a feature branch, you can use this Skill to quickly create a well-formatted Pull Request without manually summarizing your work.

Quick Start

Use the create-pr skill to generate a pull request for your current branch.

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 my current branch?

To automatically create a GitHub pull request, this Skill identifies changes on your current working branch and generates a formatted title and body. It pushes your changes using Git and GitHub CLI to finalize the PR creation process.

How does automated pull request generation work with commit messages?

Automated pull request generation works by analyzing your branch's commit messages to construct the PR title and body. This mechanism ensures your code review requests are accurately summarized without requiring manual text entry.

Can I create a pull request directly from the main branch?

You cannot create a pull request directly from the main branch. The Skill includes branch validation to prevent PR creation from main, ensuring you commit changes to a dedicated feature branch before submission.

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

You need the GitHub CLI installed to automate pull request creation. The Skill relies on both Git and GitHub CLI to push local branch changes to the remote repository and execute the final PR creation command.

What is the best way to generate a well-formatted PR body for code review?

The best way to generate a well-formatted PR body for code review is to use an automated tool that reads your branch commits and applies a standard template. This ensures consistent documentation of changes across all your pull requests.