Prompt type Code Review
Code Review
prompt generator.
Build rigorous AI code-review prompts covering correctness, security, performance, maintainability, and test gaps.
When to use it
Use this prompt type before merging a change, taking ownership of unfamiliar code, or auditing a risky implementation.
What the prompt specifies
Expect findings ranked by severity, references to affected code, impact explanations, concrete remediations, and corrected examples.
Strong starting idea
Review a Node.js authentication middleware for authorization bypasses, unsafe cookie handling, error leakage, and missing tests.
Refine the result
Use Add security for threat-focused review or Make shorter for a compact pull-request checklist.
Compile your code review prompt
Start with one sentence. You can edit, refine, compare, copy, and export the result.