pr

Create GitHub pull requests for the current branch using the gh CLI.

3.5k|1.4k|Updated Nov 10, 2017
One-click install
npx skills add https://github.com/brave/brave-core --skill pr-brave
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/brave/brave-core/tree/main/.claude/skills/pr
Command: npx skills add https://github.com/brave/brave-core --skill pr-brave

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of creating GitHub pull requests, automating the steps involved in pushing branches and generating PRs with relevant details.

Core Features & Use Cases

  • Automated Branch Pushing: Pushes the current branch to the remote repository.
  • PR Generation: Creates a pull request using the gh CLI tool.
  • Contextual Information: Displays current branch, commits, and changed files for review.
  • Use Case: After completing a feature on a new branch, use this Skill to quickly push your changes and open a pull request for review.

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 create a GitHub pull request from the command line?

To create a GitHub pull request, you can use a development workflow automation that pushes your current branch and generates a PR with a title and body. This streamlines the process by automating the branch push and PR creation steps.

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

Yes, automating pull request generation requires the GitHub CLI (`gh`) to be installed and configured. It also requires Git to be installed to handle pushing branches to the remote repository.

What's the best way to push a branch and open a pull request for review?

The best way to push a branch and open a pull request is using an automated workflow that pushes your changes and generates the PR. This simplifies the code review process by handling the branch push and PR creation in one step.

Can I view current commits and changed files before creating a pull request?

Yes, before creating a pull request, the workflow displays contextual information. This includes showing your current branch, commits, and changed files to ensure you have the relevant details for review.

Why should I automate my development workflow for pull requests?

You should automate your development workflow for pull requests to streamline the process of pushing branches and generating PRs. This eliminates manual steps and accelerates the code review cycle.

Does this pull request automation work with my existing Git branches?

Yes, this pull request automation works with your existing Git branches. It automates the creation of GitHub pull requests specifically for the current branch you are working on.