pr-creator

Create pull requests via gh CLI with repository templates and preflight checks.

Updated Jan 4, 2026
One-click install
npx skills add https://github.com/clevergadget/hierophage-cli --skill pr-creator-clevergadget
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-creator
Source: https://github.com/clevergadget/hierophage-cli/tree/main/.gemini/skills/pr-creator
Command: npx skills add https://github.com/clevergadget/hierophage-cli --skill pr-creator-clevergadget

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams create PRs that strictly follow repository templates and established standards, reducing manual formatting errors and review friction.

Core Features & Use Cases

  • Automatically locate and apply the correct PR template in the repository (e.g., .github/pull_request_template.md or PULL_REQUEST_TEMPLATE.md).
  • Enforce branch hygiene by guiding safe branching away from main and suggest a descriptive feature branch.
  • Guide the drafting of PR descriptions to match the template, including required sections and checklists.
  • Support a smooth preflight flow that validates build, lint, and tests before PR submission and then creates the PR via the gh CLI.
  • Suitable for standard code changes, feature work, or bug fixes across any GitHub-hosted project.

Quick Start

Describe your changes and invoke the PR workflow to generate a template-compliant pull request.

Frequently Asked Questions about pr-creator

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

FAQPage Schema
How do I automatically apply a GitHub pull request template when creating a PR?

To automatically apply a GitHub pull request template, this skill locates repository files like .github/pull_request_template.md and guides you in drafting a compliant PR description to reduce manual formatting errors and review friction.

What is the best way to ensure branch hygiene before submitting a pull request?

The best way to ensure branch hygiene before submitting a pull request is to branch safely away from main. This skill guides you in creating a descriptive feature branch to maintain repository standards before drafting your PR.

How to run preflight checks and create a pull request using the gh CLI?

To run preflight checks and create a pull request using the gh CLI, this skill validates your build, lint, and tests before submission. Once preflight checks pass, it automatically creates the PR via the integrated gh CLI workflow.

Can I use this PR creation workflow for bug fixes across any GitHub-hosted project?

Yes, you can use this PR creation workflow for bug fixes across any GitHub-hosted project. It is suitable for standard code changes and feature work, enforcing repository templates and established standards universally.

Why does my pull request get rejected during code review for not matching repository standards?

Your pull request might get rejected during code review for not matching repository standards because it lacks required template sections. This skill enforces template discovery and preflight checks to ensure PR descriptions match established formats before submission.