create-pr

Create GitHub pull requests with structured titles and bodies.

6|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/christopher-buss/bedrock --skill create-pr-christopher-buss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/christopher-buss/bedrock/tree/main/.agents/skills/create-pr
Command: npx skills add https://github.com/christopher-buss/bedrock --skill create-pr-christopher-buss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of creating a GitHub pull request for the current branch, eliminating manual steps and reducing the risk of errors in the title and body.

Core Features & Use Cases

  • Automated PR Creation: Generate a GitHub pull request with a properly formatted title and body.
  • Issue Reference Handling: Capture and reference related issues automatically from commit messages.
  • Conditional PR Types: Create draft or ready-for-review pull requests based on user input.

Quick Start

Create a pull request for your current branch with create-pr --title "Feature update" --body "Fixed issue #42, improved feature X.".

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub pull request creation from the command line?

Automating GitHub pull request creation involves using a script to call the GitHub API, structuring the title and body while detecting issue references from commit messages. This eliminates manual formatting and reduces errors.

Can I create a draft pull request automatically with issue references?

Creating a draft pull request automatically is supported through conditional PR type selection. It captures related issue references from commit messages and formats them into the structured body content.

How do I format a pull request body with issue references automatically?

Formatting a pull request body with issue references is handled by detecting related issue numbers from commit messages and embedding them into the structured body content automatically during creation.

Do I need GitHub API authentication credentials to automate PR creation?

GitHub API access and appropriate authentication credentials are required to automate pull request creation. The script uses these credentials to authenticate the request and generate the pull request on your behalf.

What is the best way to structure pull request titles and bodies for collaboration?

Structuring pull request titles and bodies for collaboration is best achieved through automation that enforces consistent formatting. This ensures issue references are captured and the PR type matches the intended review state.