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.

68

Quality

85%

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

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

The body delivers an exceptionally clear, well-validated workflow with concrete executable examples, but pays for it in token efficiency: the iron law is repeated five times and the rationalization rebuttals are verbose. Bundle structure is sound with one well-signaled, one-level-deep reference.

Suggestions

Consolidate the five restatements of the core rule (Order of actions, Overview, Iron Law, Red Flags, Final Rule) into one authoritative statement plus one short reminder, cutting substantial tokens without losing the discipline message.

Trim the Common Rationalizations table to one-line rebuttals (e.g., "I'll test after" -> "Tests written after pass immediately; you never watched them fail, so they prove nothing.") and move extended reasoning into references/writing-good-tests.md.

Correct the test-run command to a directly executable form (e.g., `npx jest path/to/test.test.ts` or `npm test -- path/to/test.test.ts`) so the most-repeated instruction is copy-paste ready.

DimensionReasoningScore

Conciseness

The core rule is restated five times across "Order of actions", "Overview", "The Iron Law", "Red Flags", and "Final Rule", and several rationalization-table entries are padded with multi-sentence justifications. It never explains concepts Claude already knows, so it stays above anchor 2, but the redundancy exceeds the 'minor instances' of anchor 4.

3 / 5

Actionability

Complete, executable TypeScript examples for both test and implementation, a worked bug-fix example with expected output, and a verification checklist give mostly copy-paste-ready guidance. The most-repeated command, `npm test path/to/test.test.ts`, is not correct as written (npm requires a `--` separator to forward file arguments), a minor gap that keeps it below anchor 5.

4 / 5

Workflow Clarity

Red-Green-Refactor is explicitly sequenced with mandatory verify steps ("Verify RED - Watch It Fail", "Verify GREEN"), feedback loops for error recovery ("Test errors? Fix error, re-run until it fails correctly"; "Test fails? Fix code, not test"), and a completion checklist — a direct match to the anchor-5 pattern of explicit validation, recovery loops, and checklists.

5 / 5

Progressive Disclosure

Sections are well organized and the single reference (references/writing-good-tests.md, verified to exist, one level deep) is clearly signaled with a bullet summary of its contents. However, the ~320-line body inlines sizable catalogs (Common Rationalizations, Red Flags) that could be split out, so it reads as a full guide rather than the clear-overview-plus-split-content structure of anchor 5.

4 / 5

Total

16

/

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: concrete, third-person, with an explicit 'Use when...' clause naming natural trigger scenarios. Its only weaknesses are a few missing natural synonyms (TDD, unit test) and a broad code-change trigger that creates minor overlap risk with adjacent delivery skills.

DimensionReasoningScore

Specificity

"write one failing test, run it and watch it fail, write the minimal code to pass, then refactor" lists multiple concrete actions covering the full methodology, and the third-person "Implements" framing is clean. This matches the comprehensive multi-action anchor rather than the 'minor gaps' anchor below it.

5 / 5

Completeness

It explicitly answers both what ("Implements a feature or bug fix test-first: write one failing test...") and when ("Use when a change alters code behavior: a new feature, a bug fix, or a behavior change") with concrete trigger phrases, matching the anchor-5 example structure exactly.

5 / 5

Trigger Term Quality

"a new feature", "a bug fix", and "a behavior change" are natural user phrasings, but common synonyms like "TDD", "write tests", or "unit test" are absent. Good coverage with a few natural terms missing fits anchor 4, not the comprehensive-synonym coverage of 5.

4 / 5

Distinctiveness Conflict Risk

"test-first" stakes out a clear niche, but the trigger "when a change alters code behavior" is broad enough to overlap with general coding or delivery skills (it even names "delivery-flow"). Mostly distinct with minor overlap risk fits anchor 4 rather than the minimal-conflict anchor 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

tesslio/tessl-eval-demo

Path

02-mutation/versions/action-order/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.