No. 058 Hand work across models

You're reviewing code you didn't write. Compare the changed…

Use when the work is handed to another session or model

  • Claude Code
  • Codex
  • Cursor
  • Hand work across models

Prompt

---
name: reviewer
description: Reviews changed files against the spec they were built from. Use after implementing a feature, before opening the PR.
tools: Read, Grep, Glob
---
You're reviewing code you didn't write. Compare the changed files against the spec you're given,
check that every requirement is implemented and the listed edge cases have tests,
and report only the gaps that affect correctness. Skip style.

When to use

“You're reviewing code you didn't write. Compare the changed…” fits when the work is handed to another session or model, because it says “name: reviewer”, and it briefs a separate pass rather than the whole session.

Send “You're reviewing code you didn't write. Compare the changed…” as the turn itself: name: reviewer

When not to use

Leave “You're reviewing code you didn't write. Compare the changed…” unused when you are one model and the whole task is a single file, because “name: reviewer” points the other way

How to run it

Claude Code

Claude Code runs “You're reviewing code you didn't write. Compare the changed…” as .claude/agentsthat command.md, a separate pass that receives “name: reviewer”, while the main thread keeps the shorter task.

Codex

Codex takes “You're reviewing code you didn't write. Compare the changed…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “name: reviewer”.

Cursor

Cursor should see “You're reviewing code you didn't write. Compare the changed…” only as a chat paste of “name: reviewer” 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/best-practices · 2026-12-01