pr-create

Creates a pull request for the current branch with template-aware body generation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually creating pull requests involves repetitive steps: detecting the base branch, computing diffs, pushing, resolving tickets, and formatting the PR body. This Skill automates the entire flow while enforcing project conventions like PR templates and ticket linking. ## Core Features & Use Cases - Automated PR Creation: Detects the current branch and default base, computes a three-dot diff, pushes the branch, and creates the PR via git host MCP tools or CLI fallback. - Template-Aware Body Generation: Loads the repository's GitHub PR template verbatim and fills its sections without restructuring, falling back to a default Ticket/Description/Checklist body. - Ticket Integration: Automatically creates a linked issue, uses a provided ticket URL, or skips ticketing based on user preference. - Use Case: After finishing a feature branch, invoke the Skill to push your work and open a properly formatted PR with a linked ticket in one step. ## Quick Start Create a pull request for my current branch against main and automatically create a ticket for it.

Frequently Asked Questions about pr-create

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

FAQPage Schema
How do I create a pull request from the command line?▼

Use gh pr create with a title, body file, base, and head branch, or use git host MCP tools that accept business-level inputs like title and body. This Skill automates the full flow including branch push and template filling.

How to auto-fill a GitHub PR template when creating a pull request?▼

The Skill reads the repository's GitHub PR template verbatim, then fills its sections with content derived from the commit diff and ticket URL. Template structure, headings, and reviewer checkboxes are preserved exactly.

Can I create a PR and link a ticket automatically?▼

Yes. The Skill supports three ticket modes: automatically creating a linked issue from the change summary, using a provided ticket URL, or skipping tickets entirely. Auto-created issues include a title, description, and validation checklist.

Why does PR creation fail with uncommitted changes?▼

The Skill treats uncommitted changes as a blocker and stops, listing the affected files. Commit or stash your changes first so the PR contains a clean, complete diff against the base branch.

What happens if the PR already exists for my branch?▼

The Skill detects the existing PR via git host view or gh pr view and returns its URL instead of failing. It also verifies the rendered body and re-edits if the content does not match the intended template.