Agent skill

Zh Code Reviewer

by laolaoshiren in laolaoshiren/claude-code-skills-zh

“中文代码审查专家 - 生成详细的中文代码审查报告”

— description from SKILL.md by laolaoshiren
MITAuto-check passedDevelopment

Install Zh Code Reviewer

skills CLI
$ npx skills add laolaoshiren/claude-code-skills-zh --skill zh-code-reviewer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install laolaoshiren/claude-code-skills-zh zh-code-reviewer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/laolaoshiren/claude-code-skills-zh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/zh-code-reviewer .claude/skills/zh-code-reviewer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
zh-code-reviewer
GitHub stars
880
Token cost
~159 tokens
SKILL.md length
34 words
Files
1
Skills in repo
19
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 3 steps: 读取目标文件 — 使用 Glob 和 Read 工具获取要审查的代码 → 分析代码质量 — 从以下维度评估 → 生成审查报告 — 使用中文输出结构化报告
  • SKILL.md covers 触发条件, 工作流程, 输出格式 and 注意事项
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Zh Code Reviewer is a skill in laolaoshiren/claude-code-skills-zh (880 stars). Its SKILL.md is about 159 tokens. Licence: MIT.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. 读取目标文件 — 使用 Glob 和 Read 工具获取要审查的代码
  2. 分析代码质量 — 从以下维度评估
  3. 生成审查报告 — 使用中文输出结构化报告

What it can do on your machine

Read from SKILL.md and the folder at commit 633f21c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Zh Code Reviewer loads about 159 tokens when it runs. Until then it costs about 10 tokens; SKILL.md has 34 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~10
When it runs · the whole SKILL.md, loaded when a task matches
~159

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from laolaoshiren/claude-code-skills-zh at commit 633f21c, republished under its MIT licence (© laolaoshiren). 34 words, ~159 tokens.

Download SKILL.mdSave it as .claude/skills/zh-code-reviewer/SKILL.md (or your agent's skills folder).
name
zh-code-reviewer
description
中文代码审查专家 - 生成详细的中文代码审查报告

中文代码审查专家

触发条件

当用户要求审查代码、code review、代码检查、代码质量评估时激活此技能。

工作流程

  1. 读取目标文件 — 使用 Glob 和 Read 工具获取要审查的代码
  2. 分析代码质量 — 从以下维度评估:
    • 代码规范(命名、格式、注释)
    • 潜在 Bug(空指针、越界、并发问题)
    • 性能问题(N+1 查询、内存泄漏、不必要的循环)
    • 安全漏洞(SQL 注入、XSS、硬编码密钥)
    • 设计模式(是否合理使用、是否有更好的方案)
  3. 生成审查报告 — 使用中文输出结构化报告

输出格式

## 📋 代码审查报告

### 📊 总体评分:X/10

### 🔴 严重问题(必须修复)
- [文件:行号] 问题描述
  💡 修复建议:...

### 🟡 建议改进(推荐修复)
- [文件:行号] 问题描述
  💡 改进建议:...

### 🟢 亮点
- 做得好的地方

### 📝 总结
一段总结性评价

注意事项

  • 技术术语保留英文(如 null pointer、SQL injection)
  • 代码示例保持原语言
  • 对于中文变量名/注释,也要检查是否恰当

© laolaoshiren, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/zh-code-reviewer of laolaoshiren/claude-code-skills-zh.

Open the folder on GitHubat commit 633f21c

Compare with similar skills

Zh Code Reviewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Zh Code Reviewer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Zh Code Reviewer this skilllaolaoshiren/claude-code-skills-zh880—~159Automated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Backend Code Reviewlangflow-ai/langflow155k—~3.5kAutomated safety check: NotesMIT
Mole Bug Patternstw93/Mole70k—~2kAutomated safety check: PassGPL-3.0
Backend Code Reviewlanggenius/dify158k—~676Automated safety check: PassCustom licence

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Backend Code Review

    langflow-ai/langflow

    Review backend code for quality, security, maintainability, and best practices based on established checklist rules.

    155k GitHub stars~3.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Backend Code Review

    langgenius/dify

    Reviews backend code under api/ for concrete, reproducible defects, routes to rule packs for architecture, schema, repositories and SQLAlchemy, and ranks findings from P0 to P3.

    158k GitHub stars~676 tokensUpdated today
    DevelopmentAuto-check passed
  • WooCommerce Code Review

    woocommerce/woocommerce

    Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.

    11k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed

More from laolaoshiren/claude-code-skills-zh

All 19 skills in this repo
  • API Tester

    laolaoshiren/claude-code-skills-zh

    依据真实 OpenAPI、路由实现和现有测试生成并验证 API 测试。用于用户要求测试接口、补集成测试、验证 API 契约、生成回归用例或排查接口兼容性时;区分“生成测试”和“执行请求”的授权,不猜测状态码、响应结构或 SLA,不在未确认环境中发送写请求。

    880 GitHub stars~614 tokensUpdated 5 days ago
    Auto-check passed
  • Dep Auditor

    laolaoshiren/claude-code-skills-zh

    审计 Node.js、Python、Go、Rust、JVM、Ruby 项目的依赖漏洞、版本健康度与许可证事实;当用户要求检查 package.json、lockfile、requirements、go.mod、Cargo.toml、pom.xml、Gemfile.lock,或生成不改依赖的中文审计报告时使用

    880 GitHub stars~895 tokensUpdated 5 days ago
    Auto-check passed
  • Eslint Fix

    laolaoshiren/claude-code-skills-zh

    安全诊断并修复 ESLint error、warning 和配置兼容问题。用于用户要求运行 lint、解释 ESLint 报错、限定范围自动修复或迁移 ESLint 配置时;优先使用项目锁定的包管理器与版本,先预检再修改,不自动下载最新版或批量改写无关源码。

    880 GitHub stars~436 tokensUpdated 5 days ago
    Auto-check passed
  • Git Workflow

    laolaoshiren/claude-code-skills-zh

    安全处理 Git 状态检查、提交信息、commit、分支、push、PR 和 rebase。用于用户要求检查改动、生成或创建提交、管理分支、推送、发起 PR 或整理历史时;严格区分每个动作的授权,并保护工作树中已有和无关的修改。

    880 GitHub stars~513 tokensUpdated 5 days ago
    Auto-check passed
  • GitHub Actions Gen

    laolaoshiren/claude-code-skills-zh

    分析真实项目并生成或修订安全、可验证的 GitHub Actions workflow;当用户要求创建 CI、测试矩阵、构建、Release、部署、缓存、Secrets、OIDC、PR 自动化或排查 workflow 配置时使用

    880 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check: notes
  • Skill Curator

    laolaoshiren/claude-code-skills-zh

    中文 Skill 收录评估器。用于核验 GitHub 上的 Claude Code、Codex、Agent Skills、Plugin、MCP、CLI 或 Agent 工作流是否值得加入精选列表;检查真实资产、安装方式、活跃度、重复项和安全边界,并生成分类、中文描述与可追溯证据。

    880 GitHub stars~756 tokensUpdated 5 days ago
    Auto-check passed

Categories

Questions about Zh Code Reviewer

How do I install Zh Code Reviewer in Claude Code?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill zh-code-reviewer -a claude-code`. Or copy the skill folder (skills/zh-code-reviewer in laolaoshiren/claude-code-skills-zh) into .claude/skills/zh-code-reviewer in your project. Claude Code loads it when a task matches its description.

How do I install Zh Code Reviewer in Codex?

Run `npx skills add laolaoshiren/claude-code-skills-zh --skill zh-code-reviewer -a codex`. Or copy the skill folder (skills/zh-code-reviewer in laolaoshiren/claude-code-skills-zh) into .agents/skills/zh-code-reviewer in your project. Codex loads it when a task matches its description.

Can I use Zh Code Reviewer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add laolaoshiren/claude-code-skills-zh --skill zh-code-reviewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/zh-code-reviewer, .gemini/skills/zh-code-reviewer, .github/skills/zh-code-reviewer and .opencode/skills/zh-code-reviewer in your project.

What does Zh Code Reviewer need to run?

SKILL.md names no scripts, command-line tools or credentials: Zh Code Reviewer is instructions for the agent only.

Does Zh Code Reviewer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Zh Code Reviewer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Zh Code Reviewer use?

Zh Code Reviewer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Zh Code Reviewer use?

About 159 tokens (SKILL.md is roughly 636 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Zh Code Reviewer?

Skills that share tags, products or a category with Zh Code Reviewer: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Backend Code Review (langflow-ai/langflow, 155k stars) and Mole Bug Patterns (tw93/Mole, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Zh Code Reviewer?

laolaoshiren (a GitHub user) maintains it in laolaoshiren/claude-code-skills-zh, which has 880 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on October 5, 2026.

Source: laolaoshiren/claude-code-skills-zh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.