/commands-version-control-git:create-pull-requestfrom commands-version-control-git
Creates a pull request via GitHub CLI using project templates and conventional commit formatting.
Ships in commands-version-control-git. Installing the plugin adds it to Claude Code.
This guide explains how to create pull requests using GitHub CLI in our project.
Install GitHub CLI if you haven't already:
# macOS
brew install gh
# Windows
winget install --id GitHub.cli
# Linux
# Follow instructions at https://github.com/cli/cli/blob/trunk/docs/install_linux.md
Authenticate with GitHub:
gh auth login
First, prepare your PR description following the template in @.github/pull_request_template.md
Use the gh pr create --draft command to create a new pull request:
# Basic command structure
gh pr create --draft --title "✨(scope): Your descriptive title" --body "Your PR description" --base main
For more complex PR descriptions with proper formatting, use the --body-file option with the exact PR template structure:
# Create PR with proper template structure
gh pr create --draft --title "✨(scope): Your descriptive title" --body-file .github/pull_request_template.md --base main
PR Title Format: Use conventional commit format with emojis
:sparkles:)✨(supabase): Add staging remote configuration🐛(auth): Fix login redirect issue📝(readme): Update installation instructionsDescription Template: Always use our PR template structure from @.github/pull_request_template.md:
Template Accuracy: Ensure your PR description precisely follows the template structure:
pr_agent:summary and pr_agent:walkthrough)Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
12 commands in this plugin
/bug-fixBug FixSystematic workflow for fixing bugs including issue creation, branch management, and PR submission/commitClaude Command: CommitCreate well-formatted git commits with conventional commit messages and emoji/commit-fastCreate new fast commit taskAutomatically create and execute a git commit using the first suggested commit message/create-prCreate Pull Request CommandCreate a new branch, commit changes, and submit a pull request with automatic commit splitting/create-worktreesGit Worktree CommandsManage git worktrees for open PRs and create new branch worktrees/fix-github-issueFix Github IssueAnalyze and fix a GitHub issue with comprehensive testing and verification2 plugins in one repository ship this exact command · first indexed Jan 8, 2026
npx claudepluginhub davepoon/buildwithclaude --plugin commands-version-control-gitOther plugins' commands for the same job