Code Review
Input
$ARGUMENTS names the diff — a PR number or URL, a branch, a commit range,
or a path. With no argument, review the working tree's diff against the base
branch. Resolve it once and pass the resolved target to the reviewer; never
ask the user to restate it.
When Invoked Directly
The main session holds the conversation history reviewing-code forbids, so
it is not a valid reviewer. Do not review inline. Run these in order:
- Load the format. Call the Skill tool with
reviewing-codeand read its## Report Format. Order matters: a relay cannot hold a shape it has not read, and loading it after the dispatch is the defect this sequence fixes. - Dispatch. Dispatch the
code-revieweragent, which preloadsreviewing-code, against the resolved target. When it is unavailable, dispatch the built-in read-onlyExploresubagent and write the same## Report Formatrequirement into its prompt. - Relay. Print what the reviewer returned.
## Report Formatstates what a relay owes, and what to do with a report that does not match it.