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.
Structured code review across security, performance, code quality and maintainability, with a checklist, a finding template and two Python scripts for complexity metrics.
SKILL.md written in Chinese; this summary is our English description.
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialist --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/03-skills/code-review-specialist .claude/skills/code-review-specialist && rm -rf skills-srcUse ~/.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/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .claude/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialistType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialist --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .agents/skills && cp -r skills-src/03-skills/code-review-specialist .agents/skills/code-review-specialist && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .agents/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialist --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/03-skills/code-review-specialist .cursor/skills/code-review-specialist && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .cursor/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lhfer/claude-howto-zh-cn.git --path 03-skills/code-review-specialist--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialist --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/03-skills/code-review-specialist .gemini/skills/code-review-specialist && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .gemini/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialistInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .github/skills && cp -r skills-src/03-skills/code-review-specialist .github/skills/code-review-specialist && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .github/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lhfer/claude-howto-zh-cn code-review-specialist --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lhfer/claude-howto-zh-cn.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/03-skills/code-review-specialist .opencode/skills/code-review-specialist && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "code-review-specialist" agent skill from https://github.com/lhfer/claude-howto-zh-cn/tree/main/03-skills/code-review-specialist into .opencode/skills/code-review-specialist/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-review-specialist", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
code-review-specialistStructured code review across security, performance, code quality and maintainability, with a checklist, a finding template and two Python scripts for complexity metrics.
The skill organizes a review around four areas: security analysis, performance review, code quality and maintainability. The report has a fixed layout: a summary with an overall assessment, the number of findings and recommended priority areas; a critical-issues section where each issue lists its location, impact, severity and fix; and per-category lists for security, performance, quality and maintainability.
Bundled files support a formal review. A checklist template covers security, performance, quality and tests, a finding template records severity, location, a code sample and impact analysis, analyze-metrics.py counts functions and classes, average line length and a complexity score, and compare-complexity.py compares two versions around a refactor. It is named code-review-specialist so it does not shadow Claude Code's built-in /code-review command, and its text is written in Chinese.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit f0da0c6. It shows what the files ask for, not the result of running them.
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.
Ships 2 files in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Code Review Specialist loads about 267 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 63 words of instructions outside code blocks.
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.
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); the scripts in this folder are not scanned.
The full file from lhfer/claude-howto-zh-cn at commit f0da0c6, republished under its MIT licence (© lhfer). 63 words, ~267 tokens.
.claude/skills/code-review-specialist/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.本 skill 使用
code-review-specialist名称,避免遮蔽 Claude Codev2.1.146+自带的/code-review命令。
这个 skill 用于做结构化代码审查,重点关注:
这个 skill 自带模板和脚本,做正式审查时应按需读取:
templates/review-checklist.md:结构化检查清单,覆盖安全、性能、质量和测试,避免漏掉大类。templates/finding-template.md:单个问题的记录模板,包含严重程度、位置、代码示例和影响分析。scripts/analyze-metrics.py:统计函数数、类数、平均行长和复杂度分数,可用于给审查补充量化依据。scripts/compare-complexity.py:对比两个版本的复杂度,适合审查重构前后的变化。列出安全漏洞或风险点
列出性能问题与复杂度风险
列出命名、结构、文档和测试问题
列出可维护性问题和重构建议
© lhfer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts) in 03-skills/code-review-specialist of lhfer/claude-howto-zh-cn.
Open the folder on GitHubat commit f0da0c6
Code Review Specialist 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Code Review Specialist this skilllhfer/claude-howto-zh-cn | 2.3k | — | ~267 | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Code Review Skillawesome-skills/code-review-skill | 2.1k | — | ~2.8k | Automated safety check: Notes | MIT | |
| Code Reviewerjewbetcha/opentrace | 116 | 2 repos | ~1.1k | Automated safety check: Notes | MIT | |
| Code Review SkillRain-kl/OpenFlare | 288 | — | ~2.3k | Automated safety check: Notes | MIT | |
| Code ReviewerYikai-Liao/symusic | 189 | 1 repos | ~1.3k | Automated safety check: Pass | MIT |
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
awesome-skills/code-review-skill
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…
jewbetcha/opentrace
Comprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go.
Rain-kl/OpenFlare
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, PHP, Python, Django, Go, C/.NET, Kotlin, Swift, NestJS, C/C++, and more.
Yikai-Liao/symusic
Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then…
bennycode/trading-signals
Repository coding standards for reviewing pull requests. An agent skill from bennycode/trading-signals.
lhfer/claude-howto-zh-cn
Quizzes you on Claude Code in a quick or deep mode, scores your level across 10 topics and recommends what to learn next, in Chinese.
lhfer/claude-howto-zh-cn
Turns a topic and reference materials into a versioned blog draft through a fixed outline-first pipeline with per-source summaries.
lhfer/claude-howto-zh-cn
Creates, updates or audits a project's CLAUDE.md by analyzing the codebase, drafting for review and flagging anti-patterns, aiming for under 200 lines.
lhfer/claude-howto-zh-cn
基于 Martin Fowler 方法论做系统化重构。Use when users ask to refactor code, improve structure, reduce technical debt, clean up legacy code, or improve maintainability.
lhfer/claude-howto-zh-cn
Runs a ten-question interactive quiz on one lesson of a Claude Code tutorial, scores it, and points out the weak spots with a review of missed questions.
lhfer/claude-howto-zh-cn
Keeps marketing copy and customer messages in one consistent brand voice, using a defined mission, tone, writing rules and lists of preferred and avoided terms.
Categories
Structured code review across security, performance, code quality and maintainability, with a checklist, a finding template and two Python scripts for complexity metrics. The skill organizes a review around four areas: security analysis, performance review, code quality and maintainability. The report has a fixed layout: a summary with an overall assessment, the number of findings and recommended priority areas; a critical-issues section where each issue lists its location, impact, severity and fix; and per-category lists for security, performance, quality and maintainability.
Code Review Specialist fits situations like: reviewing a pull request for security, performance and quality problems; producing a structured findings report with severity and fixes; comparing code complexity before and after a refactor.
Run `npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a claude-code`. Or copy the skill folder (03-skills/code-review-specialist in lhfer/claude-howto-zh-cn) into .claude/skills/code-review-specialist in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a codex`. Or copy the skill folder (03-skills/code-review-specialist in lhfer/claude-howto-zh-cn) into .agents/skills/code-review-specialist in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lhfer/claude-howto-zh-cn --skill code-review-specialist -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-review-specialist, .gemini/skills/code-review-specialist, .github/skills/code-review-specialist and .opencode/skills/code-review-specialist in your project.
Going by SKILL.md and its folder, Code Review Specialist needs Python for the scripts in its folder. Our summary lists: Python, to run the two metrics scripts.
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.
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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Code Review Specialist is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 267 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Code Review Specialist: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Code Reviewer (jewbetcha/opentrace, 116 stars) and Code Review Skill (Rain-kl/OpenFlare, 288 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lhfer (a GitHub user) maintains it in lhfer/claude-howto-zh-cn, which has 2,307 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on August 6, 2026.
Source: lhfer/claude-howto-zh-cn on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.