This skill should be used when the user asks about "code review best practices", "how to review code", "review methodology", "code review framework", "impact prioritization", "root cause analysis", or needs guidance on systematic code review approaches and output templates.
From code-reviewnpx claudepluginhub betamatt/claude-plugins --plugin code-reviewThis skill uses the workspace's default tool permissions.
references/focus-areas.mdreferences/review-aspects.mdEnables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
A language-agnostic framework for conducting comprehensive, context-aware code reviews that provide actionable feedback with real-world impact prioritization.
Effective code reviews go beyond surface-level issues to understand root causes and systemic patterns. Focus on providing deep, actionable feedback that considers business context, not just technical correctness.
Key principles:
Before reviewing, establish context from the project itself:
The codebase itself defines what "good" looks like - discover and apply those standards.
For every issue, provide three levels of analysis:
Level 1 - What: The immediate issue observed Level 2 - Why: Root cause analysis explaining why this happens Level 3 - How: Specific, actionable solution with working code
This ensures issues are fully understood and solutions address underlying problems, not just symptoms.
Classify every issue by real-world impact:
| Priority | Label | Criteria | Action |
|---|---|---|---|
| CRITICAL | Red | Security vulnerabilities, data loss risks, privacy violations, production crashes | Fix immediately |
| HIGH | Orange | Performance in hot paths, resource leaks, broken error handling, missing validation | Fix before merge |
| MEDIUM | Yellow | Maintainability issues, inconsistent patterns, missing tests, tech debt in active areas | Fix soon |
| LOW | Green | Style inconsistencies, minor optimizations, documentation gaps | Fix when convenient |
Comprehensive reviews cover six specialized aspects:
For detailed guidance on each aspect, see references/review-aspects.md.
Comprehensive review requires understanding relationships:
Find related files before concluding a review is complete.
Apply five layers of analysis:
Never just identify problems - always show the fix. A quality issue report includes:
Adapt solutions to match the codebase's existing patterns and conventions.
Structure feedback consistently:
# Code Review: [Scope]
## Review Metrics
- **Files Reviewed**: X
- **Critical Issues**: X
- **High Priority**: X
- **Medium Priority**: X
- **Suggestions**: X
## Executive Summary
[2-3 sentences summarizing the most important findings]
## CRITICAL Issues (Must Fix)
[Issues with root cause analysis and working solutions]
## HIGH Priority (Fix Before Merge)
[Issues with root cause analysis and working solutions]
## MEDIUM Priority (Fix Soon)
[Issues with root cause analysis and working solutions]
## LOW Priority (Opportunities)
[Suggestions and minor improvements]
## Strengths
[What's done well, patterns worth replicating]
## Proactive Suggestions
[Opportunities beyond identified issues]
## Systemic Patterns
[Issues appearing multiple times - candidates for team discussion]
For detailed patterns and guidance, consult:
references/focus-areas.md - Canonical definitions of the 6 focus areas with priority factorsreferences/review-aspects.md - Deep dive into each review aspect with checklistsA quality review should: