npx claudepluginhub hnegishi/cc-prtoolsUseful slash commands for managing pull requests
A Claude Code plugin that provides useful slash commands for managing GitHub pull requests efficiently.
cc-prtools streamlines your pull request workflow by providing three slash commands:
/create-pr - Automatically create draft pull requests with intelligent content generation/update-pr - Update existing pull requests with refreshed content based on the latest changes/summarize-pr - Add a comprehensive analysis comment to existing pull requests with summary, changes table, and sequence diagramsThe first two commands analyze your git diff and generate comprehensive PR descriptions that follow your repository's pull request template. The summarize command provides detailed PR analysis as a comment.
gh) installed (optional but recommended)
gh is not available, the plugin will use GitHub MCP Server as an alternativegh command)Add marketplace:
/plugin marketplace add hnegishi/cc-prtools
Install the plugin directly from the marketplace:
/plugin install cc-prtools@hnegishi
Or clone the repository and load it manually:
git clone https://github.com/hnegishi/cc-prtools.git
Use the /create-pr command to create a new draft pull request:
/create-pr
The command will:
main, develop)Example: See this PR created using /create-pr
Use the /update-pr command to update an existing pull request:
/update-pr
Or specify the PR number directly:
/update-pr 123
The command will:
Use the /summarize-pr command to add a detailed analysis comment to an existing pull request:
/summarize-pr
Or specify the PR number directly:
/summarize-pr 123
The command will:
Example: See this comment created using /summarize-pr
The /create-pr and /update-pr commands respect your repository's pull request template located at:
.github/PULL_REQUEST_TEMPLATE.mdPULL_REQUEST_TEMPLATE.mdThese commands automatically: