CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

tdd

Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

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 ./.agents/skills/tdd/SKILL.md

The canonical home for this skill is tdd in mattpocock/skills

SKILL.md
Quality
Evals
Security

Quality

Content

67%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 tight, opinionated methodology skill with strong actionable directives (seam agreement, loop rules, explicit question scripts) and clean structure. Its main costs are re-explaining well-known testing anti-patterns and pointing to example files that are absent from the bundle.

Suggestions

Trim the Anti-patterns section to the rule plus the tell (e.g., 'Implementation-coupled — the test breaks when you refactor but behavior hasn't changed') without re-teaching what each anti-pattern is or worked examples like expect(add(a, b)).toBe(a + b).

Ship tests.md and mocking.md in the bundle or inline the few needed examples — both are referenced for the skill's core illustrative content but do not exist in the evaluated bundle.

Make the red-step validation explicit: add a checkpoint such as 'Run the test and confirm it fails for the expected reason before writing any implementation.'

DimensionReasoningScore

Conciseness

The seams protocol ("Test only at pre-agreed seams", "No test is written at an unconfirmed seam") and the loop rules are genuinely additive, but the longest section — "Anti-patterns" — re-teaches concepts Claude already knows (implementation-coupled tests, tautological assertions with `expect(add(a, b)).toBe(a + b)`, horizontal slicing), and "What a good test is" restates the basic public-interface principle. Mostly efficient with a noticeable portion of known material, which fits the 3 anchor better than 4's "minor instances of over-explanation".

3 / 5

Actionability

Concrete, executable directives throughout: "Before writing any test, write down the seams under test and confirm them with the user", a literal script to ask ("What's the public interface, and which seams should we test?"), "Write the failing test first, then only enough code to pass it", and an explicit tool call ("call the Skill tool with 'codebase-design'"). Only minor gaps: no inline example of a seam note or a good test, since examples are delegated to tests.md.

4 / 5

Workflow Clarity

The red → green sequence is clearly stated with an explicit pre-loop checkpoint (seam agreement: "No test is written at an unconfirmed seam") and per-cycle discipline ("One seam, one test, one minimal implementation per cycle"). Not a 5 because the red-side validation is implicit — there is no explicit step to run the test and confirm it fails before implementing, only "Red before green." No destructive/batch cap applies.

4 / 5

Progressive Disclosure

Short, well-sectioned overview with clearly signaled one-level-deep references ("See [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking guidelines") plus well-scoped cross-references to the codebase-design and code-review skills. Not a 5 because the referenced tests.md and mocking.md do not exist anywhere in the bundle, so the signaled navigation breaks and the promised examples are unreachable.

4 / 5

Total

15

/

20

Passed

Description

65%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 concise, third-person description with an excellent explicit trigger clause carrying natural terms like red-green-refactor and test-first. Its weakness is the what-side: a bare domain name with no concrete actions, leaving the description thinner than its triggers suggest.

Suggestions

Add 1-2 concrete actions to the what clause, e.g., "Guide test-first cycles: write the failing test first, implement the minimum to pass, agree test seams up front."

Include the missing natural trigger terms users say: "TDD" and "unit tests" alongside the existing "integration tests" and "red-green-refactor".

DimensionReasoningScore

Specificity

The only stated capability is the bare domain name "Test-driven development." — matching the 2 anchor ("Names the domain but actions are minimal or generic", e.g., "Processes PDF files"). The phrase "build features or fix bugs test-first" sits in the trigger clause and describes the user's intent, not actions the skill performs, so it does not reach the 3 anchor's 'domain plus 1-2 concrete actions'.

2 / 5

Completeness

Both parts are present: what = "Test-driven development.", and an explicit "Use when the user wants to build features or fix bugs test-first, mentions 'red-green-refactor', or wants integration tests" clause with concrete triggers. Not 5 because the what is a single unelaborated phrase with no actions, whereas the 5 anchor pairs the explicit when with a full statement of what the skill does.

4 / 5

Trigger Term Quality

Good coverage of natural phrases users would actually say: "build features", "fix bugs", "test-first", "red-green-refactor", and "integration tests". A few common variations are missing — the "TDD" acronym, "unit tests", "write tests first" — so it lands on the 4 anchor rather than the 5's comprehensive coverage with synonyms.

4 / 5

Distinctiveness Conflict Risk

"test-first" and "red-green-refactor" carve a clear niche, but "wants integration tests" could also match a general testing skill and "build features or fix bugs" is broad enough to overlap with ordinary coding skills — minor overlap risk with closely related skills, fitting the 4 anchor rather than the 5's minimal conflict risk.

4 / 5

Total

14

/

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

relative_links

Relative link issues: 2 missing

Warning

Total

15

/

16

Passed

Repository

withcoral/coral

Path

.agents/skills/tdd/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.