pr

Creates a pull request from the current branch to main using GitHub CLI.

2|Updated Jul 5, 2018
One-click install
npx skills add https://github.com/tnez/dotfiles --skill pr-tnez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr
Source: https://github.com/tnez/dotfiles/tree/main/claude/dot-claude/skills/pr
Command: npx skills add https://github.com/tnez/dotfiles --skill pr-tnez

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a pull request from the current branch against the main branch to streamline code reviews and merging.

Core Features & Use Cases

  • Open a PR from your feature branch to main with a concise title and body.
  • Automate the initial review workflow by guiding through a minimal PR setup.
  • Suitable for feature work, bugfix branches, or any changes requiring code review before merging to main.

Quick Start

Push the current branch and run gh pr create --base main to open the PR with a concise summary and body.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I create a pull request from a feature branch to main using GitHub CLI?

Create a pull request by pushing your current branch and running `gh pr create --base main` to open the PR with a concise title and body.

What is the best way to automate opening a PR for code review?

Automate PR creation by running `gh pr create --base main` to generate a concise title and body, streamlining the initial code review workflow.

Do I need the GitHub CLI installed to open a pull request from my branch?

Yes, you need the GitHub CLI installed to execute `gh pr create --base main` and draft the title and body for your pull request.

Can I use this pull request automation for bugfix branches targeting main?

Yes, this PR creation workflow is suitable for feature work, bugfix branches, or any changes requiring code review before merging to main.

Does this automatically generate the title and body for my GitHub pull request?

Yes, it drafts a concise title and body for your pull request when you run `gh pr create --base main` from your current feature branch.