github-create-pr

Create and update GitHub pull requests using the gh CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of creating and updating GitHub pull requests, ensuring branches are ready and PRs are clear and concise.

Core Features & Use Cases

  • Branch Readiness Checks: Verifies branch status, working tree, and base branch before PR creation.
  • Commit & Diff Analysis: Analyzes commits and diffs to understand changes.
  • Automated PR Writing: Drafts clear PR titles and bodies based on repository conventions.
  • PR Creation/Update: Uses gh CLI to create or update pull requests.
  • Reviewer Assignment: Adds reviewers based on inferred ownership or explicit requests.
  • Use Case: When you've finished a feature on a new branch, use this Skill to automatically prepare a PR, write a descriptive title and body, and submit it for review.

Quick Start

Use the github-create-pr skill to prepare the current branch for review and create a new pull request.

Frequently Asked Questions about github-create-pr

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

FAQPage Schema
How do I automate creating a GitHub pull request from the command line?

Automate GitHub pull request creation by verifying branch readiness, analyzing commit history and diffs, and utilizing the `gh` CLI to submit concise titles, bodies, and reviewer assignments.

How does commit and diff analysis work when drafting a PR?

Commit and diff analysis works by evaluating your branch's changes against the base branch to automatically draft clear PR titles and bodies that follow repository-specific conventions.

Do I need the `gh` CLI to create and update pull requests?

Yes, you need the `gh` CLI installed, as the Skill utilizes it to execute PR creation, updates, and reviewer assignment based on inferred ownership or explicit requests.

What's the best way to ensure my branch is ready for a PR?

The best way to ensure branch readiness is to verify branch status, check the working tree, and validate the base branch before PR creation to guarantee a clear, reviewable workflow.

Does this PR workflow support adding reviewers automatically?

Yes, the PR workflow supports adding reviewers automatically by inferring ownership from the repository or applying explicit requests during the `gh` CLI submission process.

How do I update an existing GitHub pull request with new commits?

Update an existing GitHub pull request by analyzing the latest commit history and diffs, then utilizing the `gh` CLI to refresh the PR body and title following repository conventions.