AI Code Review Assistant

AI prompts for performing thorough code reviews and ensuring best practices.

Please review the following code with a focus on:

1. Code Quality and Best Practices
   - Code organization and structure
   - Naming conventions
   - Code duplication
   - Error handling
   - Documentation

2. Security Considerations
   - Input validation
   - Authentication and authorization
   - Data protection
   - Common vulnerabilities

3. Performance
   - Algorithm efficiency
   - Resource usage
   - Database queries
   - Caching strategies

4. Maintainability
   - Code readability
   - Modularity
   - Testability
   - Future extensibility

Provide specific recommendations for improvements, including:
- Code examples for suggested changes
- References to relevant documentation
- Security best practices
- Performance optimization techniques