code-review-specialist

code-review-specialist is a skill for Claude Code, Codex from lhfer/claude-howto-zh-cn. It costs 51 tokens per session (413 once invoked), scanned A, original, MIT.

A structured code-review skill covering security, performance, code quality, and maintainability. It includes review templates and scripts for measuring and comparing code complexity.

In plain words
What is it for?
Use it to review code or pull requests, assess security and performance risks, examine maintainability, and compare complexity before and after a change.
Why use it?
It gives code reviews a consistent way to record important problems, their impact, severity, and possible fixes. This helps reviewers cover more than just whether the code works.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to review code or pull requests, assess security and performance risks, examine maintainability, and compare complexity before and after a change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lhfer/claude-howto-zh-cn/code-review-specialist
About the project

Claude Code 中文全面上手指南 is a Chinese-language learning guide for using Claude Code and combining features such as commands, memory, skills, hooks, MCP, subagents, and plugins. It is aimed at Chinese beginners and provides learning paths, examples, and compatibility guidance, while the catalogue entries package parts of that guidance as agent resources.

lhfer/claude-howto-zh-cn · 2,295 stars · on GitHub

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 lhfer/claude-howto-zh-cn --skill code-review-specialist
Clone the repo
git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn

Made for: Claude Code, Codex.

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 code-review-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/code-review-specialist/github.svg)](https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/code-review-specialist)
Your own site
<a href="https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/code-review-specialist"><img src="https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/code-review-specialist/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 code-review-specialist

Your own site · 80×15
<a href="https://agentmods.dev/skills/lhfer/claude-howto-zh-cn/code-review-specialist"><img src="https://agentmods.dev/badge/skills/lhfer/claude-howto-zh-cn/code-review-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 413 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
  • 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.00051 $0.00413
Opus 5 $0.00026 $0.00206
Sonnet 5 $0.00010 $0.00083
Haiku 4.5 $0.00005 $0.00041

Measured 12d ago against content hash 01262f21239a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

code-review-specialist 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/analyze-metrics.py, scripts/compare-complexity.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

03-skills/code-review-specialist/SKILL.md · 59 lines

What it actually says

代码审查专家技能(Code Review Specialist Skill)

本 skill 使用 code-review-specialist 名称,避免遮蔽 Claude Code v2.1.146+ 自带的 /code-review 命令。

这个 skill 用于做结构化代码审查,重点关注:

  1. Security Analysis
  2. Performance Review
  3. Code Quality
  4. Maintainability

审查模板

参考文件

这个 skill 自带模板和脚本,做正式审查时应按需读取:

  • templates/review-checklist.md:结构化检查清单,覆盖安全、性能、质量和测试,避免漏掉大类。
  • templates/finding-template.md:单个问题的记录模板,包含严重程度、位置、代码示例和影响分析。
  • scripts/analyze-metrics.py:统计函数数、类数、平均行长和复杂度分数,可用于给审查补充量化依据。
  • scripts/compare-complexity.py:对比两个版本的复杂度,适合审查重构前后的变化。

总结

  • Overall quality assessment
  • Key findings count
  • Recommended priority areas

严重问题

  • Issue
  • Location
  • Impact
  • Severity
  • Fix

按类别列出问题

安全

列出安全漏洞或风险点

性能

列出性能问题与复杂度风险

质量

列出命名、结构、文档和测试问题

可维护性

列出可维护性问题和重构建议

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 59 lines · 51 tokens per session scan A 01262f21239a

Subscribe to this mod's changes

code-review-specialist is a skill published in the GitHub repository lhfer/claude-howto-zh-cn (2,295 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 413 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.