create-pr

Create GitHub Pull Requests with descriptions from commit history.

Updated Jun 9, 2024
One-click install
npx skills add https://github.com/Luna-rab/dotfiles --skill create-pr-luna-rab
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/Luna-rab/dotfiles/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/Luna-rab/dotfiles --skill create-pr-luna-rab

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of creating GitHub Pull Requests, ensuring detailed and informative descriptions based on code changes and user input.

Core Features & Use Cases

  • Automated PR Creation: Generates PRs based on code changes, including a description of the changes and potential impact.
  • User Input for Details: Allows users to input additional details for the PR description, ensuring comprehensive information.
  • Branch Management: Handles branch creation and selection based on the current commit state and user input.

Quick Start

Run the create-pr skill to automatically create a Pull Request for your latest changes in 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 creating a GitHub pull request with a detailed description?โ–ผ

Automating GitHub pull request creation involves analyzing commit history and detecting code changes to generate a detailed PR description, handling branch management and PR template integration automatically.

Can I generate a pull request description automatically based on my commit history?โ–ผ

Yes, you can generate a pull request description automatically based on commit history, detecting code changes and potential impact while allowing additional user input for comprehensive PR details.

Do I need the gh CLI installed to automate pull request creation?โ–ผ

Yes, you need the gh CLI installed and access to the GitHub repository to automate pull request creation, handle branch management, and integrate with GitHub's PR template system.

How does branch management work when automating a pull request?โ–ผ

Branch management during pull request automation handles branch creation and selection based on the current commit state and user input, ensuring the PR targets the correct branch.

What is the best way to ensure my pull request description includes code review impact?โ–ผ

The best way to ensure a pull request description includes code review impact is to automate PR generation by analyzing commit history, detecting changes, and integrating user input for comprehensive details.

Why does my automated pull request creation fail to detect recent code changes?โ–ผ

Automated pull request creation might fail to detect recent code changes if the current commit state is not properly analyzed or if there are issues with branch management and repository access via the gh CLI.