The Prompt
Create a comprehensive code review checklist for [language/framework] code. Code details: - Language: [Python/JavaScript/Java/other] - Framework: [React/Django/Spring/other] - Type of change: [feature/bug fix/refactor/performance] - PR size: [small/medium/large] Review checklist categories: FUNCTIONALITY - Does the code do what it is supposed to do? - Are edge cases handled? - Is error handling implemented? - Are there any obvious bugs? CODE QUALITY - Is the code readable and self documenting? - Are variable and function names clear? - Is the code DRY (Don't Repeat Yourself)? - Is complexity minimized? - Are functions small and focused? SECURITY - Are inputs validated and sanitized? - Is authentication/authorization correct? - Are secrets hardcoded? (should not be) - SQL injection prevention? - XSS prevention? PERFORMANCE - Are there obvious performance issues? - Are database queries optimized? - Is caching used appropriately? - Are there any memory leaks? TESTING - Are unit tests included? - Is test coverage adequate? - Do all tests pass? - Are edge cases tested? DOCUMENTATION - Is code commented where needed? - Is README updated? - Are API docs updated? Format as detailed checklist with pass/fail/NA options
Copied 1 times
How to Use This Prompt
- Click Copy Prompt above
- Open ChatGPT or Claude
- Paste the prompt and replace anything in [brackets] with your own details
- Press Enter and get your result instantly
Pro Tip
The more specific you are when replacing the [brackets], the better your result. For example instead of writing [Job Title] write "Senior Software Engineer with 5 years experience" — specificity is what separates a good AI response from a great one.
This prompt works best with ChatGPT . If you are not happy with the first result, try adding "make it more concise" or "give me 3 alternative versions" as a follow-up message.