Skip to main content

Create PR

Skill Verified Active
Part of:Git

Create pull requests using GitHub CLI with proper templates and formatting

Purpose

To streamline the process of creating well-formatted and properly templated pull requests on GitHub, ensuring consistency and adherence to project standards.

Features

  • Create pull requests using GitHub CLI
  • Utilize PR templates for consistent descriptions
  • Format PR titles using conventional commits
  • Perform pre-flight checks for uncommitted changes
  • Guide users through GitHub CLI installation and authentication

Use Cases

  • When needing to create a new pull request for a feature branch.
  • When wanting to ensure PR titles and descriptions follow project conventions.
  • When automating the PR creation process with proper formatting and templates.
  • When a developer needs a clear guide on setting up GitHub authentication for the CLI.

Non-Goals

  • Managing git repositories beyond creating a pull request.
  • Directly interacting with GitHub's API outside of the GitHub CLI.
  • Handling merge conflicts or complex review workflows.
  • Automating code review itself.

Workflow

  1. Check for uncommitted changes using `git status`.
  2. If changes exist, use the `commit` skill to commit them.
  3. Prepare PR description using the template (`.github/pull_request_template.md`).
  4. Create a draft pull request using `gh pr create --draft --title "..." --body-file .github/pull_request_template.md --base main`.

Practices

  • Conventional Commits
  • Pull Request Templating
  • Developer Workflow Automation

Prerequisites

  • Install GitHub CLI (`gh`)
  • Authenticate with GitHub CLI (`gh auth login`)
  • Ensure local Git repository is clean (no uncommitted changes)

Versioning

  • info:Release ManagementThe `pushedAt` timestamp indicates recent activity, but there is no explicit versioning information (e.g., in frontmatter or changelog) for the skill itself, only for the broader kit.

Installation

First, add the marketplace

/plugin marketplace add NeoLabHQ/context-engineering-kit
/plugin install git@context-engineering-kit

Quality Score

Verified
97 /100
Analyzed 1 day ago

Trust Signals

Last commit9 days ago
Stars993
LicenseGPL-3.0
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.