chinese-code-review

chinese-code-review is a skill for Claude Code, Codex from jnMetaCode/superpowers-zh. It costs 62 tokens per session (2,594 once invoked), scanned A, original, MIT.

A Chinese-language code-review communication guide with templates and severity levels for review comments.

In plain words
What is it for?
Writing Chinese review comments, marking issues as required fixes or suggestions, and handling common team communication patterns.
Why use it?
It helps reviewers point out bugs and risks clearly while keeping feedback constructive and easy for the author to act on.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Part of the superpowers-zh plugin — 20 skills, 1 hook shipped together

not rated 8.0krepo +66 today A scan Socket: passSnyk: passSkillSpector: pass 62 tokens original MIT

Good fit Writing Chinese review comments, marking issues as required fixes or suggestions, and handling common team communication patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jnmetacode/superpowers-zh/chinese-code-review
About the project

superpowers-zh is a Chinese community edition of superpowers, a collection of practical skills and development methods for AI coding tools. It helps users apply workflows such as brainstorming, test-driven development, debugging, code review, and other programming tasks across supported coding agents. The catalogue add-ons are the project's translated and original skills, instructions, hook, and plugin components.

jnMetaCode/superpowers-zh · 8,019 stars · on GitHub · sp.aiolaola.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jnMetaCode/superpowers-zh --skill chinese-code-review
Clone the repo
git clone --depth 1 https://github.com/jnMetaCode/superpowers-zh

Made for: Claude Code, Codex.

Or install superpowers-zh, the plugin that ships this one along with the rest of its 20 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chinese-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/jnmetacode/superpowers-zh/chinese-code-review/github.svg)](https://agentmods.dev/skills/jnmetacode/superpowers-zh/chinese-code-review)
Your own site
<a href="https://agentmods.dev/skills/jnmetacode/superpowers-zh/chinese-code-review"><img src="https://agentmods.dev/badge/skills/jnmetacode/superpowers-zh/chinese-code-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chinese-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/jnmetacode/superpowers-zh/chinese-code-review"><img src="https://agentmods.dev/badge/skills/jnmetacode/superpowers-zh/chinese-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 10 May 2026
  • Snyk pass 10 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02594
Opus 5 $0.00031 $0.01297
Sonnet 5 $0.00012 $0.00519
Haiku 4.5 $0.00006 $0.00259

Measured 9d ago against content hash 51326bc6e097, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

chinese-code-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/chinese-code-review/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.

中文代码审查规范

概述

国内团队做 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 = $1', [name])

参考:https://cheatsheetseries.owasp.org/cheatsheets/SQL_Injection_Prevention_Cheat_Sheet.html

中英混排代码注释规范

何时用中文

  • 业务逻辑说明 — 用中文解释业务背景和需求来源
  • 复杂算法注释 — 用中文写思路,确保团队成员都能理解
  • TODO / FIXME — 用中文描述待办事项,方便搜索和追踪
  • 文档注释(内部项目) — JSDoc / Javadoc 中的描述文字用中文
/**
 * 计算用户的会员等级折扣
 *
 * 业务规则:
 * - 普通会员 9.5 折
 * - 银卡会员 9 折
 * - 金卡会员 8.5 折
 * - 钻石会员 8 折
 *
 * @param level - 会员等级(MemberLevel enum)
 * @param amount - 原始金额(单位:分)
 * @returns 折后金额(单位:分)
 */
function calculateDiscount(level: MemberLevel, amount: number): number {
  // ...
}

何时用英文

  • 变量名、函数名、类名 — 始终用英文命名,遵循团队命名规范
  • Git commit message — 参考下方 commit 规范
  • 开源项目注释 — 面向国际社区的项目,注释统一用英文
  • 错误信息和日志 — 生产环境的 error message 用英文(避免编码问题)
  • API 接口文档 — 对外暴露的 API 用英文

混排格式要求

// 好:中英文之间加空格
// 使用 Redis 缓存来减少 MySQL 的查询压力

// 坏:中英文之间没有空格
// 使用Redis缓存来减少MySQL的查询压力

// 好:技术术语保留英文
// 这里用 debounce 防抖处理,避免频繁触发 API 请求

// 坏:强行翻译技术术语
// 这里用防抖动处理,避免频繁触发应用程序接口请求

Commit Message 中英双语格式

推荐格式

团队内部项目使用中文 commit message,采用约定式提交(Conventional Commits)的中文版:

<类型>(<范围>): <简要描述>

<详细说明(可选)>

<关联信息(可选)>

类型对照表

Read the full file on GitHub · 283 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 283 lines · 62 tokens per session scan A 51326bc6e097

Subscribe to this mod's changes

chinese-code-review is a skill published in the GitHub repository jnMetaCode/superpowers-zh (8,019 stars, last pushed today), licensed MIT. It adds 62 tokens to every session and 2,594 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

legacy-safe-edit

A set of practices for changing existing or old codebases safely. It focuses on finding dependencies, following local coding conventions, and making small changes that can be checked and reverted.

Wade-DevCode/awesome-coding-skills-cn · 29 tokens

security-review

A code-security review guide covering common risks such as injection, weak login protection, unauthorized access, and sensitive-data exposure. It is written in Chinese and includes rules and examples for safer code.

Wade-DevCode/awesome-coding-skills-cn · 28 tokens

code-review-self

A self-review checklist for checking code before committing it or opening a pull request, which is a request for teammates to review proposed changes.

Wade-DevCode/awesome-coding-skills-cn · 25 tokens

doubt-driven-development

Subjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now…

addyosmani/agent-skills · 67 tokens

gentle-ai-collab-perfect

Trigger: contributing to Gentleman-Programming/gentle-ai as an external collaborator. Strict issue-first workflow, honest PR bodies, contributor-vs-maintainer scope, chained-PR strategy, verification protocol, docstring coverage. Load whenever the active repo is Gentleman-Programming/gentle-ai and any part of the…

Gentleman-Programming/gentle-ai · 106 tokens

sdd-verify

Skill "sdd-verify" from Gentleman-Programming/gentle-ai, covering execution role, language domain contract, activation contract, hard rules and decision gates.

Gentleman-Programming/gentle-ai · 0 tokens