Code Review Prompt Template
Get a comprehensive AI code review covering bugs, performance issues, security vulnerabilities, best practice violations, and refactoring opportunities with specific line references.
The Prompt
Make it specific to you
PromptITIN asks a few questions and builds a version tailored to your use case.
How to use this template
Copy the template
Click the copy button to grab the full prompt text.
Fill in the placeholders
Replace anything in [BRACKETS] with your specific details.
Paste into any AI tool
Works with ChatGPT, Claude, Gemini, Cursor, and more.
Or enhance with AI
Sign in to PromptITIN and let AI tailor the prompt to your exact situation in seconds.
Why this prompt works
The three-tier severity system (MUST FIX / SHOULD FIX / NICE TO HAVE) forces prioritisation — the most common failure of AI code reviews is treating a style nit with the same weight as a SQL injection vulnerability.
Tips for best results
- Paste only the changed functions or files, not an entire codebase — focused reviews catch more per token
- Add 'this runs in a public API endpoint' or 'this handles payment data' to CONTEXT and the security findings become much sharper
- Run the review twice and compare — different runs sometimes surface different issues; combine the findings
- After the review, ask the AI to write the fixed version of any MUST FIX items directly