code-review
Analyze code quality, security vulnerabilities, performance issues, and best practices. Use when reviewing code, performing security audits, or identifying bugs and improvements.
DIRECTIVE_TEXTUELLE
Code Review Skill
Comprehensive code analysis focusing on quality, security, performance, and best practices.
When to Use
Use this skill when the user wants to:
- Review code for bugs and logical errors
- Identify security vulnerabilities
- Evaluate code quality and maintainability
- Optimize performance
- Check adherence to best practices
- Generate code quality reports
Review Areas
Security
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization gaps
- Sensitive data exposure
- Dependency vulnerabilities
Code Quality
- Code organization and modularity
- Naming conventions
- DRY principle adherence
- Error handling
- Testing coverage
Performance
- Time complexity analysis
- Memory usage
- Database query optimization
- Caching opportunities
- Unnecessary computations
Maintainability
- Documentation completeness
- Comments quality
- Code complexity (cyclomatic complexity)
- Consistency with project style
Deliverables
- Code review report with issues identified
- Severity classification (critical, high, medium, low)
- Specific recommendations with code examples
- Refactored code where appropriate
- Priority-ordered action items