framework/web_development/.roo/skills/code-review/SKILL.md
Review generated code for style, security, and architecture issues; suggest refactorings and performance improvements. Use after implementation is complete, before merging changes, or when refactoring existing code. Follows OWASP guidelines, SOLID principles, and best practices for maintainable code.
npx skillsauth add b4san/ac-framework code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive code analysis for quality, security, maintainability, and performance optimization.
Use this skill when:
Check for common security vulnerabilities:
Input Validation:
Authentication & Authorization:
Data Protection:
Output Encoding:
Evaluate against design principles:
SOLID Principles:
Design Patterns:
Coupling & Cohesion:
Readability:
Maintainability:
Error Handling:
Efficiency:
Resource Usage:
Organize issues by severity:
## Code Review Report
### Critical (Block Merge)
1. [Security vulnerability description]
- File: path/to/file.ext:line
- Issue: [detailed explanation]
- Fix: [recommended solution]
### High (Should Fix)
1. [Performance or architecture issue]
...
### Medium (Nice to Have)
1. [Style or readability improvement]
...
### Low (Suggestions)
1. [Minor improvements]
...
### Positive Feedback
- [What was done well]
For each issue:
openspec-apply-change completesopenspec-verify-change until critical issues resolved## Security
- [ ] Input validation
- [ ] Authentication/authorization
- [ ] No secrets in code
- [ ] XSS/CSRF protection
## Architecture
- [ ] SOLID principles
- [ ] Appropriate patterns
- [ ] Low coupling
## Quality
- [ ] Naming clarity
- [ ] No duplication
- [ ] Error handling
- [ ] Comments where needed
## Performance
- [ ] Efficient algorithms
- [ ] No N+1 queries
- [ ] Proper async usage
## Testing
- [ ] Unit tests
- [ ] Integration tests
- [ ] Edge cases covered
## Documentation
- [ ] Code comments
- [ ] API docs
- [ ] README updated
secure-coding-cybersecurity - Deep security auditperformance-optimizer - Performance analysiscode-maintainability - Maintainability assessmentopenspec-verify-change - Verification with review gatesdevelopment
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Automate the generation and maintenance of unit, integration, and end-to-end tests, as well as test data generation and debugging. Use when writing tests for new features, maintaining existing tests after API/UI changes, generating synthetic test data, or debugging test failures. Essential for ensuring code quality and preventing regressions.
testing
Generate comprehensive test suites ensuring requirements are met. Strategies for Unit, Integration, and E2E testing.
development
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes