git:create-pr

Create pull requests with GitHub CLI using repository templates.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/luicabref97/sushi-jungle-web --skill git-create-pr-luicabref97
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git:create-pr
Source: https://github.com/luicabref97/sushi-jungle-web/tree/main/.agents/skills/git-create-pr
Command: npx skills add https://github.com/luicabref97/sushi-jungle-web --skill git-create-pr-luicabref97

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines and standardizes creating pull requests so contributors can produce draft PRs with correct titles and templated descriptions, reducing manual errors and inconsistent PRs.

Core Features & Use Cases

  • Interactive CLI guidance: Walks through prerequisites, GitHub authentication, and pre-flight checks to ensure commits are ready for a PR.
  • Template-backed PR creation: Directs use of the repository's .github/pull_request_template.md and gh pr create --body-file to produce consistent descriptions.
  • Best-practice enforcement: Recommends English titles, conventional commit emoji prefixes, draft-first workflow, and converting to ready-for-review when complete.
  • Use Case: A contributor finishes a feature branch, runs the pre-flight checks, and creates a draft PR with the official template and a clear conventional-commit emoji title so reviewers can quickly understand the change.

Quick Start

Use the git:create-pr skill to create a draft pull request with gh pr create using the repository's PR template and a conventional-commit emoji title.

Frequently Asked Questions about git:create-pr

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

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

Create a GitHub pull request using the CLI by running gh pr create with the --body-file flag to load the repository's .github/pull_request_template.md, ensuring consistent descriptions. The process requires installing and authenticating the gh CLI tool beforehand.

What is the best way to format a pull request title for GitHub CLI?

The best way to format a pull request title is using English text with a conventional commit emoji prefix. This standardized formatting helps reviewers quickly understand the nature and scope of the code changes being submitted.

Do I need to authenticate gh before creating a pull request from the command line?

Yes, you must authenticate gh before creating a pull request from the command line. The workflow requires a properly authenticated GitHub CLI environment and basic git pre-flight checks to ensure all local changes are committed.

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

Create a draft pull request instead of a ready-for-review PR immediately to follow a draft-first workflow. This allows contributors to finalize the templated description and code changes before converting the PR to ready-for-review status for efficient reviewing.

Does a GitHub pull request template automatically apply when using gh CLI?

A GitHub pull request template does not automatically apply when using gh CLI. You must explicitly direct the command to use the repository's .github/pull_request_template.md file, typically by passing the --body-file argument to the gh pr create command.