create-pr

Create GitHub pull requests with gh CLI using Git logs and diffs.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/hiraaaken/cha-chat --skill create-pr-hiraaaken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/hiraaaken/cha-chat/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/hiraaaken/cha-chat --skill create-pr-hiraaaken

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of GitHub Pull Requests, streamlining the code review process and ensuring consistent PR formatting.

Core Features & Use Cases

  • Automated PR Creation: Generates pull requests with titles and bodies based on Git context.
  • Issue Linking: Automatically extracts issue numbers from branch names.
  • Draft PR Support: Can create pull requests in draft mode.
  • Use Case: After completing a feature branch, use this Skill to quickly create a well-formatted pull request, linking it to the relevant issue and including all necessary details for review.

Quick Start

Use the create pr skill to make a pull request for the 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 automate GitHub pull request creation from the command line?

You can automate GitHub pull request creation using Bash scripts and the gh CLI tool. This Skill gathers context from Git logs and diffs to automatically generate the PR title and body.

How do I link a GitHub pull request to an issue automatically?

To link a GitHub pull request to an issue, this Skill automatically extracts the issue number from your branch name and populates the PR body with the relevant issue link.

Can I create a draft pull request using the gh CLI tool?

Yes, you can create a draft pull request using the gh CLI tool. This Skill supports an optional draft mode to generate pull requests that are ready for early review.

How do I generate a pull request description from a Git diff?

You can generate a pull request description from a Git diff using templated Markdown. This Skill analyzes your Git logs and diffs to populate the PR body with necessary review details.

Do I need the gh CLI tool to create pull requests with Bash scripting?

Yes, the gh CLI tool is required. This Skill relies on gh CLI commands to execute Git operations and automate the pull request creation process.

What is the best way to ensure consistent pull request formatting?

The best way to ensure consistent pull request formatting is to automate creation with templated Markdown. This Skill generates PR titles and bodies based on Git context for uniform code reviews.