Individual skill
code-review-zh
写完代码、提交前或合并 PR 时使用;用户说“帮我 review”“提交前检查一下”“看看这次改动”“PR review”,或要求严格审查/合入门禁时也使用。
skills/code-review-zh/SKILL.md
Source commit 4965a94b5f8c5b94c4f1588bb5f2cd791b17bac1
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)
- 397
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-code-review Repository topic
- claude-code Repository topic
- code-review Repository topic
- codex Repository topic
- developer-tools Repository topic
- static-analysis Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesSKILL.mdcore · 13,467 bytesassets/code-review.mddoc · 2,157 bytesassets/report-labels.jsonasset · 2,248 bytesreferences/concurrency-examples.mddoc · 2,860 bytesreferences/output-schema.mddoc · 7,994 bytesreferences/probes.yamlasset · 1,230 bytesreferences/probes/behavior-review.mddoc · 7,735 bytesreferences/probes/impact-analysis.mddoc · 3,555 bytesreferences/probes/repo-guard.mddoc · 2,421 bytesreferences/probes/test-coverage.mddoc · 4,806 bytesreferences/rules/baseline-java.mddoc · 2,131 bytesreferences/rules/concurrency.mddoc · 4,030 bytesreferences/rules/exception-logging.mddoc · 4,472 bytesreferences/rules/index.mddoc · 1,720 bytesreferences/rules/naming-format.mddoc · 4,948 bytesreferences/rules/oop-collection.mddoc · 6,321 bytesreferences/rules/security.mddoc · 2,858 bytesreferences/rules/spring-performance.mddoc · 3,167 bytesreferences/rules/testing-engineering.mddoc · 4,652 bytesscripts/collect-metricsruns · 15,036 bytesscripts/lib-metricsruns · 37,776 bytesscripts/rule-grepruns · 10,380 bytesscripts/sync-results.pyruns · 20,542 bytes
Read excerpt
# 代码审查
> 检查代码缺陷、测试质量和变更影响,并确认已发现的问题是否闭环。
## 资源与执行位置
- `references/`、`scripts/`、`assets/` 均相对本次读取的 `SKILL.md` 所在目录。
- shell 命令从**被审项目根目录**执行;`docs/work/`、代码路径与项目规则均属于被审项目。
- 下文的 `CODE_REVIEW_SKILL_DIR` 指 skill 安装目录的绝对路径。每次 shell 调用都设置它,
或直接用实际绝对路径替换;不要假定不同 shell 调用会保留变量。
- 脚本需要 Bash 3.2+、Git、awk、grep、sed 等基础命令。通过 `bash` 调用,无需依赖可执行位。
- 报告解析需要 Python 3.9+ 和 PyYAML;默认调用 `python`,可用 `CODE_REVIEW_PYTHON` 指定解释器绝对路径。
安装方式见发布仓库 README;仓库内入口为 `scripts/install.py`。