CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

test-driven-development

Implements a feature or bug fix test-first: write one failing test, run it and watch it fail, write the minimal code to pass, then refactor with the tests green. Use when a change alters code behavior: a new feature, a bug fix, or a behavior change, whether the request comes alone or through delivery-flow.

72

Quality

91%

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

The canonical home for this skill is test-driven-development in tesslio/tessl-eval-demo

SKILL.md
Quality
Evals
Security

Quality

Content

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

An exemplary skill body: a tight red-green-refactor workflow with built-in validation checkpoints, a failure-diagnosis feedback loop, hard rules, and a done checklist, with test-writing detail properly pushed to a single, well-signaled, one-level-deep reference. The only minor gap is the absence of any inline example (e.g., a sample test name or how to find the project's test command).

DimensionReasoningScore

Conciseness

The 26-line body is lean and every sentence instructs rather than explains: 'Write one test for one behavior. Use a clear name and the real code, not mocks' and 'If it passes, it tests nothing new: change the test'. It assumes Claude's competence (no explanation of what TDD is, what tests are, or why they matter), matching the anchor 'every token earns its place'; no trimming is possible without losing guidance.

5 / 5

Actionability

The guidance is concrete and executable for an instruction-only skill: each cycle step names the action and its guard ('The test must fail because the behavior is missing, not because of a typo or a missing import'), and rules like 'A bug fix starts with a test that reproduces the bug' are directly followable. It stops short of level 5 because there are no inline examples or commands — e.g., no sample test name or a way to discover the project's test command — leaving minor gaps even though detail is properly delegated to references/writing-good-tests.md.

4 / 5

Workflow Clarity

The five-step cycle is clearly sequenced with explicit validation checkpoints ('Watch it fail', 'Watch it pass. Run the full suite'), a feedback loop for error recovery ('If it passes, it tests nothing new: change the test'), and a completion checklist ('Before you say it is done'). This matches the level-5 anchor — explicit validation steps, feedback loops, and a checklist; this is not a destructive/batch operation so no cap applies.

5 / 5

Progressive Disclosure

The body is a clear overview of the process, and the single detail file is well-signaled at the exact point of need ('When writing or changing a test, read references/writing-good-tests.md'). The referenced file exists and is one level deep — it contains no further references or links — so navigation is trivial. This matches both the under-50-lines exception (well-organized sections suffice) and the clear-overview-with-one-level-references anchor.

5 / 5

Total

19

/

20

Passed

Description

85%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: concrete, third-person, explicitly pairs the full TDD cycle with an explicit 'Use when' trigger clause. Its weaknesses are the breadth of the trigger condition, which risks overlapping with general development skills, and the jargon-ish phrase 'delivery-flow' that users would not naturally say.

Suggestions

Narrow the trigger to reduce conflict with general coding skills, e.g. 'Use when implementing a new feature or fixing a bug and the user wants (or the workflow requires) a test-first approach' — or add distinguishing trigger phrases users would say such as 'TDD', 'red-green-refactor', or 'write the test first'.

Drop or clarify 'whether the request comes alone or through delivery-flow' — it is internal jargon, not a phrase a user would naturally say, and it slightly dilutes trigger-term quality.

Add one or two common synonym phrases (e.g., 'fix an issue', 'add functionality') to the trigger list to close the gap toward comprehensive natural-term coverage.

DimensionReasoningScore

Specificity

The description lists a full sequence of concrete actions — "write one failing test, run it and watch it fail, write the minimal code to pass, then refactor with the tests green" — comprehensively covering the skill's scope with no vague filler. It matches the anchor for multiple specific concrete actions with comprehensive coverage; the level-4 anchor's 'minor gaps in coverage' does not apply since the entire TDD cycle is enumerated.

5 / 5

Completeness

It explicitly answers both questions: 'what' is the concrete test-first implementation cycle, and 'when' is the explicit trigger clause naming concrete trigger phrases ("a new feature, a bug fix, or a behavior change"). This directly matches the level-5 anchor exemplar structure (what + explicit 'Use when' with concrete triggers); level 4's 'when could be more explicit' does not apply.

5 / 5

Trigger Term Quality

"Use when a change alters code behavior: a new feature, a bug fix, or a behavior change" provides good, natural keyword coverage of phrases users actually say. It falls short of level 5 because common variations and synonyms are missing (e.g., 'add a feature', 'fix an issue', 'implement X'), and 'whether the request comes alone or through delivery-flow' reads as internal jargon users would not naturally say.

4 / 5

Distinctiveness Conflict Risk

The 'what' (test-first development) is a distinct niche, but the trigger condition — "a change alters code behavior: a new feature, a bug fix, or a behavior change" — is broad enough to match nearly any development request, creating real overlap risk with general coding and review skills. It is somewhat specific but could still fire for similar skills, matching the level-3 anchor; level 4 requires only minor overlap with closely related skills, which this breadth exceeds.

3 / 5

Total

17

/

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

tesslio/tessl-eval-demo

Path

06-regression/versions/baseline/sdlc-implementation/skills/test-driven-development/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.