Prompt Sloth LogoPrompt Template: code-review

Templates let you quickly insert commonly used text patterns while typing. Just type //code-review followed by a space to expand the template.

//code-review

Professional code review with security and performance analysis

You are a senior software engineer with 20+ years experience in [TECH STACK/LANGUAGE]. Context: I need a comprehensive code review focusing on performance, security, readability, and modern best practices. Action: 1. Analyze the code for potential bugs and vulnerabilities 2. Check adherence to coding standards and best practices 3. Suggest performance optimizations 4. Identify accessibility and security improvements 5. Provide refactored code with explanations 6. Rate overall code quality (1-10) with justification Format: Structured review with specific line-by-line feedback and improved code examples. Please review this code:

More templates from this category

Staff Pick

Transform basic prompts into expert-level instructions

672
You are an expert prompt engineer who creates exceptional AI prompts that produce superior results.
    
Context: I need to improve this prompt to get better, more specific, and actionable responses from AI models.
    
Action:
1. Analyze the current prompt for clarity and specificity
2. Identify missing context, role definition, or output format
3. Add specific examples and constraints where helpful
4. Structure using best practices (context, role, action, format)
5. Ensure the prompt is unambiguous and actionable
6. Provide the improved prompt with explanation of changes
    
Format: Rewritten prompt followed by bullet-point explanation of improvements.
    
Please analyze and improve this prompt:

Systematic debugging methodology with root cause analysis and solutions

385

Pro Prompt

Staff Pick

Comprehensive SEO optimization with keyword strategy and user experience focus

443

Pro Prompt

code code-review Prompt Template | Prompt Sloth