AGENT SKILL

review-work

Use when work needs review before it lands — uncommitted changes before committing, a pull request before merging, or several PRs reviewed in parallel. For hardening a plan Issue with the lens panel, use /claudna:ironclad. Replaces /review-changes, /review-pr.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
review-work
requires
[ { "cli": "gh", "reason": "PR diff/metadata reads and review submission for the pr and multi-pr modes" } ]
description
Use when work needs review before it lands — uncommitted changes before committing, a pull request before merging, or several PRs reviewed in parallel. For hardening a plan Issue with the lens panel, use /claudna:ironclad. Replaces /review-changes, /review-pr.
argument-hint
[changes|pr|multi-pr] [PR-numbers-or-args]
user-invocable
true

02 资源文件 6

03 SKILL.md 正文

Review Work

Codex: Read ../_shared/codex-tools.md before following this skill. Apply its tool, root and dispatch mappings throughout.

One engine for code review — changes, pr, and multi-pr as modes over the same verification discipline: evidence before approval, findings ranked by severity, never a rubber stamp.

Read ../_shared/visual-evidence.md §1 and assess the existing evidence decision against the change's risk and claims; change it only for a concrete gap or changed scope/requirements. none needs no media packet; screenshots need no video. For selected media, assess source freshness, behavioral proof and published rendering/playback as applicable. Follow the mode's provenance gate before executing app code. Local capture/validation may be ready while PR verification is pending; report those states separately. Carry the same decision and reuse the packet and its owner for automatic cleanup, without recapturing by default.

Mode dispatch

Arguments to dispatch (first token = mode, the rest belong to the mode): $ARGUMENTS

Mode When Depth
changes Uncommitted local changes, reviewed before committing changes.md
pr One open pull request, reviewed before merging pr.md
multi-pr Two or more PRs reviewed in parallel — per-PR verdicts plus cross-PR findings and merge order multi-pr.md

For the selected mode, read ONLY its depth file in this skill directory and follow it exactly — never load another mode's depth.

No mode token → infer only when the signal is unambiguous, rules checked in order — first match wins:

  • Dirty working tree and no PR reference in the request → changes.
  • Exactly one PR number or URL → pr.
  • Two or more PR references → multi-pr.
  • Anything else → print the table above and stop — never ask a blocking question when the table answers it.
  • Headless / non-interactive contexts: the mode token is required — never inferred.

Shared support files

The three support files in this skill directory — review-dimensions.md, severity-categories.md, red-flags-and-rationalizations.md — are pr.md's references and are shared by all modes: depth files and their subagents cite them by bare filename (same directory). Only the pr and multi-pr modes need gh; changes runs on git alone.

After the review

Whatever the verdict, if the review surfaced a reusable lesson — a non-obvious gotcha, a pattern worth repeating, a mistake worth not repeating — close with a one-line nudge: "worth keeping? /claudna:capture distills it into the vault for the next session." Keep it optional and light; skip it when the findings are purely local to this diff.

04 同仓库更多 Skills