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.
Provides a systematic code review framework that analyzes context, identifies root causes, and prioritizes issues by real-world impact. Use when users request code review guidance, best practices, or methodology for comprehensive, actionable feedback.
/plugin marketplace add betamatt/claude-plugins/plugin install code-review@betamatt-claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/focus-areas.mdreferences/review-aspects.mdA 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:
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.