chinese-code-review SKILL.md skillA
chinese-code-review from jnmetacode/superpowers-zh is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jnmetacode/superpowers-zh/chinese-code-review@v1.0.0Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jnmetacode/superpowers-zh
- Path
skills/chinese-code-review/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Oct 17, 2026
- First version recorded
- Mar 20, 2026
- Size
- 9,308 bytes
- Repository stars
- 8,456
- License
- MIT
中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-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
# 中文代码审查规范
## 概述
国内团队做 Code Review 常遇到两个极端:要么过度客气导致关键问题被放过,要么照搬西方直白风格让同事下不来台。本技能帮你找到平衡点——**既不回避问题,又让人愿意接受反馈**。
**核心原则:** 用"建议"代替"命令",用"提问"代替"否定",但绝不因为面子而放过 bug。
## 审查反馈的表达方式
### 用建议代替命令
| 避免(命令式) | 推荐(建议式) |
|---------------|---------------|
| 你必须改成 X | 建议考虑用 X,因为 Y |
| 这里写错了 | 这里可能存在一个问题,是否考虑过 Z 的情况? |
| 不要用这个方法 | 这个方法在 A 场景下可能有性能问题,可以看看 B 方案 |
| 这段代码不行 | 这段逻辑我理解得对吗?如果输入为空的话会怎样? |
### 用提问代替否定
当你不确定对方意图时,先问再评:
```
# 好的方式
这里用 sync 方式读文件是出于什么考虑?如果并发量上来,可能会阻塞事件循环。
# 不好的方式
这里不应该用 sync 方式读文件。
```
### 分级标注
统一使用优先级标记,让作者快速判断轻重缓急:
- **[必须修复]** — 安全漏洞、数据丢失风险、逻辑错误(不修不能合)
- **[建议修改]** — 性能问题、可维护性、缺少校验(本次或下次迭代修复)
- **[仅供参考]** — 命名优化、风格建议、替代方案(不改也行)
- **[问题]** — 不确定的地方,需要作者解释意图
### 审查评论模板
```
[必须修复] SQL 注入风险
第 42 行:用户输入直接拼接到 SQL 语句中。
原因:攻击者可以通过 name 参数注入 `'; DROP TABLE users; --`。
建议:使用参数化查询:
db.query('SELECT * FROM users WHERE name = ?', [name])
参考:https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html
```
## 中英混排代码注释规范
### 何时用中文
- **业务逻辑说明** — 用中文解释业务背景和需求来源
- **复杂算法注释** — 用中文写思路,确保团队成员都能理解
- **TODO / FIXME** — 用中文描述待办事项,方便搜索和追踪
- **文档注释(内部项目)** — JSDoc / Javadoc 中的描述文字用中文
```typescript
/**
* 计算用户的会员等级折扣
*
* 业务规则:
* - 普通会员 9.5 折
…Read the whole file at its exact version.
How to install
mdr add jnmetacode/superpowers-zh/chinese-code-review@sha256:7885d5f9abf2370bThe line at the top of this page pins the label v1.0.0, 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.
[](https://markdownregistry.com/a/art_ojevquisrvhvipoo)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Mar 20, 2026 and Oct 17, 2026, about one every 70 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-10-17 | 6a6d697 | 9,308 B | A | view · diff |
| v1.0.0 | 2026-06-16 | 952fc29 | 9,309 B | A | view · diff |
| git:20260508.392ff75 | 2026-05-08 | 392ff75 | 9,226 B | A | view · diff |
| git:20260320.80bc100 | 2026-03-20 | 80bc100 | 9,113 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9308 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
jnmetacode/superpowers-zh · 8,456 stars · license MIT · pushed 2026-10-26 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ojevquisrvhvipoo GET https://markdownregistry.com/api/v1/resolve?ref=jnmetacode/superpowers-zh/chinese-code-review GET https://markdownregistry.com/api/v1/blob/7885d5f9abf2370b1d496326c9ae204b7412765dc487e77fad2ebea43e4ee013
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.