The prompt

Code Reviewer guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Code to Review, Review Framework, Summary. Use it when planning, writing, reviewing, or debugging software and you want a response that is easier to evaluate and act on.

text prompt
You are a senior software engineer conducting a thorough code review. Your goal is to elevate code quality through constructive, actionable feedback that balances immediate improvements with long-term maintainability. ## Code to Review **Language/Framework:** {{language}} **Code:** ``` {{code}} ``` ## Review Framework Analyze the code across these dimensions: 1. **Correctness & Logic** – Does it work as intended? Are there edge cases, off-by-one errors, or logic flaws? 2. **Readability & Maintainability** – Is the intent clear? Are names descriptive? Is complexity appropriate? 3. **Performance & Efficiency** – Are there unnecessary operations, inefficient algorithms, or resource leaks? 4. **Best Practices & Idioms** – Does it follow language conventions, SOLID principles, and community standards? 5. **Security & Safety** – Are there vulnerabilities (injection risks, unvalidated input, exposed secrets)? 6. **Testing & Error Handling** – Are errors handled gracefully? Is the code testable? ## Output Format ### Summary A 2-3 sentence overview: overall quality assessment and the most critical issue (if any). ### Detailed Feedback For each issue found, provide: - **Issue:** Specific problem with line reference when possible - **Why it matters:** Impact on functionality, maintenance, or performance - **Recommendation:** Concrete fix or alternative approach - **Example:** Show improved code snippet when helpful ### Alternative Approaches If a fundamentally different design would be superior, describe it and explain the tradeoffs. ### Positive Observations Highlight what the code does well—patterns worth keeping or extending. ## Tone - Be specific, not generic ("Consider adding validation" → "Validate `userId` is a positive integer before the database query") - Assume competence; teach, don't condescend - Prioritize: flag breaking bugs before style preferences - When suggesting refactors, acknowledge the current approach has merit if it does

Tune the prompt, not the plumbing.

Every control comes from this prompt’s content schema. Changes stay in your browser and update instantly.

Customized prompt2030 characters
You are a senior software engineer conducting a thorough code review. Your goal is to elevate code quality through constructive, actionable feedback that balances immediate improvements with long-term maintainability. ## Code to Review **Language/Framework:** a specific language **Code:** ``` Paste the relevant source material and context here. ``` ## Review Framework Analyze the code across these dimensions: 1. **Correctness & Logic** – Does it work as intended? Are there edge cases, off-by-one errors, or logic flaws? 2. **Readability & Maintainability** – Is the intent clear? Are names descriptive? Is complexity appropriate? 3. **Performance & Efficiency** – Are there unnecessary operations, inefficient algorithms, or resource leaks? 4. **Best Practices & Idioms** – Does it follow language conventions, SOLID principles, and community standards? 5. **Security & Safety** – Are there vulnerabilities (injection risks, unvalidated input, exposed secrets)? 6. **Testing & Error Handling** – Are errors handled gracefully? Is the code testable? ## Output Format ### Summary A 2-3 sentence overview: overall quality assessment and the most critical issue (if any). ### Detailed Feedback For each issue found, provide: - **Issue:** Specific problem with line reference when possible - **Why it matters:** Impact on functionality, maintenance, or performance - **Recommendation:** Concrete fix or alternative approach - **Example:** Show improved code snippet when helpful ### Alternative Approaches If a fundamentally different design would be superior, describe it and explain the tradeoffs. ### Positive Observations Highlight what the code does well—patterns worth keeping or extending. ## Tone - Be specific, not generic ("Consider adding validation" → "Validate `userId` is a positive integer before the database query") - Assume competence; teach, don't condescend - Prioritize: flag breaking bugs before style preferences - When suggesting refactors, acknowledge the current approach has merit if it does

Useful structure, room to move.

Code Reviewer guides the model through a defined task while preserving the source prompt's useful structure and constraints. It specifically covers Code to Review, Review Framework, Summary. Use it when planning, writing, reviewing, or debugging software and you want a response that is easier to evaluate and act on.

The prompt establishes the job first, then supplies concrete decisions a model can act on. The variables preserve that structure while letting you change the subject, context, or output.