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
- Always create draft PRs (
--draft) - Always assign the PR to me (
--assignee @me)