---
name: gh-pr-b271d40630bc
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

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


---
Source attribution: fredrikaverpil
Original project: https://github.com/fredrikaverpil/dotfiles/blob/f7f0329b62954fa245c4f8a216960af2cad9f725/stow/shared/.claude/skills/gh-pr/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2021 Fredrik Averpil

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: fredrikaverpil
Original project: https://github.com/fredrikaverpil/dotfiles/blob/f7f0329b62954fa245c4f8a216960af2cad9f725/stow/shared/.claude/skills/gh-pr/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Product Management
Roles: Backend Developer, DevOps / SRE, Product Manager, Technical Product Manager, QA / Test Engineer
Specialties: Git
Tools: GitHub
Country applicability: Country not specified
Classification basis: Source category, role and specialization labels
Instruction SHA-256: f26a8463244728fd98ddb5ab240193ff5c4b68856fac0ab742d7734801c24e83
