CtrlK
BlogDocsLog inGet started
Tessl Logo

red-green-refactor

Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green. Use when a user asks to practice TDD, write tests first, follow red-green-refactor, do test-driven development, write failing tests before code, or phrases like 'make the test pass', 'test coverage', or 'unit tests before implementation'.

72

Quality

88%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

77%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This is a solid, actionable TDD skill with excellent executable examples and clear workflow sequencing through the RED-GREEN-REFACTOR cycle. Its main weakness is moderate verbosity — some sections explain concepts Claude already understands (common mistakes, decision points) and the end-to-end example partially duplicates the core cycle walkthrough. The referenced integration skills lack actual file paths or bundle support.

Suggestions

Trim the 'Common Mistakes to Avoid' and 'Decision Points' sections — Claude already understands TDD anti-patterns; keep only project-specific or non-obvious guidance.

Provide actual file paths for referenced skills (test-patterns, anti-patterns, debugging/root-cause-analysis) or remove the 'Integration with Other Skills' section if no bundle files exist.

DimensionReasoningScore

Conciseness

The skill is mostly efficient with good executable examples, but includes some unnecessary guidance Claude already knows (e.g., 'Understand the requirement — what specific behavior must exist?', 'Don't write a test when: Non-functional changes (formatting, comments)', common mistakes like 'Writing tests after code — defeats the design benefit of TDD'). The 'Common Mistakes to Avoid' and 'Decision Points' sections add moderate value but could be tighter.

2 / 3

Actionability

Excellent executable examples throughout — the Jest code is copy-paste ready, shows the complete RED-GREEN-REFACTOR cycle with real code, and the end-to-end example demonstrates adding a new behavior with concrete, runnable code at each phase.

3 / 3

Workflow Clarity

The workflow is clearly sequenced with explicit phases (RED → GREEN → REFACTOR), validation checkpoints ('Run the test — it MUST fail', 'Run tests after every change'), a verification checklist, and a feedback loop implicit in the cycle structure. The end-to-end example reinforces the sequence concretely.

3 / 3

Progressive Disclosure

The skill references 'test-patterns', 'anti-patterns', and 'debugging/root-cause-analysis' at the bottom under 'Integration with Other Skills', but these are not linked with paths and no bundle files exist to support them. The content is well-structured with clear sections but is somewhat long for a single file — the end-to-end example and the core cycle have some redundancy that could be split.

2 / 3

Total

10

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a strong skill description that clearly articulates the TDD workflow with specific steps, provides an explicit 'Use when...' clause with comprehensive trigger terms, and occupies a distinct niche. It follows third-person voice throughout and balances conciseness with thoroughness.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions: writing a failing test first, implementing minimum code to pass, refactoring while keeping tests green. These are clear, actionable steps in the TDD workflow.

3 / 3

Completeness

Clearly answers both 'what' (guides the red-green-refactor TDD workflow with specific steps) and 'when' (explicit 'Use when...' clause with multiple trigger phrases and scenarios).

3 / 3

Trigger Term Quality

Excellent coverage of natural terms users would say: 'TDD', 'write tests first', 'red-green-refactor', 'test-driven development', 'failing tests before code', 'make the test pass', 'test coverage', 'unit tests before implementation'. These are all phrases a user would naturally use.

3 / 3

Distinctiveness Conflict Risk

TDD/red-green-refactor is a very specific methodology with distinct terminology. The triggers are clearly scoped to TDD practices and unlikely to conflict with general testing or coding skills.

3 / 3

Total

12

/

12

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
rohitg00/skillkit
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.