pr-submit

Create GitHub pull requests from the current branch using gh pr create.

Updated Apr 1, 2025
One-click install
npx skills add https://github.com/toinfinityai/pipecat --skill pr-submit-toinfinityai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-submit
Source: https://github.com/toinfinityai/pipecat/tree/main/.claude/skills/pr-submit
Command: npx skills add https://github.com/toinfinityai/pipecat --skill pr-submit-toinfinityai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate the creation and submission of GitHub pull requests directly from the current working branch, reducing manual steps and possible errors.

Core Features & Use Cases

  • Detect repository state with git status, git diff, and git log to identify changes.
  • Create a new branch from the current branch (with optional prefix), commit changes (potentially as multiple commits), push, and open the PR via gh pr create.
  • After PR creation, perform optional follow-ups like updating changelog and PR description.

Quick Start

Create a new branch from the current branch, commit changes with a clear message, push the branch, and open a PR using gh pr create.

Frequently Asked Questions about pr-submit

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

FAQPage Schema
How do I automate GitHub pull request creation from my current branch?

Automating GitHub pull request creation involves detecting repository state with git status, committing changes, pushing the branch, and executing gh pr create. This workflow also handles optional changelog updates and PR description preparation to streamline collaborative coding.

What is the process to commit code changes and open a pull request automatically?

Opening a pull request automatically requires checking git diff and git log, optionally creating a new branch with a prefix, committing changes, and pushing them. The workflow then opens the PR using the gh pr create command.

Can I update the changelog and PR description after opening a GitHub pull request?

Yes, updating the changelog and PR description after opening a GitHub pull request is supported. The workflow performs optional follow-up actions after PR creation to update changelog entries and prepare the PR description.

Do I need the GitHub CLI installed to submit a pull request from the command line?

You need the GitHub CLI installed to submit a pull request from the command line using this method. The workflow relies on the gh pr create command to open the pull request on GitHub repositories after pushing your branch.

What's the best way to manage branch creation and code review submission on GitHub?

Managing branch creation and code review submission is best handled by automating the workflow to detect repository state, create a new branch with an optional prefix, commit changes, and open a PR via gh pr create. This ensures deterministic PR creation and reduces manual errors.