# 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.

- Skill: `fredrikaverpil/gh-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add fredrikaverpil/gh-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fredrikaverpil/gh-pr/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: fredrikaverpil (https://skillmd.com/u/fredrikaverpil)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/fredrikaverpil/gh-pr

---


# 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

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

