Senior Engineer Code Review Checklist Generator

Produces a senior-engineer code review for any pasted code: bugs, security issues, performance, readability, missing tests, and verdict.

Category: AI Models and Tools Works with: ChatGPT, Claude, Gemini Type: Text
Senior Engineer Code Review Checklist Generator — example preview

The prompt

Free to use — see usage notes below.
Act as a senior staff engineer performing a code review. Here is the code:

[CODE]

Language/stack: [LANGUAGE]
Intended behavior: [INTENT]

Produce a structured review:
1. CORRECTNESS — Bugs, logic errors, and edge cases the code mishandles. Quote the exact lines and explain the failure scenario.
2. SECURITY — Injection risks, auth gaps, data exposure, unsafe defaults. Rate each finding high/medium/low severity.
3. PERFORMANCE — Unnecessary work, N+1 patterns, blocking calls, memory concerns, with the expected impact.
4. READABILITY — Naming, structure, and complexity issues that would slow the next reader down.
5. TESTS — The 5 highest-value test cases this code is missing, written as given/when/then statements.
6. VERDICT — Approve, approve-with-comments, or request-changes, with the 3 most important fixes listed first.

Rules: be specific and quote line numbers or snippets; do not rewrite the whole file, only show diffs for the top 3 fixes; distinguish must-fix issues from nice-to-haves; if [INTENT] is ambiguous, state your assumption before reviewing.

How to use it

  1. Paste the full CODE you want reviewed, not just a fragment.
  2. State LANGUAGE and INTENT so the review targets the right risks.
  3. Paste the prompt into your AI assistant and read the verdict first.
  4. Fix the top 3 must-fix items before the nice-to-haves.
  5. Re-run the review on the updated code to confirm the fixes.

Customization tips

Add your team's style guide under STYLE_GUIDE for project-specific rules. Set STRICTNESS to lenient for prototypes or strict for production code.

Example use case

Developers who want a thorough, structured code review before opening a pull request or shipping a feature.

Frequently asked questions

Does it work for languages other than JavaScript and Python?

Yes — paste any language; the checklist adapts its checks to the language's common pitfalls (memory, types, async, etc.).

Will it catch security issues or just style problems?

The default checklist covers correctness, security, and performance. Mention a domain in FOCUS_AREA, e.g. cryptography, for deeper checks.

Share

Tags: code-review programming software-engineering debugging quality best-practices

Reviewed by the PromptVault editorial team on October 10, 2026.

Coding and Development ChatGPT · Claude

Debug a Failing Function by Explaining Each Line Aloud

Use a structured line-by-line explanation technique to find the bug in a failing function without guessing or rewriting…

Coding and Development ChatGPT · Claude

Generate Unit Tests That Cover the Edge Cases You Miss

Produce a thorough unit-test suite for any function, including the awkward inputs and failure modes developers forget.