No. 028 Review the diff
Review my uncommitted changes and flag anything that looks…
Use when a diff needs a second pass that stops at findings
- Claude Code
- Codex
- Cursor
- Review the diff
review my uncommitted changes and flag anything that looks risky before I commit
When to use
“Review my uncommitted changes and flag anything that looks…” fits when a diff needs a second pass that stops at findings, because it says “review my uncommitted changes and flag anything that looks risky before I commit”, and that published sentence is the whole assignment.
Send “Review my uncommitted changes and flag anything that looks…” as the turn itself: review my uncommitted changes and flag anything that looks risky before I commit
When not to use
Leave “Review my uncommitted changes and flag anything that looks…” unused when you wanted the fix applied in the same turn, because “review my uncommitted changes and flag anything that looks risky before I commit” points the other way
How to run it
Claude Code
Claude Code takes “Review my uncommitted changes and flag anything that looks…” as one paste at the repo root. Do not also save .claude/commands, or “review my uncommitted changes and flag anything that looks risky before I commit” replays on the next task.
Codex
Codex takes “Review my uncommitted changes and flag anything that looks…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “review my uncommitted changes and flag anything that looks risky before I commit”.
Cursor
Cursor should see “Review my uncommitted changes and flag anything that looks…” only as a chat paste of “review my uncommitted changes and flag anything that looks risky before I commit” for this turn. A file at .cursor/rules would keep applying after the turn ends.
Comparison
对比待补
This before-and-after was not run on this machine.
Related
- Stage: Review the diff
- Same stage: Review PR #{pr} and summarize what changed, then list any…
来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01