CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd

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

55

Quality

62%

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

50%

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

A well-organized TDD reference with clear rules and anti-patterns, but it is held back by restated known concepts, implicit validation checkpoints, and references to missing bundle files (tests.md, mocking.md).

Suggestions

Add the referenced bundle files tests.md and mocking.md (or remove the links) so the signaled navigation actually resolves.

Make the red→green loop an explicit numbered checklist with a validation checkpoint, e.g. 'run the test, confirm it fails (red), then write minimal code'.

Tighten the 'What a good test is' section to skill-specific guidance, cutting general behavior-vs-implementation explanation Claude already knows.

DimensionReasoningScore

Conciseness

The body is reasonably lean and well-sectioned, but the 'What a good test is' prose restates behavior-over-implementation concepts Claude already knows and could be tightened without losing value.

2 / 3

Actionability

Concrete rules and a worked anti-pattern example ('expect(add(a, b)).toBe(a + b)') plus a specific question to ask users, but as a methodology skill it offers direction rather than copy-paste executable guidance.

2 / 3

Workflow Clarity

The red→green cycle is sequenced ('Red before green', 'One slice at a time'), but the validation checkpoints are implicit — it does not spell out 'run the test and confirm it fails before implementing'.

2 / 3

Progressive Disclosure

References to tests.md and mocking.md are well-signaled and one level deep, but those bundle files do not exist, so the navigation the body promises is broken and cannot reach score 3.

2 / 3

Total

8

/

12

Passed

Description

75%

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, third-person description that answers both what it does and when to use it via an explicit trigger clause, with strong distinctiveness. It is held back from a perfect score by moderate specificity and trigger-term coverage.

DimensionReasoningScore

Specificity

Names the TDD domain and some actions ('构建功能或修复缺陷', '先写测试的方式') but does not list multiple specific concrete actions the way the score-3 anchor does; it stays at the domain-and-some-actions level.

2 / 3

Completeness

Clearly states what ('测试驱动开发') and provides an explicit '适用于...时' (Use when) trigger clause covering test-first feature building, defect fixing, and integration tests; voice is third person, so no penalty applies.

3 / 3

Trigger Term Quality

Includes relevant natural terms ('先写测试', 'red-green-refactor', '集成测试') a user might say, but leans on jargon ('red-green-refactor') and omits common variations like 'TDD' spelled out or 'unit test'.

2 / 3

Distinctiveness Conflict Risk

TDD is a clear niche with distinct triggers ('red-green-refactor', test-first), making it unlikely to fire for an unrelated skill.

3 / 3

Total

10

/

12

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.