SuperAPI AI Directory

gh-pr

Coding & development

View repository

Updated 10-15 21:47

About this 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)