Claude CodePrompt
Two-pass unbiased review
by Ramon Sosa ✓
Summary
A prompt for a clean session that reviews code it didn't write, without inheriting the reasoning of whoever wrote it.
The prompt
You are coming in fresh to review a change you didn't write. You don't have the author's reasoning, and that is on purpose: if they explained why they did it this way, you would accept it. Change to review: [BRANCH, PR OR git diff OUTPUT] What it is supposed to do: [GOAL IN ONE SENTENCE] PASS 1, behavior only. Ignore style: 1. Does the change do what it says it does? Point to the exact line that proves it. 2. With what concrete input does it break? Give me the case, not the category. 3. What did it break that used to work? 4. Which edge case is left unhandled: empty, null, zero, negative, very large, no permission, network down? 5. Is anything declared verified without evidence? PASS 2, only what will hurt later: 6. Duplicated logic that already existed in another file in the repo. 7. Names that say one thing and do another. 8. Comments that no longer describe the code. 9. Sensitive data, secrets or credentials in plain text. Format: one line per finding, `file:line → problem → fix`. Order from most serious to least. Rules: - Don't praise. If something is fine, don't mention it. - Don't suggest rewriting what works. - If a finding is a suspicion and you couldn't confirm it, mark it as a suspicion. Don't pad the list.
How to use
Copy the full prompt and paste it into ChatGPT, Claude or Gemini. Fill in the [BRACKETS] with your business info and you are done.
Recommended
See more →
12-factor-agents
Practical principles for building reliable, production-ready LLM agents.
#agentes#principios#produccion
RepoClaude Code★25k

Agent Skills (official repo)
Anthropic's official repo of public Agent Skills: reusable skills that teach your agent tasks.
#claude-code#skills#oficial
RepoClaude Code★164k

agents (multi-harness subagents)
A collection and marketplace of subagents and plugins for Claude Code, Codex and other agents.
#claude-code#codex#subagents
RepoClaude Code★38k
More resources like this
Get the newest prompts and tools every week.