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.

fredrikaverpil 8d474f4 673 B Updated

File contents

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)

fredrikaverpil/dotfiles/tree/main/stow/shared/.claude/skills/gh-pr commit 8d474f454e

Frequently asked questions

npx skillmds@latest add fredrikaverpil/gh-pr