Production Code Review Risk Map
Review a change for correctness, security, operability, and missing tests without rewriting everything.
Make it yours
Add your details and the prompt updates as you type. Or copy the reusable template to fill in later.
Why does each prompt ask different questions?
Each [PLACEHOLDER] in a prompt becomes a field. A meeting prompt may ask for notes; a learning prompt may ask for a topic. When you share your own prompt, you choose these placeholders. See an example →
Paste the code or diff, plus nearby code needed to understand it.
Describe the situation and any background the AI needs to know.
Add limits such as length, deadline, tone, or things to avoid.
Paste the test results you have, including any failing cases.
Your prompt
The complete template, ready to reuse.
Free to copy. No account needed.
Try it in your AI tool
Choose a tool to copy this prompt and open a new tab. Paste it there to get started.
Your chosen service may require sign-in. Features and usage limits vary; choose a tool that supports the result you want.
Paste into your AI tool, run it, and review the result.
What to expect
A severity-ranked review with concrete failure paths, minimal fixes, and regression tests.
This describes the intended result. Review your output for accuracy and fit.
A little context goes a long way
- Fill in the details above, or replace any remaining [placeholders] after copying.
- Include the diff and nearby code, not an isolated function.
- Provide architecture and deployment constraints.
- Verify high-severity findings before changing code.
Make the result work for you
Use this as a starting point in your AI tool. Results vary by tool and context. Check the output, add what’s missing, and ask for a revision.
New to prompts? Start here