| name | diff-review |
| description | Review the diff described by a generated handoff Markdown file and produce a high-signal Simplified Chinese review. Use when asked to review the latest pushed diff, inspect a handoff Markdown file, or output a Chinese review for a specified change set. |
Diff Review
Use this skill when the prompt asks you to review a generated handoff file for a change set.
Workflow
- Read the handoff Markdown file first.
- Extract the diff range, changed files, summary, review focus items, and validation notes from that file.
- Inspect only that diff range and the referenced files.
- Use read-only git commands such as:
git diff --stat --unified=3 <diff-range>
git diff --name-only <diff-range>
git show --stat --name-only <head-sha>
- Do not modify files or run write operations.
Review Priorities
Focus on:
- Logic errors
- Behavioral regressions
- Security or data-loss risks
- Missing tests around newly introduced risk
Ignore style-only issues unless they hide a real bug.
Output Format
Always output in Simplified Chinese.
Do not include process narration, internal step logs, or "Now let me..." style filler.
Start with findings immediately. Each finding should include:
- Severity
- File path
- Line reference when you can infer one
- Why it matters
- The smallest safe fix direction
If there are no significant findings, say ๆฒกๆๅ็ฐ้่ฆ็ซๅณๅค็็้่ฆ้ฎ้ขใ and then list any residual risks or test gaps.