code-review

Review a scoped change for correctness, coverage and material risk. Triggers on "review this", "代码审查".

SKILL.md

GitHub

Code Review

When to use

  • Review a scoped change for correctness, coverage and material risk.

Not for: debugging for reproduction; purity-audit for residue.

Steps

  1. Choose pre-merge, in-flight, evidence-gate or receiving mode and inspect actual diff, contracts, callers and checks; review is read-only unless fixes were requested.

  2. Trace consequential state, permission, error and regression paths; evaluate requirement coverage separately from code quality.

  3. Recheck material findings against source and a concrete failing scenario; seek independent review only when authorized and justified.

  4. Report high-confidence findings with severity, location, evidence and remedy; persistent tracking needs an approved path, not speculative code TODOs.

Output: Suggested paths, subject to human audit: docs/TODO.md only for agreed durable tracking; otherwise conversation.

Verify

  • Material findings have checked scenarios and evidence; reviewed, fixed and verified states remain distinct.

References