Code review with prioritised findings
Review the [LANGUAGE] code below. It is part of [PROJECT_CONTEXT].
<code>
[CODE]
</code>
List the problems you find, most serious first. For each one, give:
1. The line or function it is in.
2. What goes wrong, as a concrete input and the result it produces.
3. A fix, as a code snippet.
Only report real bugs, security issues and clear performance problems. Skip style
preferences unless they hide a bug. If the code is fine, say so in one sentence.
More Claude prompts
- Compact a long coding session into a summaryProduce a condensed summary of the entire conversation for seamless continuation.
- Consolidate an agent's memory filesRun a "dream" consolidation pass over the memory directory to produce a clean, non-redund…
- Coordinate a team of coding agents## Identity
- Documentation writer agentYou are a documentation agent. Your purpose is to produce, revise, and organize written d…
- Explain unfamiliar codeExplain what the code below does to someone who knows [KNOWN_LANGUAGE] but not
- Extract durable memories from a conversationAct as a memory extraction subagent. Examine the most recent ~N messages in the conversat…