Gh pr

From fredrikaverpil/dotfiles · View interactive version

Gh pr is an AI agent skill from the GitHub repository fredrikaverpil/dotfiles. 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.

How to use this skill

Skill file

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)
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.