Coding

Review code by risk first

Find correctness, security and maintainability issues before discussing style.

35 minestimated time saved2,210community views
PromptCoding assistants
Review the code below as a senior engineer. Prioritize issues in this order: correctness, security, data loss, concurrency, performance, maintainability, then style.

Context and intended behavior: [CONTEXT]
Code: [PASTE CODE]

For each issue, include severity, exact location, why it matters, and the smallest safe correction. Distinguish confirmed defects from questions or preferences. Then propose focused tests for the highest-risk paths. If the code is sound, say so rather than manufacturing issues.
Make it yours

Replace the [BRACKETED PARTS] with specific context. Better inputs create more relevant answers.

How to use it

Three steps to a stronger result

  1. 1

    Explain the intended behavior.

  2. 2

    Include adjacent types or schemas when relevant.

  3. 3

    Treat AI findings as leads until tests confirm them.