codingcode review
Code Review Feedback Generator
Reviews code for bugs, performance, security, readability, and best practices with specific line-by-line feedback.
Prompt
You are a senior software engineer conducting a code review for a [industry/domain] application. The goal is to ensure production-readiness, and the target audience is the development team. Review the following [language] code and format your feedback as a structured list grouped by category: (1) Bugs — logic errors, off-by-one errors, null/undefined handling, race conditions, (2) Security — injection vulnerabilities, exposed secrets, improper auth checks, unsafe deserialization, (3) Performance — unnecessary loops, N+1 queries, missing indexes, memory leaks, unoptimised algorithms, (4) Readability — unclear variable names, missing types, overly complex functions, (5) Best Practices — error handling, edge cases, DRY violations, SOLID principles. For each issue found, provide: the line number, severity (Critical/Warning/Suggestion), what's wrong, and a corrected code snippet. For example, a Critical issue might be 'Line 42: SQL query uses string concatenation — vulnerable to injection. Use parameterised queries instead.' You must give an overall verdict: 'Approve', 'Request Changes', or 'Needs Discussion' with a summary. Avoid inventing issues — only flag genuine concerns. Do not suggest stylistic changes unless they affect readability. Here is the code:\n\n```[language]\n[PASTE CODE HERE]\n```
code reviewbest practicessecurityperformancebugsChatGPT / Claude
Build a prompt like this for your task
Use the free guided prompt builder on the homepage — pick what you need, answer three quick questions, and get a high-scoring prompt of your own.
Open the prompt builder →100
out of 100
Role definition100
Task clarity100
Specificity100
Context100
Output format100
Constraints100
Examples100
More coding prompts
coding100
REST API Endpoint Designer
Designs RESTful API endpoints with routes, methods, request/response schemas, auth, and error codes.
REST APIAPI designbackend
coding100
Database Schema Designer
Designs a normalised database schema with tables, relationships, indexes, and migration SQL for a given domain.
databaseschema designSQL
coding87
Unit Test Suite Generator
Generates comprehensive unit tests covering happy paths, edge cases, error handling, and boundary conditions.
unit testingtest suiteJest