mcpField
G
gh-pr

gh-pr

github.com/fredrikaverpilDevelopment25946 installsUpdated 2d ago
Repository

About gh-pr

A skill that guides pull request creation with the GitHub `gh` CLI. It requires draft PRs assigned to the current user and refers title and body formatting to the pr-style skill.

Key features

  1. 01Creates PRs with the `gh` CLI
  2. 02Requires draft pull requests
  3. 03Assigns PRs to @me
  4. 04Uses pr-style for title and body

Use cases

  1. 01Opening a draft PR from a branch
  2. 02Assigning a new PR to the current user

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/fredrikaverpil/dotfiles --skill gh-pr

After installing, type/gh-prin Claude Code to confirm it loaded.

Details

From the project README

GitHub Pull Request Creation with gh

When creating a pull request with the gh CLI, use the command template below. For the title and body content, follow the "pr-style" skill (conventional commit title, Why/What/Notes body, draft PRs).

Command Template

gh pr create --draft --assignee @me --title "<title>" --body "$(cat <<'EOF'

body here
EOF
)"

Rules

  1. Always create draft PRs (--draft)
  2. Always assign the PR to me (--assignee @me)

Comments

Markdown supported