open-pr

Create GitHub pull requests from local commits using gh or the GitHub API.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates turning local commits and branches into GitHub pull requests, reducing manual steps and ensuring consistency in code reviews.

Core Features & Use Cases

  • Automatic PR creation: Generate a pull request from the current branch to the target repository's default branch.
  • Branch management & messaging: Generate conventional-commit style titles/messages and handle branch naming when needed.
  • Workflow integration: Works with GitHub CLI or API to open or update PRs as changes evolve.

Quick Start

Use the open-pr skill to create a PR from your current Git branch to the configured GitHub repository.

Frequently Asked Questions about open-pr

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

FAQPage Schema
How do I automatically create a GitHub pull request from local commits?

You can automatically create a GitHub pull request from local commits by using a workflow automation skill that detects your current branch, generates a conventional-commit style title, pushes to the remote, and opens the PR via the GitHub CLI or API.

What is the best way to automate pushing local Git branches to GitHub PRs?

Automating pushing local Git branches to GitHub PRs is best handled by a tool that detects your current branch, composes a conventional-commit style PR title and message, pushes to the remote, and opens the PR via gh pr create or the GitHub API.

Can I generate conventional-commit style PR titles automatically when opening a pull request?

Yes, you can generate conventional-commit style PR titles automatically when opening a pull request by using an automation skill that composes the title and message from your local committed changes before pushing to the remote.

Does the open-pr skill work with the GitHub CLI to open pull requests?

Yes, the open-pr skill works with the GitHub CLI to open pull requests, utilizing either the gh pr create command or the GitHub API to push local changes and open or update PRs as changes evolve.

Do I need to manually push my branch before using an automated pull request workflow?

No, you do not need to manually push your branch before using an automated pull request workflow, because the automation handles pushing to the remote repository as part of the process of opening the PR.