create-pr

Create a pull request for the current Git branch with labels and assignments.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/fairy-pitta/claude-dotfiles --skill create-pr-fairy-pitta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/fairy-pitta/claude-dotfiles/tree/main/skills/create-pr
Command: npx skills add https://github.com/fairy-pitta/claude-dotfiles --skill create-pr-fairy-pitta

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of pull requests, including assigning reviewers, applying relevant labels, and linking to external tools, significantly speeding up the code review process.

Core Features & Use Cases

  • Automated PR Creation: Generates pull requests from the current branch.
  • Smart Labeling: Automatically applies labels based on branch names, file changes, or explicit user arguments.
  • Post-Creation Enhancements: Integrates with other skills like /link-notion and /capture-ui for enhanced PR context.
  • Use Case: After pushing your feature branch, simply invoke this skill to create a PR, have it automatically labeled as 'feature' and 'frontend', assigned to you, and then linked to your Notion project board.

Quick Start

Use the create-pr skill to make a pull request for the current branch, assigning it to me and adding the 'bugfix' label.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate pull request creation and assign reviewers using GitHub CLI?

Automating pull request creation with GitHub CLI is achieved by using this Skill to generate a PR from your current Git branch, automatically assign the user, and apply relevant labels based on branch prefixes or file paths.

How does smart labeling work for pull requests based on branch names?

Smart labeling for pull requests works by matching branch prefixes and modified file paths against available repository labels, automatically applying tags like 'feature' or 'frontend' to the newly created PR without manual input.

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

Yes, you need the gh CLI installed and authenticated, as this Skill relies on it to check Git status, verify PR templates, read available repository labels, and execute the underlying pull request creation workflow.

What's the best way to link a new pull request to a Notion project board?

The best way to link a new pull request to a Notion project board is by triggering the built-in follow-up action, which automatically connects the newly created PR to your external project management context.

Can I explicitly add a bugfix label when creating a pull request from the command line?

Yes, you can explicitly add labels like 'bugfix' when creating a pull request by passing them as arguments, which overrides or supplements the automatic label detection based on branch names and file paths.