CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

code-review

从固定点(commit、branch、tag 或 merge-base)开始,按 Standards(代码是否符合本仓库记录的编码标准?)和 Spec(代码是否符合来源 issue/spec 的要求?)两个轴线审查变更。两个审查会在并行子代理中运行,并并排报告。适用于用户想审查 branch、PR、进行中的变更,或要求“review since X”时。

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced process skill: exact git commands, a fail-early validation gate, ordered fallbacks for locating the spec, and verbatim sub-agent briefs. The main cost is token efficiency — the inlined Fowler smell baseline re-teaches knowledge Claude already has and could be reduced to a list of names or moved to a reference file.

Suggestions

Trim the smell baseline to a bare list of smell names (e.g. Mysterious Name, Duplicated Code, Feature Envy, …) plus the two rules — Claude already knows Fowler's catalog from Refactoring ch. 3, so the per-smell definitions and fixes are redundant tokens.

Alternatively, move the full smell baseline to references/smells.md and instruct the orchestrator to read that file and paste its contents into the Standards sub-agent prompt, keeping SKILL.md lean.

The section intro in Step 3 ("搜索 repo 中所有记录代码应该如何写的文件…") can be tightened to a single instruction line since the CODING_STANDARDS.md/CONTRIBUTING.md rule already makes the intent clear.

DimensionReasoningScore

Conciseness

The workflow sections are lean and operational, but the 12-entry smell baseline re-explains concepts Claude already knows — e.g. "**Mysterious Name**:function、variable 或 type 的名称没有说明它做什么或装什么。-> rename it" — where a bare list of smell names plus the two rules would suffice. Mostly efficient with a tighten-able block, matching the score-3 anchor; not verbose enough across the whole document for score 2.

3 / 5

Actionability

Fully executable guidance throughout: exact commands ("git diff <fixed-point>...HEAD"、"git log <fixed-point>..HEAD --oneline"、"git rev-parse <fixed-point>"), an ordered spec-source search procedure, and verbatim copy-paste-ready sub-agent briefs quoted in full. This matches the 'copy-paste ready, covers common cases' anchor.

5 / 5

Workflow Clarity

A clear 5-step sequence with an explicit validation checkpoint ("继续前,确认 fixed point 能解析…并且 diff 非空。错误 ref 或空 diff 应该在这里失败") and error-recovery paths (ask the user for the spec; skip the Spec sub-agent and report 'no spec available'). Not a destructive/batch operation, so no cap applies.

5 / 5

Progressive Disclosure

Well-organized single file with clear section hierarchy (## 流程, numbered ### steps, ## 为什么是两条轴线) and no unnecessary external references. The inlined smell baseline (~13 lines) is a plausible candidate for a separate reference file, but its placement is explicitly justified ("sub-agent 没有其他方式读取它"), leaving only minor organization gaps — the score-4 anchor rather than score 3, since nothing is buried or clearly misplaced.

4 / 5

Total

17

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it concretely defines both review axes, the execution model, and the reporting format, with an explicit 'use when' clause covering branch, PR, in-progress changes, and 'review since X' triggers. The only weaknesses are a few missing natural synonyms (e.g. diff, code review) and some overlap risk with generic code-review skills on the branch/PR triggers.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — dual-axis review ("按 Standards…和 Spec…两个轴线审查变更"), parallel sub-agent execution ("两个审查会在并行子代理中运行"), side-by-side reporting — and enumerates the fixed-point types ("commit、branch、tag 或 merge-base"), comprehensively covering the skill's behavior. It fits the 'comprehensive coverage' anchor better than the score-4 anchor, which expects minor gaps.

5 / 5

Completeness

Both 'what' (dual-axis review from a fixed point with both axes explicitly defined) and 'when' ("适用于用户想审查 branch、PR、进行中的变更,或要求'review since X'时") are explicitly answered with concrete trigger phrases, matching the score-5 anchor exactly.

5 / 5

Trigger Term Quality

Natural trigger phrases users would say are present — "审查 branch"、"PR"、"review since X" — but common synonyms like "diff"、"code review"、"changes" are missing. Good keyword coverage with a few natural terms absent, matching the score-4 anchor rather than the comprehensive synonym coverage of score 5.

4 / 5

Distinctiveness Conflict Risk

The two-axis Standards/Spec framing carves out a clear niche, but the trigger terms "审查 branch"、"PR" are generic to any code-review skill, creating minor overlap risk with closely related review skills. This is 'mostly distinct; minor overlap risk' (score 4) rather than minimal conflict risk (score 5).

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

vinvcn/mattpocock-skills-zh-CN

Path

skills/engineering/code-review/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.