github-pr

Automates GitHub Pull Request creation and updates using commit logs and the GitHub API.

2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/hg-pyun/claude-code-marketplace --skill github-pr-hg-pyun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-pr
Source: https://github.com/hg-pyun/claude-code-marketplace/tree/main/plugins/dev-tools/skills/github-pr
Command: npx skills add https://github.com/hg-pyun/claude-code-marketplace --skill github-pr-hg-pyun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, GitHub API, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Manually creating and managing GitHub Pull Requests can be time-consuming and error-prone. This skill automates the process, ensuring your PRs are created with accurate titles, descriptions, and links to issues.

Core Features & Use Cases

  • Auto-create/Update PRs: Generate PR titles and descriptions based on branch commit history and link related issues.
  • Detects Base Branch: Automatically identifies the base branch, or provides fallbacks, to handle PR creation for stacked branches.
  • Supports Drafts: Optionally create a PR draft if specified, for further refinement.

Quick Start

Use the '/github-pr' command or prompt with the words 'create a PR', 'open a pull request', or 'push this for review' to generate and open a PR.

Frequently Asked Questions about github-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 branch commits?

You can automatically create a GitHub pull request by analyzing Git branch commits to generate PR titles and descriptions. The tool uses commit logs to populate PR details and links related issues via the GitHub API.

Can I open a draft pull request for further refinement before review?

Yes, you can open a draft pull request for further refinement. The tool supports optionally creating PR drafts when specified, allowing you to prepare branch commits before marking them ready for review.

How does pull request management detect the correct base branch for stacked branches?

Pull request management detects the base branch automatically by analyzing Git branch commits. It identifies the appropriate base branch or provides fallbacks to handle PR creation specifically for stacked branches.

Do I need Git and GitHub API access to automate pull request creation?

Yes, you need Git and GitHub API access to automate pull request creation. The tool requires both dependencies to analyze branch commits, generate PR titles and descriptions, and execute PR creation and updates.

What is the best way to generate PR descriptions from commit logs?

The best way to generate PR descriptions from commit logs is to use automated PR creation tools. This tool analyzes your Git branch commit history to automatically populate accurate PR titles and descriptions.

Can I update an existing GitHub pull request using commit analysis?

Yes, you can update an existing GitHub pull request using commit analysis. The tool uses the GitHub API to manage PR creation and updates, ensuring PR titles and descriptions reflect the latest branch commits.