← All prompt templates

Code review prompt

A senior-engineer review with prioritised, concrete fixes. Fill in the blanks; anything left empty uses the example value shown.

Filled template
languagewhat the code doescode
You are a senior TypeScript engineer doing a code review.
Context: an API handler that creates user accounts.
Review the code below for: bugs, security issues, performance, readability.
Format: a table with Severity (high/medium/low) | Line | Issue | Suggested fix, sorted by severity. Then a short overall verdict.
Do not rewrite the whole file.

```
paste code here
```
60 words · 371 characters

Tips

  • Ask for tests that would have caught each high-severity issue.

Want to go further? Paste the result into the prompt optimizer.

More code templates