/pr-create — Create pull requests
Create GitHub PRs with proper formatting, labeling, and quality checks.
Quick Workflow
bash
# 1. Stage and commit git add . git commit -m "feat: add feature" # 2. Push branch git push -u origin feature-branch # 3. Create PR gh pr create \ --title "feat: add feature" \ --body "## Changes - Added feature X ## Testing - All checks pass Generated with [AI_TOOL] by [AI_MODEL]" \ --base main
Variant: /pr-create auto
Enable auto-merge after creation:
bash
gh pr merge $(gh pr view --json number -q '.number') --squash --auto
PR Description Template
markdown
## Changes - What was modified ## Technical Details - Implementation specifics ## Testing - Verification steps Generated with [AI_TOOL] by [AI_MODEL]
Labeling
bash
gh pr edit <number> --add-label enhancement # feat: gh pr edit <number> --add-label bug # fix: gh pr edit <number> --add-label documentation # docs:
Guidelines
- •Conventional commit title format
- •Under 72 characters
- •Solo-authored commits (no co-authorship)
- •AI attribution in PR body only
- •Generate changeset via
/changesetsif applicable - •Run quality checks before creating