CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd-workflow

Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.

60

Quality

71%

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-workflow/SKILL.md
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 shines on workflow clarity — an explicitly sequenced RED/GREEN/refactor loop with real validation gates — and provides mostly executable guidance. It is dragged down by substantial padding of common testing knowledge and a monolithic structure with no reference files, including a reference to a detector script that does not exist in the bundle.

Suggestions

Move the unit/integration/E2E pattern libraries, the Supabase/Redis/OpenAI mocking recipes, and the coverage-threshold config into separate reference files (e.g. references/patterns.md, references/mocking.md), leaving SKILL.md as a lean workflow overview with well-signaled links.

Delete the sections that restate common knowledge ("Common Testing Mistakes", the "Best Practices" list, the generic Button unit-test example) and keep only non-obvious guidance like Step 0's package-manager/test-runner detection, which is the body's real value.

Replace or remove the stub code blocks ("// Test implementation", "// Implementation here", the empty database-error test) and either ship scripts/setup-package-manager.js in the bundle or drop the instruction to run it.

DimensionReasoningScore

Conciseness

The ~460-line body carries several padded sections of knowledge Claude already has: a generic Button component unit-test pattern, "Common Testing Mistakes" (state vs. behavior, brittle selectors, test isolation), the 10-item "Best Practices" list (one assert per test, AAA, descriptive names), "Success Metrics", and a closing platitude. Only Step 0's runner detection and the Bun-native notes add genuinely non-obvious value, which fits 'noticeably verbose; several unnecessary explanations or padded sections' rather than the mostly-efficient score-3 anchor.

2 / 5

Actionability

Mostly executable guidance: Step 0 resolves `<test>`/`<coverage>` placeholders into a concrete runner command matrix, and the unit/API/E2E/Bun patterns are real runnable code. It falls short of 5 because several blocks are stubs ("// Test implementation", "export async function searchMarkets(query: string) { // Implementation here }") and the "handles database errors gracefully" test body is empty; not 3 because the concrete matrix and complete patterns dominate over the stubs.

4 / 5

Workflow Clarity

Steps 0–7 are a clearly sequenced loop with explicit validation checkpoints: a pre-flight runner resolution step, a RED gate ("Tests should fail - we haven't implemented yet"), a GREEN gate ("Tests should now pass"), refactor constrained to keeping tests green, and a final coverage verification with a numeric threshold — a full feedback loop as the top anchor describes.

5 / 5

Progressive Disclosure

Section headers give the document reasonable internal structure, but everything is inlined in one monolithic file — the unit/integration/E2E pattern libraries, the Supabase/Redis/OpenAI mocking recipes, and the coverage-config block would belong in separate reference files. Compounding this, the body instructs running "node scripts/setup-package-manager.js --detect" but the bundle contains no scripts/ directory, so a referenced path dangles. This sits between the minimal-structure and good-structure anchors.

3 / 5

Total

14

/

20

Passed

Description

80%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 that clearly and explicitly states both what the skill does and when to use it, with concrete specifics. Its main weaknesses are triggers broad enough to overlap with general development skills and the absence of natural test-domain keywords like "write tests" or "test coverage".

DimensionReasoningScore

Specificity

"Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests" lists several concrete specifics (a numeric threshold and three test tiers), but a single umbrella verb ('Enforces') carries all of it rather than multiple distinct actions, so it falls short of the comprehensive score-5 anchor.

4 / 5

Completeness

It explicitly answers both questions with concrete trigger phrases: 'when' via "Use this skill when writing new features, fixing bugs, or refactoring code" and 'what' via "Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests", matching the top anchor.

5 / 5

Trigger Term Quality

"writing new features, fixing bugs, or refactoring code" are natural phrases users would actually say, but common test-domain variations such as "write tests", "test coverage", "unit tests", or "TDD" itself are missing, matching the 'good keyword coverage; a few natural terms missing' anchor.

4 / 5

Distinctiveness Conflict Risk

The TDD/coverage 'what' carves a clear niche, but the trigger conditions (writing features, fixing bugs, refactoring) apply to virtually any coding task, so it could fire for ordinary dev work where full TDD is not wanted — somewhat specific with real overlap risk.

3 / 5

Total

16

/

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

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
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.