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
| Category | prompts |
| Tags | productivitytestingsecurityintermediate |
| License | CC-BY-4.0 |
| Author | Claude Code Directory |
| Difficulty | intermediate |
Pairs with
prompts/prompt-debugging
Systematic prompts for debugging complex issues
prompts/prompt-refactoring
Prompts for safe and systematic code refactoring
mcp-servers/mcp-server-filesystem
Secure file system access with configurable permissions and sandboxing
mcp-servers/mcp-server-memory
Persistent memory and knowledge graph for Claude conversations