create-pr

Create GitHub pull requests for a branch using the gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of creating Pull Requests on GitHub, eliminating the manual steps and reducing the time and effort required to initiate a new PR.

Core Features & Use Cases

  • Automated PR Creation: Generates and submits a Pull Request based on committed changes in a Git repository.
  • Conditional Commit Handling: Handles uncommitted changes by suggesting or automating the commit process before creating the PR.
  • Branch Management: Ensures the correct branch is used for PR creation, including branch creation if necessary.
  • Pull Request Details: Provides a guide for crafting PR titles and descriptions, optimizing them for clarity and informative content.
  • Use Case: Ideal for developers who need to frequently create PRs for code reviews and feature integration.

Quick Start

Use the create-pr skill to create a PR for your current branch with the title 'Update API documentation' and the body provided below.

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?

Automate GitHub pull request creation using the `gh` CLI to interact with the API, which handles branch management and generates a PR from your committed changes. This eliminates manual steps and streamlines code review initiation.

Can I create a GitHub pull request with uncommitted changes?

Yes, you can create a GitHub pull request with uncommitted changes. The process handles them by suggesting or automating the commit step before submitting the PR, ensuring all local modifications are included in the review request.

Do I need the gh CLI installed to automate GitHub PR creation?

Yes, you need the `gh` CLI installed to automate GitHub PR creation. It is required for authentication and API interaction with GitHub, enabling the automated submission of your branch commits as a pull request.

What is the best way to manage Git branches when creating a pull request?

The best way to manage Git branches for pull requests is to ensure the correct branch is used for creation. This automation includes branch creation if necessary, verifying the target before submitting the PR to GitHub for code review.

How to write a clear PR title and description for GitHub code reviews?

Write a clear PR title and description for GitHub code reviews by following provided guidelines that optimize content for clarity. This ensures informative communication of feature integration details during the automated pull request creation process.