From code-review
This skill should be used when the user asks to "review a pull request", "code review this PR", "check this PR for bugs", "review PR
npx claudepluginhub jawhnycooke/claude-plugins --plugin code-reviewThis skill uses the workspace's default tool permissions.
Perform comprehensive code reviews on GitHub pull requests using a structured multi-agent pipeline with confidence-based filtering to minimize false positives.
Reviews GitHub pull requests using parallel subagents for CLAUDE.md compliance, bugs, git history context, past feedback, and code comment adherence.
Conducts systematic code reviews of GitHub pull requests, auditing CLAUDE.md compliance, bugs, git history, prior PR comments, and code comments for actionable feedback.
Orchestrates parallel agents to review code changes for CLAUDE.md compliance, bugs, git history, and security with confidence scores. Outputs reports or posts to GitHub PRs.
Share bugs, ideas, or general feedback.
Perform comprehensive code reviews on GitHub pull requests using a structured multi-agent pipeline with confidence-based filtering to minimize false positives.
Launch a Haiku agent to determine if the PR should be reviewed. Skip the review if the PR:
Launch a Haiku agent to find relevant CLAUDE.md files:
Return file paths only, not contents.
Launch a Haiku agent to view the PR and return:
hasErrorHandling: try/catch/except/finally/.catch blocks modifiedhasTestFiles: files matching test, spec, tests/, tests/hasNewTypes: new interface/type/class/struct/enum/@dataclass definitionsLaunch parallel Sonnet agents. Each returns issues with description, reason, and suggested_severity (CRITICAL/HIGH/MEDIUM/LOW).
Core agents (always run):
Conditional agents (run in parallel with core agents):
6. If hasErrorHandling: Launch silent-failure-hunter agent for error handling analysis
7. If hasTestFiles: Launch pr-test-analyzer agent for test coverage review
8. If hasNewTypes: Launch type-design-analyzer agent for type design analysis
For each issue from Step 4, launch a parallel Haiku agent returning:
Confidence scale:
Severity definitions:
Filter out issues with confidence score below 80. If no issues pass, skip to Step 7.
Consensus scoring for borderline issues (60-85 confidence):
Repeat the eligibility check from Step 1 to ensure the PR is still reviewable.
Use gh pr comment to post the review. Follow this format:
### Code review
Found X issues (Y CRITICAL, Z HIGH, W MEDIUM):
**CRITICAL** [95% confidence]
1. Brief description (category: security/bug/CLAUDE.md/error-handling/test-coverage/type-design)
https://github.com/owner/repo/blob/FULL_SHA/path/file.ext#L10-L15
**HIGH** [88% confidence]
2. Brief description (category)
https://github.com/owner/repo/blob/FULL_SHA/path/file.ext#L25-L30
If no issues found:
### Code review
No issues found. Checked for bugs, CLAUDE.md compliance, and specialized analysis:
- Error handling review (check mark)
- Test coverage analysis (check mark)
- Type design review (check mark)
Do NOT report:
gh for all GitHub interactions, not web fetchhttps://github.com/owner/repo/blob/FULL_SHA/file.ext#L10-L15