pr

Create a pull request from the current branch to the remote main branch.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Open a pull request from your current branch without leaving the terminal, streamlining collaboration and code review.

Core Features & Use Cases

  • Automatic PR creation from the current branch to the target remote branch
  • Generates a descriptive PR title and body from commits and changes
  • Checks for existing PRs and pushes the branch if necessary to enable PR creation
  • Useful in feature-branch workflows and fast-tracking code reviews

Quick Start

Create a PR from the current branch to the remote main branch.

Frequently Asked Questions about pr

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

FAQPage Schema
How do I open a pull request from the current branch automatically?

To open a pull request automatically, this skill generates a consistent title and body from your changes, pushes the current branch to the remote if needed, and executes gh pr commands to create the PR directly from your terminal.

How to create a PR from the command line without manual title writing?

Creating a PR from the command line is handled by generating a descriptive title and body from your local commits and branch changes, then using the GitHub CLI to push the feature branch and open the pull request to the remote main branch.

Does this PR automation tool push my branch to the remote before opening the request?

Yes, the PR automation tool checks for existing remote branches and pushes your current branch to the remote repository if necessary, ensuring the feature branch exists before it attempts to open the pull request.

What is the best way to automate pull request creation for a feature branch workflow?

The best way to automate pull request creation in a feature branch workflow is using a script that generates the PR title and body from commits, pushes the local branch, and uses the GitHub CLI to create the pull request to the main branch.

Can I use GitHub CLI to open a PR from my current branch to the main branch?

Yes, you can use the GitHub CLI to open a PR by running gh pr commands from your current feature branch, which will automatically generate the pull request title and body and target the remote main branch for code review.