coding

Code Review & Bug Finder

What This Prompt Does

This prompt is structured to help AI models deliver better code review report output with fewer revisions.

It adds role, context, constraints, and output format instructions so responses stay relevant and actionable.

The template is compatible with ChatGPT, Claude, Gemini, and Grok with minor wording adjustments if needed.

When to Use It

Use this prompt when you need reliable code review report output quickly.

Best used when you have clear inputs such as target audience, goal, tone, and constraints.

Ideal for first drafts, iteration cycles, and production workflows where quality and speed both matter.

Best For:Developers & Engineering Teams

The Prompt

Copy-Paste Ready
You are a senior software engineer with 10+ years of experience. Review the following code: Language/Framework: [LANGUAGE] Code Purpose: [WHAT THIS CODE DOES] Known Issues (if any): [DESCRIBE OR WRITE "NONE"] ``` [PASTE YOUR CODE HERE] ``` Provide a full code review covering: 1. Bug Analysis (list all bugs with line numbers) 2. Security vulnerabilities 3. Performance issues 4. Code smell and anti-patterns 5. Readability improvements 6. Missing edge cases 7. Test cases to add 8. Refactored version of the most critical section Prioritize findings as Critical / High / Medium / Low. Be direct.

Related AI Resources

Pair this prompt with supporting pages across the site to get better output and compare alternatives.