From commands-version-control-git
Creates a draft GitHub pull request using gh CLI with conventional emoji-prefixed titles and body from .github/pull_request_template.md.
npx claudepluginhub davepoon/buildwithclaude --plugin commands-version-control-git# How to Create a Pull Request Using GitHub CLI This guide explains how to create pull requests using GitHub CLI in our project. ## Prerequisites 1. Install GitHub CLI if you haven't already: 2. Authenticate with GitHub: ## Creating a New Pull Request 1. First, prepare your PR description following the template in @.github/pull_request_template.md 2. Use the `gh pr create --draft` command to create a new pull request: For more complex PR descriptions with proper formatting, use the `--body-file` option with the exact PR template structure: ## Best Practices 1...
/create-pull-requestCreates a draft GitHub pull request using gh CLI with conventional emoji-prefixed titles and body from .github/pull_request_template.md.
/create-pull-requestProvides step-by-step GitHub CLI guide for creating pull requests, enforcing title conventions, template usage, best practices, and example commands.
/create-pull-requestProvides step-by-step GitHub CLI guide for creating pull requests, enforcing title conventions, template usage, best practices, and example commands.
/create-pull-requestProvides step-by-step GitHub CLI guide for creating pull requests, enforcing title conventions, template usage, best practices, and example commands.
/create-pull-requestCreates GitHub pull requests using gh CLI with conventional commit titles, structured markdown descriptions, issue links, labels, and reviewers.
/create-pull-requestCommits changes for issue increment from state file, pushes branch, creates GitHub PR with gh CLI, updates state and issue status to Code Review.
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)