CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

tdd-workflows-tdd-refactor

Use when working with tdd workflows tdd refactor

Quality

53%

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-refactor/SKILL.md

The canonical home for this skill is tdd-workflows-tdd-refactor in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

48%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 core refactoring workflow is genuinely well-sequenced with validation and recovery loops, but it is buried in a mangled agent-prompt document: textbook catalogs pad the token budget, the prompt structure is truncated and uses $ARGUMENTS slash-command syntax, and its only external reference points to a file that isn't in the bundle.

Suggestions

Cut the textbook catalogs Claude already knows (SOLID definitions, GoF pattern lists, code-smell taxonomy) or move them into a real reference file; keep only skill-specific guidance inline.

Repair the document structure: remove the truncated prompt ('Apply TDD refactor phase:'), replace '$ARGUMENTS' slash-command placeholders, and either define the 'tdd-orchestrator' subagent dependency or drop the Task-tool framing.

Fix the dangling 'resources/implementation-playbook.md' reference — create the file under a real bundle directory (e.g. references/) or remove the pointer.

DimensionReasoningScore

Conciseness

Large sections restate textbook knowledge Claude already has — SOLID one-line definitions, GoF pattern catalogs, and code-smell lists — plus boilerplate filler ('Clarify goals, constraints, and required inputs', 'Apply relevant best practices'). These padded catalog sections dominate the ~190-line body, matching 'noticeably verbose; several unnecessary explanations or padded sections'; it is not a 3 because the unnecessary material is the majority of the file, not an occasional excess.

2 / 5

Actionability

There is a complete before/after TypeScript example and concrete process steps, but execution is blocked by structural defects: a truncated prompt ('Apply TDD refactor phase:'), slash-command '$ARGUMENTS' placeholders, a call to an undefined 'tdd-orchestrator' subagent, and a reference to a non-existent file ('resources/implementation-playbook.md'). Concrete guidance exists but is incomplete and garbled, fitting anchor 3 rather than 4.

3 / 5

Workflow Clarity

The 10-phase process is clearly sequenced with explicit validation checkpoints ('Run tests after each modification', 'Run full test suite after each change'), a Safety Checklist, and a Recovery Protocol with revert steps — feedback loops characteristic of a 5. It falls to 4 because the entry workflow is mangled: the dangling half-sentence and reliance on an undefined subagent leave the actual starting procedure ambiguous.

4 / 5

Progressive Disclosure

Section headers give the body structure and one reference is clearly signaled, but ~150 lines of catalog content that belong in separate reference files are inlined, and the sole pointer targets 'resources/implementation-playbook.md', a file that does not exist (no references/, scripts/, or assets/ directories ship with the skill). This fits 'content that should be separate is inline'; the broken reference prevents a 4.

3 / 5

Total

12

/

20

Passed

Description

36%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 vague 'Use when' clause built from a repetitive keyword string. It fails to state any capability, gives thin trigger coverage, and reads like auto-generated filler rather than a purposeful skill description.

Suggestions

Add an explicit 'what' statement of capabilities, e.g. 'Refactors code while keeping the test suite green: detects code smells, applies design patterns and SOLID principles, and verifies with tests after each change.'

Replace the repetitive 'tdd workflows tdd refactor' phrasing with natural trigger terms users would actually say: 'refactoring', 'refactor code safely', 'clean up code without breaking tests', 'TDD refactor phase'.

Distinguish the skill from generic refactoring guidance by naming its distinguishing behavior (test-safety-net refactoring with incremental, verified steps).

DimensionReasoningScore

Specificity

The description names a domain ('tdd workflows tdd refactor') but lists no concrete actions — there is no statement of what the skill does (refactor code, run tests, apply patterns). It is not a 1 because a domain is explicitly named rather than pure abstraction, but it never rises to naming 1-2 concrete actions.

2 / 5

Completeness

Only a 'when' clause is present ('Use when working with tdd workflows tdd refactor') with no 'what' — the skill's capabilities are never stated. This exactly matches the anchor-2 example ('Use when working with documents'); it is not a 3 because a clear 'what' is entirely absent, not just weakly implied.

2 / 5

Trigger Term Quality

'tdd', 'workflows', and 'refactor' are relevant keywords a user might say, but the phrasing is robotic and repetitive ('tdd workflows tdd refactor') and misses common variations like 'refactoring', 'code cleanup', or 'keep tests green'. Not a 4 because natural-term coverage is thin.

3 / 5

Distinctiveness Conflict Risk

The TDD/refactoring niche is somewhat specific, but the description would still overlap with general refactoring, testing, and code-quality skills. It lacks the distinct concrete triggers needed for a 4 or 5.

3 / 5

Total

10

/

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/tdd-workflows-tdd-refactor/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.