pr-creator

Create GitHub pull requests with draft confirmation and template-based descriptions.

Updated Nov 6, 2025
One-click install
npx skills add https://github.com/toumakido/my-claude --skill pr-creator-toumakido
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-creator
Source: https://github.com/toumakido/my-claude/tree/main/skills/pr-creator
Command: npx skills add https://github.com/toumakido/my-claude --skill pr-creator-toumakido

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides users through initiating pull requests by adding a draft status confirmation, preventing premature reviews and clarifying intent before opening a PR.

Core Features & Use Cases

  • Draft confirmation: Verifies whether a PR should be created as draft or ready for review.
  • Template integration: If a repository has a PR template at .github/pull_request_template.md, the content is used to structure the PR description.
  • Automated description: Generates a concise PR body aligned with the chosen status and template structure for faster reviews.
  • Use Case: When starting work on a feature, use this Skill to confirm draft status, apply existing templates, and create the PR with a precise title and body.

Quick Start

Prompt example: "Create a PR for feature X." The Skill asks: Should this PR be created as draft? If the answer is Yes, it runs gh pr create --draft --title "..." --body "..." ; otherwise it runs gh pr create --title "..." --body "..."

Frequently Asked Questions about pr-creator

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

FAQPage Schema
How do I create a draft pull request using the GitHub CLI?

To create a draft pull request with the GitHub CLI, use the command gh pr create --draft --title "..." --body "...". The PR Creator Skill guides this process by first confirming whether the PR should be opened as a draft or ready for review.

Can I automatically apply a PR template when creating a pull request?

Yes, you can apply a PR template automatically. If your repository contains a .github/pull_request_template.md file, the PR Creator Skill reads it and structures the PR description accordingly to align with your template.

Why use a draft pull request instead of a ready-for-review PR?

Draft pull requests prevent premature reviews by signaling that work is still in progress. The PR Creator Skill adds a draft status confirmation step to clarify your intent before opening the PR, ensuring reviewers know the code is not finalized.

What is the best way to automate PR creation across multiple branches?

The best way to automate PR creation across branches is to use a workflow that validates draft status and applies template-aligned descriptions. The PR Creator Skill uses the GitHub CLI gh pr create command with appropriate flags for this process.

Does the PR Creator Skill work without any external dependencies?

Yes, the PR Creator Skill works without external dependencies. It operates by running the GitHub CLI command gh pr create with the necessary flags and reading the PR template when present in the repository.

What happens if my repository does not have a pull_request_template.md file?

If your repository lacks a pull_request_template.md file, the PR Creator Skill generates a concise PR body aligned with your chosen draft status, ensuring the pull request still has a structured description for faster reviews.