Agent skill
code-review-specialist
Comprehensive code review with security, performance, and quality analysis. Use when users ask to review code, analyze code quality, evaluate pull requests, or mention code review, security analysis, or performance optimization.
Install this agent skill to your Project
npx add-skill https://github.com/luongnv89/claude-howto/tree/main/03-skills/code-review
SKILL.md
Code Review Skill
This skill provides comprehensive code review capabilities focusing on:
-
Security Analysis
- Authentication/authorization issues
- Data exposure risks
- Injection vulnerabilities
- Cryptographic weaknesses
- Sensitive data logging
-
Performance Review
- Algorithm efficiency (Big O analysis)
- Memory optimization
- Database query optimization
- Caching opportunities
- Concurrency issues
-
Code Quality
- SOLID principles
- Design patterns
- Naming conventions
- Documentation
- Test coverage
-
Maintainability
- Code readability
- Function size (should be < 50 lines)
- Cyclomatic complexity
- Dependency management
- Type safety
Review Template
For each piece of code reviewed, provide:
Summary
- Overall quality assessment (1-5)
- Key findings count
- Recommended priority areas
Critical Issues (if any)
- Issue: Clear description
- Location: File and line number
- Impact: Why this matters
- Severity: Critical/High/Medium
- Fix: Code example
Findings by Category
Security (if issues found)
List security vulnerabilities with examples
Performance (if issues found)
List performance problems with complexity analysis
Quality (if issues found)
List code quality issues with refactoring suggestions
Maintainability (if issues found)
List maintainability problems with improvements
Version History
- v1.0.0 (2024-12-10): Initial release with security, performance, quality, and maintainability analysis
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
self-assessment
Comprehensive Claude Code self-assessment and learning path advisor. Runs a multi-category quiz covering 10 feature areas, produces a detailed skill profile with per-topic scores, identifies specific gaps, and generates a personalized learning path with prioritized next steps. Use when asked to "assess my level", "take the quiz", "find my level", "where should I start", "what should I learn next", "check my skills", "skill check", or "level up".
lesson-quiz
Interactive lesson-level quiz for Claude Code tutorials. Tests understanding of a specific lesson (01-10) with 8-10 questions mixing conceptual and practical knowledge. Use before a lesson to pre-test, during to check progress, or after to verify mastery. Use when asked to "quiz me on hooks", "test my knowledge of lesson 3", "lesson quiz", "practice quiz for MCP", or "do I understand skills".
brand-voice-consistency
Ensure all communication matches brand voice and tone guidelines. Use when creating marketing copy, customer communications, public-facing content, or when users mention brand voice, tone, or writing style.
api-documentation-generator
Generate comprehensive, accurate API documentation from source code. Use when creating or updating API documentation, generating OpenAPI specs, or when users mention API docs, endpoints, or documentation.
claude-md
Create or update CLAUDE.md files following best practices for optimal AI agent onboarding
code-refactor
Systematic code refactoring based on Martin Fowler's methodology. Use when users ask to refactor code, improve code structure, reduce technical debt, clean up legacy code, eliminate code smells, or improve code maintainability. This skill guides through a phased approach with research, planning, and safe incremental implementation.
Didn't find tool you were looking for?