create-pull-request

Create GitHub pull requests from local branches with templates and draft options.

12|1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/helderberto/skills --skill create-pull-request-helderberto
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: create-pull-request
Source: https://github.com/helderberto/skills/tree/main/create-pull-request
Command: npx skills add https://github.com/helderberto/skills --skill create-pull-request-helderberto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of GitHub pull requests from local branches and commits, saving time and reducing manual steps in PR workflows.

Core Features & Use Cases

  • PR creation: Open pull requests for feature or bugfix branches with optional draft state and ticket references.
  • Template handling: Detect and apply PR templates when present and compose a concise PR body from recent commits.
  • Workflow safety: Validate base branch, ensure local changes are pushed, and provide preview info before PR submission.

Quick Start

Create a pull request for your current branch against the target base branch, using a draft if requested.

Frequently Asked Questions about create-pull-request

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

FAQPage Schema
How do I automate creating a GitHub pull request from a local branch?▼

Automating GitHub pull request creation involves using the gh pr create command to open PRs from local feature branches. The Skill structures the PR body from recent commits, detects the base branch, and applies PR templates to streamline the workflow.

Can I open a draft pull request and include ticket references automatically?▼

Yes, you can open a draft pull request with automatic ticket references. The Skill extracts ticket information from your local branches and commits, allowing you to optionally mark the PR as a draft before submission.

Does this pull request workflow apply existing PR templates?▼

Yes, the pull request workflow detects and applies existing PR templates. It performs a template lookup to structure the PR body, composing a concise summary from recent commit history and analysis.

What pre-checks are needed before opening a GitHub pull request from commits?▼

Pre-checks for opening a GitHub pull request include validating the target base branch and ensuring local commits are pushed. The workflow provides preview information to verify details before final PR submission.

What's the best way to structure a pull request body from multiple commits?▼

The best way to structure a pull request body from multiple commits is through commit-review analysis. The Skill composes a concise PR body by analyzing recent local commits and mapping them to detected PR templates.