CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

Quality

56%

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 ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/test-driven-development/SKILL.md

The canonical home for this skill is test-driven-development in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

62%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 red-green-refactor workflow with concrete code and commands, but is padded by triple-repeated rationalization content and a decorative diagram. It also cites a bundle file (@testing-anti-patterns.md) that does not exist in the skill directory.

Suggestions

Consolidate 'Why Order Matters', 'Common Rationalizations', and 'Red Flags' into a single section — the same excuses are rebutted three times, and the graphviz diagram could be replaced by a one-line cycle description.

Create the referenced references/testing-anti-patterns.md (or remove the "read @testing-anti-patterns.md" pointer) so the body's only external reference resolves to a real file.

DimensionReasoningScore

Conciseness

The same rationalizations are presented three times ("I'll test after" and "Deleting X hours of work is wasteful" appear in 'Why Order Matters', again in the 'Common Rationalizations' table, and a third time in 'Red Flags'), plus a decorative graphviz diagram and a re-explanation of the red-green-refactor cycle Claude already knows. This matches anchor 2 (several padded/redundant sections) rather than 3, since the duplication spans multiple full sections rather than one spot that could be tightened.

2 / 5

Actionability

Concrete executable TypeScript examples (the retry test and implementation), exact commands ("npm test path/to/test.test.ts"), a worked bug-fix walkthrough, and a verification checklist give mostly copy-paste-ready guidance. Not 5: paths are placeholders, the 'bad' GREEN example is a stub ("// YAGNI"), and the shown test output is illustrative rather than literal.

4 / 5

Workflow Clarity

The cycle is explicitly sequenced (RED → Verify RED → GREEN → Verify GREEN → REFACTOR) with mandatory validation checkpoints, expected-failure confirmation ("Fails because feature missing (not typos)"), error-recovery branches ("Test passes? You're testing existing behavior. Fix test."), and a final checklist. This matches anchor 5 exactly: explicit validation steps, feedback loops, and a checklist.

5 / 5

Progressive Disclosure

Sections are well-organized, but no references/, scripts/, or assets/ directories exist in the bundle, and the body's one reference — "read @testing-anti-patterns.md" — points to a file that is not present. Content that belongs in a separate file (the rationalization compendium) is inlined. This fits anchor 3 (structure present, reference not clearly backed, inline content that should be separate); not 2, because the internal section structure is genuinely good rather than minimal.

3 / 5

Total

14

/

20

Passed

Description

32%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 is a pure trigger clause with no statement of what the skill does. Its triggers are natural but so broad they would fire on nearly every coding request, and none of TDD's actual vocabulary (test, test-first, red-green) appears.

Suggestions

State the 'what' explicitly, e.g. "Enforces test-driven development: write a failing test first, verify it fails, write minimal code to pass, refactor" before the 'Use when' clause.

Include TDD-specific trigger terms users would actually say — "write tests", "unit test", "TDD", "test-first", "red-green-refactor" — so the skill is discoverable for its actual purpose.

Narrow the trigger scope (e.g. "when writing new code or fixes where correctness matters and the user wants a test-first workflow") to reduce conflict with every general coding skill.

DimensionReasoningScore

Specificity

The description names no concrete actions at all — only a timing constraint ("before writing implementation code") and a broad domain ("implementing any feature or bugfix"). It never mentions writing tests, running them, or the red-green-refactor cycle, so it sits between anchor 1 (no concrete actions) and anchor 2 (domain named, actions minimal), closer to 2 because a domain is at least implied.

2 / 5

Completeness

Only the "when" half is present ("Use when implementing any feature or bugfix"); the "what" — that the skill enforces test-driven development — is completely unstated. This is anchor 2 exactly ("only 'when' is present without 'what'"); it cannot be 3, which requires a clear statement of what the skill does.

2 / 5

Trigger Term Quality

"implementing any feature or bugfix" are natural phrases users say, but the description omits every TDD-specific term a user would actually utter — "test", "unit test", "TDD", "test-first", "red-green-refactor". This matches anchor 3 (some relevant keywords, missing common variations), not 4, since the skill's core vocabulary is entirely absent rather than a few terms short.

3 / 5

Distinctiveness Conflict Risk

"any feature or bugfix" would trigger on virtually all coding work, causing high overlap with skills like code review, simplification, and refactoring. It is scoped to implementation (excluding docs/analysis), so it does not hit anchor 1's "conflict with virtually any skill", fitting anchor 2 (very broad, high overlap risk).

2 / 5

Total

9

/

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/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.