create-pr

Create GitHub pull requests with formatted titles and templates.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/mguinada/agent-skills --skill create-pr-mguinada
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/mguinada/agent-skills/tree/main/skills/create-pr
Command: npx skills add https://github.com/mguinada/agent-skills --skill create-pr-mguinada

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of GitHub pull requests with properly formatted titles, ensuring consistency and faster code reviews.

Core Features & Use Cases

  • Analyze local commits on the current branch to derive an appropriate PR title.
  • Push the branch to origin and create the PR using GitHub CLI, honoring PR templates if present.
  • Enforce title formatting rules: imperative mood, capitalized, no trailing period, and no ticket IDs.

Quick Start

Use the create-pr skill to automatically generate a properly formatted PR title from your current branch, push the branch to origin, and create the PR using gh CLI (respecting available PR templates).

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 with a properly formatted title?

Creating a GitHub pull request with a properly formatted title is automated by analyzing your local commits to derive a title, pushing the branch to origin, and opening the PR via the GitHub CLI. It enforces title rules like imperative mood and capitalization.

What formatting rules should a PR title follow for consistent code reviews?

PR title formatting rules for consistent code reviews require imperative mood, capitalization, no trailing periods, and no ticket IDs. Automating this derivation from local commits ensures titles remain clean and standardized across developer workflows.

How do I automatically generate a PR title from my git commits?

To automatically generate a PR title from your git commits, the skill analyzes the local commit history on your current feature branch. It derives an appropriate title that adheres to formatting rules and uses it when creating the pull request.

Can I use PR templates when creating pull requests with the GitHub CLI?

Yes, you can use PR templates when creating pull requests with the GitHub CLI. The automation honors available PR templates if present in the repository, applying them seamlessly while pushing the branch and opening the pull request.

Does the create-pr skill work without including ticket IDs in the title?

Yes, the create-pr skill works specifically by excluding ticket IDs from the title. It enforces formatting rules that require an imperative mood, capitalized first letter, and no trailing periods or ticket numbers to maintain clean PR histories.

What is the best way to automate pushing a git branch and opening a PR?

The best way to automate pushing a git branch and opening a PR is using a workflow that analyzes local commits, pushes the branch to origin, and executes the GitHub CLI. This ensures proper title formatting and template integration in one step.