CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

antd-test-review

审查 ant-design 测试用例是否值得保留。在用户要求验证测试 case、review 测试质量、判断测试是否合理、是否“用 A 证明 A”、是否重复、是否锁定实现细节,或决定测试应删除、保留还是改写时使用。

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

67%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 well-structured, domain-specific review procedure with genuinely actionable interception rules and a clear output contract. Its main weaknesses are internal redundancy (the same judgment criteria appear in three sections) and minor gaps in worked examples and ambiguity handling.

Suggestions

Merge 核心判断, 执行流程, and 快速拦截 into a single pass — the same criteria (契约同源、实现自证、重复覆盖) currently appear in three sections; state each once and reference it.

Add one positive example of a 可保留 assertion (e.g., a behavior-level expect) alongside the existing `toHaveStyle` counter-example, so the bar for 'good' is as concrete as the bar for 'bad'.

Add a tie-break rule for the ambiguous case where intent is plausible but evidence is incomplete, to sharpen the boundary between 需要改写 and 无实际作用.

DimensionReasoningScore

Conciseness

The body is dense and free of concepts Claude already knows, but there is substantial redundancy across sections: "核心判断" 一/二/五 (契约独立、expected 来源、重复覆盖) are re-stated as "执行流程" steps 2–4, and "快速拦截" repeats the same points ("输入 a,expected 也从同一路径算出 a", "在已有 mountTest、rtlTest 旁边再补同类 case") already covered above. It could be tightened to roughly half its length without losing guidance.

3 / 5

Actionability

Guidance is concrete and executable for a judgment task: named patterns to intercept (`toHaveStyle(...)`, `toHaveClass(...)`, `toBeTruthy()`/`toBeDefined()`), a concrete counter-example (`expect(node).toHaveStyle({ whiteSpace: 'nowrap' })`), an explicit output format template, and a search command `rg -n "<关键字>|<issue号>|<行为描述>" components/<component> tests`. The rg command is a placeholder template rather than a fully worked example, and no positive assertion example is shown, leaving minor gaps.

4 / 5

Workflow Clarity

"执行流程" gives a clear 5-step sequence (静态审查优先 → 提炼契约 → 查独立依据 → 查重复 → 分类结论) with decision checkpoints at each step ("如果回答不稳,优先判为...", "如果找不到独立依据...直接判低价值") and explicit three-way classification criteria. Falls short of a 5 because there is no stated re-check or tie-break rule when evidence is ambiguous between 需要改写 and 无实际作用.

4 / 5

Progressive Disclosure

Single-file skill with no bundle files; sections are well-organized with clear headers (目标, 何时使用, 不做的事, 核心判断, 输出要求, 执行流程, Ant Design 约束, 快速拦截) and no buried or nested references — verified: no references/, scripts/, or assets/ directories exist and the body cites no external files. At ~178 lines with overlapping sections, the 快速拦截 list and Ant Design 约束 could be consolidated or split out, so it sits just below the top anchor.

4 / 5

Total

15

/

20

Passed

Description

100%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.

The description cleanly states what the skill does, when to use it, in third person, with concrete domain-specific trigger phrases and comprehensive capability coverage. It closely matches the strongest reference example pattern and has no over-claims.

DimensionReasoningScore

Specificity

The description lists multiple concrete, specific capabilities: "审查 ant-design 测试用例是否值得保留" plus the distinct judgments 是否合理、是否"用 A 证明 A"、是否重复、是否锁定实现细节, and the three-way decision 删除、保留还是改写. Coverage of the skill's scope is comprehensive; it is not merely a generic 'reviews tests'.

5 / 5

Completeness

Both what and when are explicit: "审查 ant-design 测试用例是否值得保留" (what) and "在用户要求...时使用" (when) with a concrete list of trigger intents. This matches the top anchor's structure of a clear capability statement followed by 'Use when...' with concrete triggers.

5 / 5

Trigger Term Quality

Natural trigger phrases a user would actually say are covered comprehensively, mixing Chinese and the English terms developers commonly use: "验证测试 case", "review 测试质量", "判断测试是否合理", "用 A 证明 A", "是否重复", "删除、保留还是改写". No relevant synonyms for this domain appear to be missing.

5 / 5

Distinctiveness Conflict Risk

The niche is unmistakable — ant-design test case retention review — with triggers (用 A 证明 A, 重复, 锁定实现细节, mountTest/rtlTest-adjacent language) that would not plausibly route to a general code-review or test-writing skill. Conflict risk is minimal.

5 / 5

Total

20

/

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

ant-design/ant-design

Path

.agents/skills/test-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.