Skip to content
Development
Skill

/gh-pr

This skill should be used when creating a GitHub pull request via `gh pr create`. Covers the gh CLI mechanics; PR title and body conventions come from the pr-style skill.

BOOST
From plugin
fredrikaverpil-dotfiles
25913 skills1 MCP
Install
$ npx -y skills add fredrikaverpil/dotfiles --skill gh-pr --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gh-pr

Context preview

The summary Claude sees to decide when to auto-load this skill.

This skill should be used when creating a GitHub pull request via `gh pr create`. Covers the gh CLI mechanics; PR title and body conventions come from the pr-style skill.

SKILL.md

gh-pr.SKILL.md
name: gh-pr
description: >-
  This skill should be used when creating a GitHub pull request via `gh pr
  create`. Covers the gh CLI mechanics; PR title and body conventions come
  from the pr-style skill.

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`)

Ships withfredrikaverpil-dotfiles

Personal dotfiles, managed in three layers: Nix (nix/): system configuration and packages, pinned by flake.lock and applied with a rebuild. Fully reproducible. Stow (stow/): dotfiles symlinked into $HOME with GNU Stow (not Nix).

Get the whole plugin
Stats
259
Stars
7
Forks
Active
Maintenance
QML
Language
MIT
License
21h ago
Last commit
10y ago
Created
6h ago
Added

Repo: fredrikaverpil/dotfiles

Other skills on fredrikaverpil-dotfiles.