CtrlK
BlogDocsLog inGet started
Tessl Logo

tdd-workflows-tdd-red

Generate failing tests for the TDD red phase to define expected behavior and edge cases.

47

Quality

49%

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/tdd-workflows-tdd-red/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

46%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 skill covers TDD red-phase test generation comprehensively but is significantly over-explained for Claude's capabilities. Much of the content (edge case categories, anti-patterns, framework conventions, AAA pattern) is knowledge Claude already possesses. The prompt template dominates the file and reads more like a tutorial than a concise skill instruction, and the large amount of inlined reference material would benefit from being split into separate files.

Suggestions

Remove or drastically reduce sections that explain concepts Claude already knows (edge case categories, anti-patterns, quality checklist, basic framework conventions) — keep only project-specific or non-obvious guidance.

Split the detailed prompt template into a separate reference file (e.g., PROMPT_TEMPLATE.md) and keep SKILL.md as a concise overview with the key workflow and tool invocation.

Add explicit feedback loop in the validation workflow: specify what to do when tests fail for wrong reasons (syntax/import errors) vs. right reasons, with concrete commands for each framework.

Provide more concrete guidance on the Task tool invocation with subagent_type='unit-testing::test-automator' — show the exact tool call syntax and expected parameters.

DimensionReasoningScore

Conciseness

The skill is notably verbose. It explains many concepts Claude already knows well (TDD red phase principles, Arrange-Act-Assert pattern, what edge cases are, anti-patterns like testing implementation vs behavior). The framework patterns section lists basic testing conventions that Claude is deeply familiar with. The edge case categories, quality checklist, and anti-patterns sections are all things Claude inherently understands.

2 / 5

Actionability

The skill provides a concrete TypeScript example with executable code, specifies the subagent tool invocation pattern, and includes a validation workflow. However, the bulk of the 'prompt template' is more of a reference checklist than executable guidance, and the actual mechanism (Task tool with subagent_type) is only mentioned once without detailed usage instructions.

4 / 5

Workflow Clarity

There is a clear sequence in the Instructions section (identify behaviors → generate tests → ensure correct failures → document how to run) and a Validation section with steps. However, the validation steps lack specific commands or concrete checkpoints — 'Run tests - confirm they fail' doesn't specify how to handle failures due to wrong reasons, and there's no explicit feedback loop for fixing setup errors vs. legitimate missing-behavior failures.

3 / 5

Progressive Disclosure

The skill is a monolithic document with no references to external files. The extensive prompt template (framework patterns, edge case categories, quality checklist, anti-patterns, output requirements) could be split into separate reference files. Everything is inlined in a single long file with minimal structural hierarchy beyond headers within the prompt template.

2 / 5

Total

11

/

20

Passed

Description

53%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 identifies a clear niche (TDD red phase) and a concrete action (generating failing tests), which provides reasonable distinctiveness. However, it lacks an explicit 'Use when...' clause, misses natural trigger term variations like 'test-driven development' or 'write tests first', and could be more specific about the types of tests or supported contexts.

Suggestions

Add a 'Use when...' clause with trigger phrases like 'Use when the user asks to write tests first, start TDD, create test stubs, or begin test-driven development'.

Include natural synonyms and variations such as 'test-driven development', 'write tests first', 'unit tests', 'test cases', and 'test skeleton' to improve trigger term coverage.

Expand specificity by mentioning concrete actions like 'generates test functions with assertions that initially fail, covers happy paths and edge cases, and scaffolds test structure for the red-green-refactor cycle'.

DimensionReasoningScore

Specificity

Names the domain (TDD red phase) and one concrete action (generate failing tests), but doesn't elaborate on what kinds of tests, languages, frameworks, or additional capabilities like edge case generation beyond a brief mention.

3 / 5

Completeness

Has a clear 'what' (generate failing tests for TDD red phase to define expected behavior and edge cases) but lacks an explicit 'when' clause. There is no 'Use when...' guidance for Claude to know when to select this skill.

3 / 5

Trigger Term Quality

Includes relevant terms like 'TDD', 'red phase', 'failing tests', and 'edge cases', but misses common natural phrases users might say such as 'test-driven development', 'write tests first', 'test skeleton', or 'unit tests'.

3 / 5

Distinctiveness Conflict Risk

The focus on TDD red phase specifically is fairly distinctive and unlikely to conflict with general testing skills or code generation skills. However, it could overlap with broader test-writing or TDD skills if they exist.

4 / 5

Total

13

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.