create-pr

Generate GitHub pull requests from branch diffs and commit messages.

71|2|Updated Oct 26, 2019
One-click install
npx skills add https://github.com/TrainLCD/MobileApp --skill create-pr-trainlcd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/TrainLCD/MobileApp/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/TrainLCD/MobileApp --skill create-pr-trainlcd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the manual overhead and inconsistency of creating pull requests by automating the adherence to the repository's specific PR template, assignee requirements, and automated change classification.

Core Features & Use Cases

  • Automated PR Assembly: Automatically populates the PR body based on the repository's template, including issue linking and test status.
  • Intelligent Classification: Analyzes commit history and file diffs to automatically check the correct change categories (e.g., bug fix, feature, documentation).
  • Use Case: When you finish a feature branch, use this skill to instantly generate a perfectly formatted PR that assigns the correct reviewer and categorizes your changes without manual typing.

Quick Start

Use the create-pr skill to open a new pull request for the current branch with the title feature implementation and link it to issue 123.

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 branch diffs?

To automate GitHub pull request creation, this skill parses branch diffs and commit messages to populate standardized PR templates. It automatically generates the PR body, links issues, and assigns reviewers without manual typing.

How does automated PR classification work for commit history and file diffs?

Automated PR classification works by analyzing your commit history and file diffs to check the correct change categories. It automatically identifies whether your changes are a bug fix, feature, or documentation update.

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

You need the GitHub CLI (gh) installed to automate pull request submission. The skill requires gh for authenticated interaction with the repository's pull request API to open and manage your PRs.

Can I automatically link a GitHub issue when generating a pull request?

You can automatically link a GitHub issue when generating a pull request. The skill populates the PR body based on the repository template, automatically inserting the issue link to ensure proper tracking and metadata management.

What is the best way to ensure consistent PR metadata management across a development workflow?

The best way to ensure consistent PR metadata management is to automate template population and assignee assignment. This skill eliminates manual overhead by standardizing PR creation, issue linking, and change type classification across your development workflow.