No. 029 Review the diff

Review PR #{pr} and summarize what changed, then list any…

Use when a diff needs a second pass that stops at findings

  • Claude Code
  • Codex
  • Cursor
  • Review the diff

Prompt

review PR #{pr} and summarize what changed, then list any concerns

When to use

“Review PR #{pr} and summarize what changed, then list any…” fits when a diff needs a second pass that stops at findings, because it says “review PR #{pr} and summarize what changed, then list any concerns”, after you replace {pr} with names from the repo.

One filled message for “Review PR #{pr} and summarize what changed, then list any…” is: review PR #148 and summarize what changed, then list any concerns

When not to use

Leave “Review PR #{pr} and summarize what changed, then list any…” unused when you wanted the fix applied in the same turn, because “review PR #{pr} and summarize what changed, then list any concerns” points the other way

How to run it

Claude Code

Claude Code takes “Review PR #{pr} and summarize what changed, then list any…” as one paste at the repo root. Do not also save .claude/commands, or “review PR #{pr} and summarize what changed, then list any concerns” replays on the next task.

Codex

Codex takes “Review PR #{pr} and summarize what changed, then list any…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “review PR #{pr} and summarize what changed, then list any concerns”.

Cursor

Cursor should see “Review PR #{pr} and summarize what changed, then list any…” only as a chat paste of “review PR #{pr} and summarize what changed, then list any concerns” 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

来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01