CtrlK
BlogDocsLog inGet started
Tessl Logo

generate-tests

Generate comprehensive unit tests for a Spark UI component using Vitest and React Testing Library. Use when the user wants to add tests, improve test coverage, or test a specific component.

66

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

57%

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

A well-organized, project-specific test-generation scaffold with concrete commands and structure, but the generic test-guidance bullets, placeholder-laden code example, and absence of an explicit test-verification step keep most dimensions at level 2.

Suggestions

Add an explicit verification step, e.g. "Run `npm run test:run` and fix any failures before finishing" in the Run Tests section, to give the workflow a validation checkpoint.

Make the code example more complete by defining defaultProps and replacing the getByRole('...') placeholder and empty accessibility stub with concrete, runnable assertions.

Trim the generic "What to Test" and "Accessibility Testing" bullet lists to Spark-specific guidance that Claude would not already know, improving token efficiency.

DimensionReasoningScore

Conciseness

Mostly efficient with concrete project-specific detail (npm scripts, file-location convention), but the "What to Test" and "Accessibility Testing" bullet lists restate generic testing best practice that Claude already knows and could be tightened.

2 / 3

Actionability

Provides concrete imports and exact npm commands, but the code example is a scaffold with placeholders (getByRole('...'), {...defaultProps}) and an empty // Accessibility tests stub, so it is not fully copy-paste executable.

2 / 3

Workflow Clarity

Instructions are organized as a numbered checklist, but there is no explicit validation step such as running npm run test:run and fixing failures before finishing, so the workflow lacks a verification checkpoint.

2 / 3

Progressive Disclosure

A simple, single-purpose skill with well-organized sections and no need for external bundle files; its only reference is a one-level project path pointer rather than nested deep references.

3 / 3

Total

9

/

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.

A strong description that follows the ideal pattern: a concrete capability statement paired with an explicit "Use when..." trigger listing natural user phrases. It is specific, complete, and clearly niche-scoped to Spark UI component testing.

DimensionReasoningScore

Specificity

Names a concrete action ("Generate comprehensive unit tests") with specific tooling ("Vitest and React Testing Library") and a concrete target ("Spark UI component"), which is more concrete than the level-2 anchor and free of vague language.

3 / 3

Completeness

Explicitly states what it does in the first sentence and follows with an explicit "Use when the user wants to add tests, improve test coverage, or test a specific component" trigger clause, satisfying both what and when.

3 / 3

Trigger Term Quality

Includes natural phrases a user would say — "add tests", "improve test coverage", "test a specific component", plus "unit tests" — giving good coverage of common variations rather than a single keyword.

3 / 3

Distinctiveness Conflict Risk

The Spark UI + Vitest + React Testing Library niche with test-specific triggers is clearly distinct and unlikely to fire for unrelated skills.

3 / 3

Total

12

/

12

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
leboncoin/spark-web
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.