No. 145 Review the diff
Argue as the strongest opponent
Assume the current plan is wrong, find what overturns it, and only then decide whether to keep it.
- Claude Code
- Codex
- Cursor
- Review the diff
译 First assume that the plan you currently consider most reasonable is wrong. From the standpoint of the strongest opponent, look for evidence, counterexamples, and edge cases that can overturn it. Then reassess the plan and see whether there is a better solution.
When to use
When a plan says ship now and add tests later, this prompt looks for the counterexample that mischarges or drops a row.
The input is a written migration whose conclusion is to switch traffic tonight.
When not to use
When the build is already red and the compiler names the line, do not open with an opposition review.
How to run it
Claude Code
Paste it into a Claude Code review session and have it produce counterexamples without editing files.
Codex
Paste it as a review task with the plan attached. Do not mix it into the same codex exec that implements the plan.
Cursor
Paste it in the chat that is reading the diff. A .cursor/rules file would demand a self-rebuttal while a new function is being written.
Comparison
对比待补
This before-and-after was not run on this machine.
Related
- Stage: Review the diff
- Same stage: Inspect the slowest recent PRs
来源:数字生命卡兹克 · https://x.com/Khazix0918/status/2122268349707219333 · 2026-12-02