Code review prompt
A senior-engineer review with prioritised, concrete fixes. Fill in the blanks; anything left empty uses the example value shown.
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 ```
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
- Debug an error · Structured debugging from an error message and context.
- Custom GPT instructions · System instructions for a focused custom GPT or Claude Project.