Full Review
Comprehensive code review following Clean Code principles
Code Review - Clean Code Principles
Perform a comprehensive code review based on Clean Code principles and industry best practices.
Scope
Review: ${ARGUMENTS:-"the entire codebase"}
Review Strategy
Use the code-review skill to conduct a thorough analysis with:
-
Two-pass approach:
- High-level architecture pass (design, structure, dependencies)
- Low-level implementation pass (functions, naming, logic)
-
Focus areas:
- Naming quality and clarity
- Function design and size
- Code structure and organization
- Error handling
- SOLID principles adherence
- Testing quality
- Security vulnerabilities
- Performance issues
Instructions
- Identify scope: Determine what to review (recent changes vs full codebase)
- Use git for context: Run
git difforgit logto see recent changes if applicable - Apply the skill: Use the code-review skill which contains detailed checklists
- Provide specific feedback:
- File paths and line numbers (e.g.,
src/app.js:42) - What's wrong and which principle is violated
- Why it matters
- How to fix it with examples
- File paths and line numbers (e.g.,
- Prioritize findings:
- Critical: Security, data loss, breaking changes
- High: Performance, SOLID violations, missing error handling
- Medium: Code style, naming, duplication
- Low: Minor refactoring opportunities
Output Format
Organize findings by priority with clear, actionable feedback.
For each issue include:
- Location (file:line)
- Issue description
- Principle violated
- Concrete solution with code example
Begin the review now.