CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd

测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。

61

Quality

72%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/engineering/tdd/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%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 lean, well-structured conceptual skill that gives actionable TDD process guidance with concrete anti-pattern examples. Its main weakness is progressive disclosure: two referenced files (tests.md, mocking.md) are cited but missing from the bundle.

Suggestions

Add the referenced tests.md and mocking.md to the bundle (or inline the essential examples and remove the links) so all signaled references resolve.

Make the red-green verification checkpoint explicit (e.g., 'run the test and confirm it fails before writing implementation') to raise workflow clarity.

Tighten the 'What a good test is' paragraph by leading with the rule and trimming the explanatory rationale.

DimensionReasoningScore

Conciseness

The body is dense and assumes Claude's competence — it does not explain what a test or a refactor is — and every section earns its place; a few conceptual passages in 'What a good test is' could be tightened slightly, keeping it just below the lean-and-efficient anchor.

4 / 5

Actionability

Gives concrete process guidance — 'write down seams and confirm with user before writing any test', 'One slice at a time', and a concrete tautological example (expect(add(a,b)).toBe(a+b)) — that is actionable without code; minor gaps in executable detail keep it at 4.

4 / 5

Workflow Clarity

The 'Rules of the loop' section sequences the cycle (red before green, one slice at a time, refactoring deferred to review) with the seam-confirmation checkpoint explicit and red-before-green as an implicit failure check; not a 5 because explicit 'verify the test fails' verification steps are implicit rather than stated.

4 / 5

Progressive Disclosure

Section structure is clean and references are clearly signaled inline, but the body links to [tests.md](tests.md) and [mocking.md](mocking.md) which are not present in the bundle (references/, scripts/, assets/ are absent), so the promised detail is unreachable — a navigation gap that caps this at 'some structure, references not fully resolvable'.

3 / 5

Total

15

/

20

Passed

Description

73%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 focused, well-triggered description that explicitly pairs a clear 'when' clause with the TDD domain. Its main weakness is a terse 'what' that states the methodology without enumerating concrete capabilities.

Suggestions

Expand the 'what' with 1-2 concrete capabilities the skill provides (e.g., 'identifies testable seams, writes failing tests first, guides red-green cycles') to lift specificity and completeness.

Add 'unit test' / 'TDD' as additional trigger synonyms for broader keyword coverage.

DimensionReasoningScore

Specificity

Names the domain ("测试驱动开发") and a concrete approach ("先写测试的方式构建功能或修复缺陷") but describes a methodology rather than listing several distinct actions, so it sits at the 'names domain and 1-2 concrete actions' anchor rather than the multi-action level.

3 / 5

Completeness

Explicitly answers both what ("测试驱动开发") and when ("适用于...时" with three concrete triggers); not a 5 because the 'what' is terse and could more concretely state what the skill provides.

4 / 5

Trigger Term Quality

Includes natural TDD phrases users actually say — "先写测试", "red-green-refactor", "集成测试", "构建功能或修复缺陷" — giving good coverage; stops short of 5 because synonyms like 'unit test' or the 'TDD' abbreviation as a trigger are absent.

4 / 5

Distinctiveness Conflict Risk

The "red-green-refactor" and write-tests-first triggers carve a clear TDD niche with minimal overlap against general testing or coding skills.

5 / 5

Total

16

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 2 missing

Warning

Total

15

/

16

Passed

Repository
vinvcn/mattpocock-skills-zh-CN
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.