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