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>
506 B
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" "$@"