Prompt 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:
🦥 Sloth-tastic! Copied!