Conducts an automated review of a GitHub Pull Request.
Automated GitHub PR review with parallel analysis of code quality, architecture, and tests. Use when you need a comprehensive code review before merging.
/plugin marketplace add TokenRollAI/cc-plugin/plugin install tr@tokenroll-cc-plugin[PR number or URL]This command conducts a comprehensive review of a GitHub Pull Request. If no PR number or URL is provided as an argument ($1), it attempts to find the PR associated with the current git branch.
/reviewPR.Step 1: Obtain PR Information
$1) is provided, use it as the PR identifier.worker agent to run gh pr status to find the current branch's PR number.worker agent to run gh pr view <PR_NUMBER> --json ... and gh pr diff <PR_NUMBER> in parallel to fetch PR details.Step 2: Parallel Analysis Phase
investigator agents concurrently to analyze different aspects of the PR:Step 3: Synthesize and Generate Report
Step 4: Submit Review
AskUserQuestion tool to show the generated review to the user and ask for confirmation before submitting.worker agent to run gh pr review <PR_NUMBER> --<state> --body "<comment>" to post the review to GitHub.