pr

Create or update GitHub pull requests with project convention enforcement.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/metalspawn/claude-ops --skill pr-metalspawn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/metalspawn/claude-ops/tree/main/skills/pr
Command: npx skills add https://github.com/metalspawn/claude-ops --skill pr-metalspawn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation and updating of pull requests, ensuring adherence to project conventions and streamlining the code review process.

Core Features & Use Cases

  • Automated PR Creation: Generates pull requests based on branch names and commit messages.
  • Convention Enforcement: Detects and applies project-specific PR title and body conventions.
  • Use Case: After completing a feature, use this Skill to automatically create a well-formatted pull request ready for review, following your team's established guidelines.

Quick Start

Use the pr skill to create a pull request for 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 pull request creation on GitHub?

Automated pull request creation on GitHub uses branch names and commit messages to generate well-formatted PRs. It detects existing PRs, applies project conventions for titles and bodies, and supports direct invocation for streamlined code review.

Does this enforce project conventions for pull request titles and bodies?

Yes, it enforces project conventions for pull request titles and bodies. It detects and applies project-specific PR title and body conventions, checking for template files and falling back to default formats when templates are unavailable.

Can I update an existing pull request instead of creating a duplicate?

Updating an existing pull request instead of creating a duplicate is supported through built-in detection of existing PRs. The system checks for active pull requests on your current branch and updates them rather than opening new ones.

Does this work with protected branches on GitHub?

Yes, it works with protected branches on GitHub. The system includes protected branch checks to ensure that pull requests are created and updated in compliance with your repository's branch protection rules and code review requirements.

What happens when no pull request template file exists in the repository?

When no pull request template file exists in the repository, the system implements a fallback to default formats. It generates the PR body using available branch names and commit messages to ensure the pull request is still properly formatted.

What's the best way to integrate pull request automation into a DevOps workflow?

The best way to integrate pull request automation into a DevOps workflow is through direct invocation after completing a feature. This automatically generates a convention-compliant pull request ready for review, streamlining the code review process without manual formatting.