Initial commit
This commit is contained in:
39
commands/review.md
Normal file
39
commands/review.md
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user