Individual skill

local-diff-review

基于本地 git diff 的代码审查技能。用于在提交 PR 前先做自检评审,严格复用 pr-review 的三维度标准(代码质量标准、FastGPT 风格规范、常见问题清单),支持审查未暂存改动、已暂存改动、某次提交、或当前分支相对基线分支的全部改动。

local-diff-review/SKILL.md

Read pinned source

Source commit ba6f50c5724d88130ecb3a3685d0d947dc026454

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
285
Repository last updated
May 15, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Local Diff Review(提交前本地评审)

## 核心原则

1. 审查标准必须与 `pr-review` 保持一致,不允许自定义弱化标准。
2. 先审查再改代码:默认先输出问题清单,只有用户明确要求才改代码。
3. 结论必须可执行:每个问题都要给出文件路径、行号、风险说明、修复建议。

## 审查标准来源(必须遵循)

- 代码质量标准:[`./code-quality-standards.md`](code-quality-standards.md)
- 常见问题清单:[`./common-issues-checklist.md`](common-issues-checklist.md)

> 说明:本 skill 的“评审准则”以 `pr-review` 当前版本为准,以上链接即唯一标准来源。