Prompt template

Code Review

Review code or a diff for concrete bugs, risks, regressions, and maintainability issues.

Code Or DiffGoalConstraints
chatgptthinking_highmulti_perspectivegrounded_facts
chatgpt variant
Claude-optimized prompt structure shaped for chatgpt.
# Task Review the code for bugs, risks, regressions, and maintainability issues. # Source Code Or Diff # Context Goal: Goal Constraints: Constraints # Instructions Base findings only on the provided code and context. Prioritize concrete issues over generic advice. Evaluate from correctness, reliability, security, and maintainability perspectives. Distinguish confirmed findings from lower-confidence concerns. # Output Return: 1. Findings ordered by severity 2. Open questions 3. Suggested fixes
claudethinking_highmulti_perspectivegrounded_facts
claude variant
Claude-optimized prompt structure shaped for claude.
<task>Review the code for bugs, risks, regressions, and maintainability issues.</task> <source>Code Or Diff</source> <context> <goal>Goal</goal> <constraints>Constraints</constraints> </context> <instructions> Base findings only on the provided code and context. Prioritize concrete issues over generic advice. Consider correctness, reliability, security, and maintainability. Separate confirmed findings from lower-confidence concerns. </instructions> <output> Return findings ordered by severity, open questions, and suggested fixes. </output>
geminithinking_highmulti_perspectivegrounded_facts
gemini variant
Claude-optimized prompt structure shaped for gemini.
Review the provided code or diff. Source: Code Or Diff Additional context: - Goal: Goal - Constraints: Constraints Evaluate from these perspectives: - Correctness - Reliability - Security - Maintainability Return: - Findings ordered by severity - Open questions - Suggested fixes

Related templates

More templates in the same working category.

SQL Query Generator
Generate the simplest correct SQL query and ask clarifying questions when schema or goal is ambiguous.
Troubleshooting Runbook Generator
Create troubleshooting runbooks from symptoms, systems, and constraints with diagnostic steps, likely causes, and escalation points.