Automates PR creation through GitHub CLI with opinionated defaults baked in. Walks you through the full flow: checks for uncommitted changes, nudges you to commit first if needed, then scaffolds draft PRs using your repo's template. Enforces English only, conventional commit titles with emoji prefixes (actual characters, not codes), and strict adherence to PR template structure. It's basically guardrails for teams that want consistent PRs without the back and forth on formatting. The pre-flight git status check is smart, and leaning on draft by default keeps half-baked work out of review queues until you're ready.

skills.sh installs
1.2K
GitHub stars
1.8K
last updated
Aug 21, 2026

Install

$ npx -y skills add neolabhq/context-engineering-kit --skill create-pr --agent claude-code

Installs into .claude/skills of the current project.

Files

How to Create a Pull Request Using GitHub CLI

This guide explains how to create pull requests using GitHub CLI in our project.

Important: All PR titles and descriptions should be written in English.

Prerequisites

Check if gh is installed, if not follow this instruction to install it:

  1. Install GitHub CLI if you haven't already:

    # macOS
    brew install gh
    
    # Windows
    winget install --id GitHub.cli
    
    # Linux
    # Follow instructions at https://github.com/cli/cli/blob/trunk/docs/install_linux.md
    
  2. Authenticate with GitHub:

    gh auth login
    

Pre-flight Checks

Before creating a PR, check for uncommitted changes:

  1. Run git status to check for uncommitted changes (staged, unstaged, or untracked files)
  2. If uncommitted changes exist, use the Skill tool to run the commit skill first:
    Skill: commit
    
  3. This ensures all your work is committed before creating the PR

Creating a New Pull Request

  1. First, prepare your PR description following the template in @.github/pull_request_template.md

  2. Use the gh pr create --draft command to create a new pull request:

Sponsors

Details

Repository
github.com/neolabhq/context-engineering-kit
Categories
Git & Pull Requests, CLI & Terminal
First seen
Jun 3, 2026

More from neolabhq/context-engineering-kit

All 63
1vkehfdl1 avatarstart-issuevkehfdl1/marshroomStart working on a Marshroom cart issue — creates branch, injects context, updates status to running1.2Kskills.sh installs
2neolabhq avatarattach-review-to-prneolabhq/context-engineering-kitAdd line-specific review comments to pull requests using GitHub CLI API1.2Kskills.sh installs
3tirth8205 avatarreview-deltatirth8205/code-review-graphReview only changes since last commit using impact analysis. Token-efficient delta review with automatic blast-radius detection.1.2Kskills.sh installs
4remotion-dev avatarpr-nameremotion-dev/remotionReview or correct a Remotion pull request title1.1Kskills.sh installs
5jnmetacode avatarchinese-git-workflowjnmetacode/superpowers-zh国内 Git 平台配置参考——Gitee、Coding.net、极狐 GitLab、CNB 的 SSH/HTTPS/凭据/CI 接入差异与镜像同步配置。仅在用户显式 /chinese-git-workflow 时调用,不要根据上下文自动触发。979skills.sh installs
6marcelorodrigo avatarconventional-commitmarcelorodrigo/agent-skillsCreate conventional commit messages following best conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows co962skills.sh installs