code-review-zh SKILL.md skillA

code-review-zh from kyy-logs/code-review-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kyy-logs/code-review-skill/code-review-zh@git:20261105.4708d4d

Pins git:20261105.4708d4d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kyy-logs/code-review-skill
Path
skills/code-review-zh/SKILL.md
Versions recorded
7
Latest version
git:20261105.4708d4d, committed Nov 5, 2026
First version recorded
Nov 1, 2026
Size
13,467 bytes
Repository stars
339
License
MIT

写完代码、提交前或合并 PR 时使用;用户说“帮我 review”“提交前检查一下”“看看这次改动”“PR review”,或要求严格审查/合入门禁时也使用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 代码审查

> 检查代码缺陷、测试质量和变更影响,并确认已发现的问题是否闭环。

## 资源与执行位置

- `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`。

## 适用范围

- 审查影响代码行为的功能、bug 修复、重构或配置变更。
- 不影响代码行为的纯文档、格式或错别字改动可跳过。
- 测试失败或尚未运行时仍可静态审查;报告须注明测试状态,不得宣称已满足合入条件。

## 输入

| 输入 | 必需 | 说明 |
|---|---|---|
| git 仓库 + 可 diff 的改动 | 是 | 明确审查未提交改动,还是已提交的 base/head 区间 |
| 验收标准 | 否 | 提供时按“可选收尾”逐条勾验 |
| 覆盖率数据 / 命令 | 否 | 提供时用于 `test-coverage` 的可选测量;未提供时仍执行相关测试代码的静态质量检查 |
| 规则包 | 否 | 默认 skill 内置 `references/rules/`;可用 `CODE_REVIEW_RULES_DIR` 覆盖 |
| 审查标识 | 否 | `{slug}`,默认 `<日期>-<主题>` |

产物根目录 `{output_root}` 默认 `docs/work`,可由项目 `.code-review/config.json` 的 `output_dir` 或 `CODE_REVIEW_OUTPUT_DIR` 覆盖。本次产物写入 `{output_root}/active/{slug}/`。

## 审查流程

> 检查项不写死在本文件里,由 `references/probes.yaml` 注册表驱动。
> 探针的实现细节在 `references/probes/<探针名>.md`;本文件负责**主流程编排及探针共同执行边界**。
>
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kyy-logs/code-review-skill/code-review-zh@sha256:7a67e91cb00fa3c5

The line at the top of this page pins the label git:20261105.4708d4d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dlpsu4vj6gkifj54.svg)](https://markdownregistry.com/a/art_dlpsu4vj6gkifj54)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Nov 1, 2026 and Nov 5, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261105.4708d4d latest2026-11-05 4708d4d 13,467 BA view · diff
git:20261105.268f82b2026-11-05 268f82b 13,363 BA view · diff
git:20261103.b54828d2026-11-03 b54828d 12,951 BA view · diff
git:20261102.a4b31e32026-11-02 a4b31e3 12,917 BA view · diff
git:20261101.3baa3b32026-11-01 3baa3b3 12,157 BA view · diff
git:20261101.11b8bb92026-11-01 11b8bb9 11,367 BA view · diff
git:20261101.5bbb0cc2026-11-01 5bbb0cc 11,364 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13467 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kyy-logs/code-review-skill · 339 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dlpsu4vj6gkifj54
GET https://markdownregistry.com/api/v1/resolve?ref=kyy-logs/code-review-skill/code-review-zh
GET https://markdownregistry.com/api/v1/blob/7a67e91cb00fa3c5045799e3ad9e651cd9fb68cdb108ae002727f20f102b7f68

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kyy-logs/code-review-skill

code-review SKILL.md skill
kyy-logs/code-review-skill · skills/code-review/SKILL.md · Use when code has been written, before committing, or when merging a PR; also when the user says "review my code"…
git:20261105.4708d4d · audit A · 339 stars

Every file in kyy-logs/code-review-skill

Browse by kind, by grade A, or by owner.