Files
2025-11-29 18:18:45 +08:00

40 lines
900 B
Markdown

---
description: Request a comprehensive code review from AI experts
argument-hint: "[file_path or 'recent' for latest changes]"
---
Perform a comprehensive code review by invoking the @code-reviewer agent.
Focus on:
1. **Code Quality**
- Readability and maintainability
- Naming conventions
- Code organization and structure
2. **Security**
- Authentication and authorization
- Input validation
- Sensitive data handling
- SQL injection, XSS vulnerabilities
3. **Performance**
- Algorithm efficiency
- Memory usage
- Database query optimization
- Unnecessary computations
4. **Best Practices**
- Design patterns
- Error handling
- Testing coverage
- Documentation
5. **Potential Bugs**
- Null pointer exceptions
- Race conditions
- Edge cases
- Logic errors
Provide specific, actionable feedback with code examples where appropriate.