NovaTech Code Review
This skill guides comprehensive code reviews covering security, performance, and style standards.
When to Use This Skill
- •Reviewing pull requests before merge
- •Auditing existing code for quality issues
- •Preparing features for production deployment
- •Onboarding reviews for new team members' code
Review Workflow
- •Security Review — Check for vulnerabilities first
- •Performance Review — Identify bottlenecks and inefficiencies
- •Style Review — Ensure consistency with team standards
- •Validation — Run automated linters for final check
Security Review
For detailed security checks, see SECURITY.md.
Key areas to examine:
- •Input validation and sanitization
- •Authentication and authorization
- •Data exposure risks
- •Dependency vulnerabilities
Performance Optimization
Reference PERFORMANCE.md for performance patterns.
Focus on:
- •Unnecessary re-renders and computations
- •Network request optimization
- •Memory leaks and resource cleanup
- •Asset loading strategies
Style Guidelines
See STYLE.md for the complete style reference.
Priorities:
- •BEM naming conventions for CSS
- •Consistent code formatting
- •Clear naming and documentation
- •Accessibility compliance
Validation
To validate code, run ./scripts/run-linters.sh against the target files.
Do not read the script contents — just execute it and process the output.
bash
./scripts/run-linters.sh path/to/file.js
The script runs ESLint for JavaScript and Stylelint for CSS, reporting issues in compact format.
Review Checklist Summary
Before approving any code:
- • No security vulnerabilities identified
- • Performance patterns followed
- • Style guidelines met
- • All linter checks pass
- • Accessibility requirements satisfied
- • Documentation is adequate