prompts/prompt-code-reviewFeatured

Structured prompts for thorough code reviews

Collection of prompts for conducting comprehensive code reviews. Covers security analysis, performance review, best practices, error handling, and maintainability assessment. Designed for systematic code evaluation.

Content
# Code Review Prompt

Review the following code for:

1. **Security Issues**
   - Input validation
   - SQL injection risks
   - XSS vulnerabilities
   - Authentication/authorization

2. **Performance**
   - Unnecessary computations
   - N+1 queries
   - Memory leaks
   - Caching opportunities

3. **Best Practices**
   - DRY violations
   - SOLID principles
   - Error handling
   - Naming conventions

4. **Maintainability**
   - Code complexity
   - Documentation needs
   - Test coverage
   - Technical debt

Provide specific line references and suggested improvements.

Details

Categoryprompts
Tagsproductivitytestingsecurityintermediate
LicenseCC-BY-4.0
AuthorClaude Code Directory
Difficultyintermediate