pr

Create GitHub pull requests for the current branch to a target base.

Updated May 11, 2026
One-click install
npx skills add https://github.com/zmh13928433602-sys/lobe-chat --skill pr-zmh13928433602-sys
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/zmh13928433602-sys/lobe-chat/tree/main/.agents/skills/pr
Command: npx skills add https://github.com/zmh13928433602-sys/lobe-chat --skill pr-zmh13928433602-sys

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines code collaboration by enabling one-click creation of pull requests for the current branch, removing manual PR setup steps.

Core Features & Use Cases

  • Automatic PR creation: Generate a pull request from the current branch to the target base (e.g., canary or main) with minimal input.
  • Branch-to-PR mapping & checks: Ensure correct base branch, open PR status, and basic validation before submission.
  • Use Case: When finishing a feature or fix on a feature branch, you can quickly open a PR to initiate review and integration.

Quick Start

Ask the assistant 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 create a GitHub pull request for my current branch automatically?

To create a GitHub pull request for your current branch, this Skill uses git and GitHub CLI to identify the active branch and generate a PR to a base branch like main or canary with prefilled metadata. It validates the open PR status before submission.

What is the best way to streamline pull request creation for feature branches?

The best way to streamline pull request creation is mapping your feature or fix branch to a base branch with automatic validation. This Skill performs branch-to-PR mapping and basic validation to remove manual PR setup steps for developers.

Do I need GitHub CLI installed to automate pull request generation?

Yes, you need GitHub CLI installed to automate pull request generation. The Skill relies on git, GitHub CLI, and repository permissions to identify the active branch, create or locate a PR, and prefill the PR metadata.

Can I specify a custom base branch like canary when opening a PR?

Yes, you can specify a custom base branch like canary when opening a PR. The Skill coordinates with base branches such as main or canary to ensure your feature or fix branch targets the correct integration path.

Why does my pull request automation require repository permissions?

Pull request automation requires repository permissions because the Skill uses GitHub CLI to create or locate a PR within the repository. Proper permissions ensure it can identify the active branch and prefill PR metadata successfully.