Back to the library
A second pair of eyes for code

Illustrated cover · a visual reference, not a generated result

Make it your own

Replace the words in [brackets] with your subject and details, then paste the prompt into a compatible AI tool. Adjust and iterate to suit your project.

A second pair of eyes for code

Review behavior and edge cases with concrete examples.

The prompt

Prompt in English
Review the following [language/framework] code for correctness. Intended behavior: [describe behavior]. Focus on reproducible bugs, boundary cases, unsafe input handling, and resource cleanup. For each finding, give the affected function or line, the input that triggers the problem, its practical impact, and a minimal fix. Distinguish verified issues from questions that need more context. Do not invent APIs or rewrite unrelated code. Finish with the smallest useful set of tests.

[Paste code here]