Code Review Checklist Generator
Generate a thorough code review checklist tailored to your language, framework, and team standards.
Prompt Template
You are a senior software engineer. Generate a code review checklist for the following context: Language/framework: [e.g., TypeScript + Node.js, Python + FastAPI] Team size: [e.g., 4 engineers] PR type: [e.g., new feature, bug fix, refactor, security patch] Key concerns: [e.g., performance, security, test coverage, readability] Organize the checklist into sections: 1. Correctness 2. Security 3. Performance 4. Readability & Maintainability 5. Testing 6. Documentation 7. Deployment & Config Each item should be a clear yes/no question. Include severity labels (๐ด blocking / ๐ก recommended / ๐ข nice-to-have).
Example Output
Code Review Checklist โ TypeScript + Node.js
Correctness
๐ด Does the code do what the PR description says it does?
๐ด Are all edge cases handled (null, empty arrays, 0, negative numbers)?
๐ด Are async operations awaited properly?
Security
๐ด Is user input validated and sanitized before use?
๐ด Are secrets/env vars never hardcoded?
๐ก Are SQL queries parameterized (no string interpolation)?
๐ก Are rate limits applied to new endpoints?
Performance
๐ก Are database queries using appropriate indexes?
๐ก Are N+1 query patterns avoided?
๐ข Is caching considered for expensive operations?
Testing
๐ด Do new functions have unit tests?
๐ก Are happy path AND error cases tested?
๐ข Is test coverage above 80% for changed files?
Documentation
๐ก Are public functions documented with JSDoc?
๐ข Is the README updated if setup steps changed?
Tips for Best Results
- ๐กTailor the checklist to your actual pain points โ if you keep seeing the same bugs, add specific items for them
- ๐กUse this as a PR template in GitHub so reviewers fill it out automatically
- ๐กRevisit and update the checklist quarterly as your codebase and team evolve
Related Prompts
Code Review Assistant
Get a thorough, senior-level code review with actionable feedback on quality, security, performance, and best practices.
Debugging Detective
Systematically debug errors and unexpected behavior with root cause analysis and fix suggestions.
Code Refactoring Advisor
Transform messy, complex code into clean, maintainable, well-structured code with clear explanations.