openpr

Generate a PR title and description, then open the PR on GitHub.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually drafting PR descriptions and opening pull requests can be time-consuming and error-prone; this skill automatically generates a clear PR description and opens the PR on GitHub.

Core Features & Use Cases

  • PR Title Generation: Creates a concise, actionable title based on commits and changes.
  • PR Description: Produces a structured description summarizing changes, rationale, and test notes.
  • One-Click PR Creation: Opens the PR via gh pr create, integrating with the repository's base branch.
  • Use Case: When you push a feature branch and need a ready-to-submit PR with a strong summary.

Quick Start

Tell the AI to open a PR for the current branch by saying '/openpr' and I will generate a title and description and open the PR.

Frequently Asked Questions about openpr

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

FAQPage Schema
How do I automatically generate a pull request description from git commits?

Automatically generate a pull request description by analyzing git commits on your current branch relative to the base branch. This Skill computes the diff and formats a structured summary with rationale and test notes.

How do I open a GitHub PR from the command line?

Open a GitHub PR by triggering the command '/openpr'. The Skill uses the GitHub CLI to create the pull request, automatically setting a concise title and a structured body based on your branch changes.

Does this PR automation tool require the GitHub CLI to create pull requests?

Yes, this PR automation tool relies on the GitHub CLI to execute 'gh pr create' and open the pull request. It also depends on git to detect the current branch, base branch, and compute diffs.

What is the best way to automate PR creation across CI and code reviews?

Automate PR creation across CI and code reviews by using this Skill to compute diffs and propose a structured rationale. It generates a ready-to-submit summary and opens the PR directly via the GitHub CLI.

Can I generate a structured PR title and body without manual formatting?

Generate a structured PR title and body without manual formatting by analyzing your branch commits. The Skill creates an actionable title and a description summarizing changes, rationale, and test notes.

When should I not use automated PR description generation?

Avoid using automated PR description generation when your branch has no commits relative to the base branch or when the GitHub CLI is not configured, as the Skill relies on git diffs and 'gh pr create' to function.