pr

Create pull requests from the current branch using Git and GitHub CLI.

9|8|Updated Jun 28, 2024
One-click install
npx skills add https://github.com/MetaMask/ocap-kernel --skill pr-metamask
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/MetaMask/ocap-kernel/tree/main/.claude/skills/pr
Command: npx skills add https://github.com/MetaMask/ocap-kernel --skill pr-metamask

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of pull requests from the current working branch, reducing manual steps and ensuring consistency in PR generation.

Core Features & Use Cases

  • Automated PR creation: Generate a PR on the current branch with a concise title and description.
  • Context awareness: Detects the active branch, compares with base/main, and suggests reviewers or labels if available.
  • Use Case: A developer finishes a feature branch; run this skill to open a PR against main with a standardized description.

Quick Start

To create a PR for your current branch, run the PR action in your workflow or command line tool as documented.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I automatically create a pull request from my current Git branch?

To automatically create a pull request from your current Git branch, you can use a PR automation skill that detects the active branch and opens a PR against the main branch with a standardized title and description.

Does PR automation work with stacked branches and hotfix scenarios?

Yes, PR automation works with stacked branches and hotfix scenarios. It validates the branch state and opens pull requests against the main branch, ensuring consistent PR generation across different Git workflows.

Do I need the GitHub CLI installed to automate opening pull requests?

Yes, you need the GitHub CLI (gh) installed to automate opening pull requests. The automation relies on Git, the GitHub CLI, and network access to validate branch states and compose PR details.

What is the best way to ensure consistent descriptions when generating pull requests?

The best way to ensure consistent descriptions when generating pull requests is to use an automated PR creation tool. It generates a concise title and description automatically, reducing manual steps and standardizing PR generation.

Can I automatically suggest reviewers and labels when creating a GitHub pull request?

Yes, you can automatically suggest reviewers and labels when creating a GitHub pull request. The PR automation context awareness detects the active branch, compares it with main, and suggests reviewers or labels if available.