pr

Create GitHub pull requests from the current branch with generated titles and bodies.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/charleshall888/cortex-command --skill pr-charleshall888
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/charleshall888/cortex-command/tree/main/plugins/cortex-core/skills/pr
Command: npx skills add https://github.com/charleshall888/cortex-command --skill pr-charleshall888

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating GitHub pull requests from the current branch with clear titles and well-structured bodies, reducing manual drafting.

Core Features & Use Cases

  • Generate PR titles and bodies from contextual branch information and commit messages.
  • Detect the base branch, validate there are commits ahead of base, apply available PR templates, and push the branch as needed before PR creation.
  • Use case: finishing a feature and opening a ready-for-review PR with consistent formatting and required sections.

Quick Start

In Claude Code, invoke the cortex command to create a PR from the current branch.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I automate creating a GitHub pull request from my current branch?

You can automate GitHub pull request creation by generating structured titles and bodies from branch context and commit messages, detecting the base branch, validating commits, and pushing the branch before opening the PR.

What's the best way to apply GitHub PR templates automatically when opening a pull request?

Applying GitHub PR templates automatically requires detecting available templates in the repository and incorporating them into the PR body during creation. This Skill detects and applies PR templates if present when generating the pull request.

Do I need GitHub CLI installed to automate pull request creation from the command line?

Yes, GitHub CLI (gh) must be installed and authenticated to automate pull request creation from the command line. The repository must also be on a feature branch with commits ahead of the base branch.

Can I generate PR titles and bodies from commit messages automatically?

Generating PR titles and bodies from commit messages automatically uses contextual branch information alongside commit history to draft clear descriptions. This Skill extracts that context to create well-structured pull request content without manual drafting.

Why does my automated pull request workflow fail when there are no commits ahead of the base branch?

Automated pull request workflows fail without commits ahead of the base branch because the Skill validates that commits are ready to push before PR creation. You must have actual changes on your feature branch ahead of the base for the process to complete.