create-pr

Create GitHub pull requests using gh CLI and Git.

114|29|Updated Nov 23, 2019
One-click install
npx skills add https://github.com/helderberto/dotfiles --skill create-pr-helderberto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/helderberto/dotfiles/tree/main/claude/.claude/skills/create-pr
Command: npx skills add https://github.com/helderberto/dotfiles --skill create-pr-helderberto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of GitHub pull requests, reducing manual steps and speeding up collaboration workflows.

Core Features & Use Cases

  • PR generation with templates: Use existing PR templates to standardize titles and bodies.
  • Branch promotion and PR publishing: Create a PR from a feature/bugfix branch to the target base branch, with automated message drafting based on commits.
  • Use Case: When contributing a multi-commit feature, quickly open a PR and summarize changes while ensuring consistent formatting.

Quick Start

From your feature branch, invoke the skill to create a PR against the main branch. If a PR template exists, it will be used to populate the title and body. Example: gh pr create --base main --head feature-branch --fill

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I create a GitHub pull request from a feature branch?

To create a GitHub pull request from a feature branch, the skill uses Git and the gh CLI to push your changes and open a PR against a target base branch like main. It automates branch promotion and PR publishing for standard development workflows.

Can I use an existing PR template when creating a pull request?

Yes, you can use an existing PR template when creating a pull request. The skill optionally applies existing PR templates to standardize titles and body descriptions, ensuring consistent formatting across collaborative code reviews.

How do I summarize multi-commit changes into a single pull request?

To summarize multi-commit changes into a pull request, the skill drafts automated PR messages based on your commit history. This allows you to quickly open a PR from a feature or bugfix branch while ensuring the description captures all changes.

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

Yes, the gh CLI is required to automate pull request creation. The skill uses the gh CLI and Git to create branches, push changes, and open PRs, leveraging the gh pr create command with options like --fill to populate the PR.

What's the best way to standardize pull request titles and descriptions across a team?

Standardizing pull request titles and descriptions is handled by applying existing PR templates during automated creation. This ensures all team members follow consistent formatting for code reviews across forks and collaborative workflows.

Does this pull request automation work with forks and collaborative team workflows?

Yes, this pull request automation works with forks and collaborative team workflows. It covers typical software development scenarios including feature branches, bug fixes, and collaborative reviews across both forks and internal teams.