plugins/claude/code/commands/pr.md
Snider 08a57ce60c
feat(code): add /code:pr command to generate pull requests (#101)
Add PR generation command that:
- Auto-generates title from branch name
- Creates body with commit list and changed files
- Supports --draft flag for draft PRs
- Supports --reviewer flag to request reviews

Migrated from core-claude PR #46.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 07:31:23 +00:00

506 B


name: pr description: Create a PR with a generated title and description from your commits. args: [--draft] [--reviewer @user]

Create Pull Request

Generates a pull request with a title and body automatically generated from your recent commits.

Usage

Create a PR: /code:pr

Create a draft PR: /code:pr --draft

Request a review: /code:pr --reviewer @username

Action

This command will execute the following script:

"${CLAUDE_PLUGIN_ROOT}/scripts/generate-pr.sh" "$@"