create-pr

Generate GitHub pull requests from branch commits using GitHub CLI.

Updated Jun 12, 2026
One-click install
npx skills add https://github.com/gralweb/workflow-skill --skill create-pr-gralweb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/gralweb/workflow-skill/tree/main/skills/create-pr
Command: npx skills add https://github.com/gralweb/workflow-skill --skill create-pr-gralweb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Streamlines the creation of Pull Requests from branch commits to base branches, saving time and reducing the chances of human error in code merges.

Core Features & Use Cases

  • Automated PR Creation: Uses GitHub CLI to generate PRs with titles and descriptions based on branch commits.
  • Manual Creation Option: Provides clear, manual instructions if GitHub CLI is unavailable.
  • PR Generation Logic: Extracts commit data and formats it into PR summaries and descriptions, enabling PRs that accurately reflect code changes.
  • Use Case: With the click of an AI skill command, you can automatically generate a PR from a feature branch to your base branch with appropriate commit messages and metadata.

Quick Start

Execute the 'Create PR to main' command when you're ready to generate a Pull Request to the 'main' branch.

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 PR creation from branch commits?

Automate GitHub PR creation by using GitHub CLI to generate pull requests, automatically extracting branch commits and configurations to format PR titles and descriptions. This streamlines code integration and reduces human error in merges.

What is the best way to generate a Pull Request with formatted commit data?

Generating a Pull Request with formatted commit data is best done by extracting branch commits and integrating them into PR summaries. This approach accurately reflects code changes and enables automated code reviews and continuous integration.

Do I need GitHub CLI to create a PR or can I use manual instructions?

You do not strictly need GitHub CLI to create a PR; the system provides clear manual instructions for remote PR actions if the CLI is unavailable. GitHub CLI is required for automated PR generation and branch data integration.

How does PR generation logic work for collaborative workflow setup?

PR generation logic for collaborative workflow setup works by extracting commit data from feature branches and formatting it into base branch PR summaries. This integrates configurations and metadata to accurately reflect code changes for continuous integration systems.

Can I create a PR to main without manually writing commit messages?

Yes, you can create a PR to main without manual writing by executing a command that automatically generates a pull request from your feature branch. It extracts commit data to apply appropriate commit messages and metadata automatically.

Why does automated PR creation require git and GitHub CLI for remote actions?

Automated PR creation requires git and GitHub CLI for remote actions because these tools handle branch data extraction and remote repository integration. Without them, the system cannot automate PR generation and must fall back to manual instructions.