Code Review Checklist ===================== 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 Source: https://promptzyo.com/prompt/code-review-checklist