CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

generate-tests

Generate comprehensive tests for specified code

Quality

65%

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 ./examples/skills/generate-tests/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

61%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 is a compact, well-structured test-generation guide with concrete framework detection and a useful output template, but it carries a redundant duplicate process section and lacks any verification step. Merging the two step lists and adding a 'run the tests to confirm they pass' checkpoint would address the main weaknesses.

Suggestions

Merge the 'Instructions' section into the 'Test generation process' section — they describe the same sequence twice and are the main source of redundancy.

Add a final validation step, e.g. '4. Run the generated tests with the detected framework and fix any that fail before finishing,' to close the workflow's feedback loop.

Show output-format examples for the other detected frameworks (at least a pytest skeleton), since the Jest/TypeScript template is currently the only one.

DimensionReasoningScore

Conciseness

The body is list-driven with no concept explanations Claude already knows, but the 'Instructions' section ('Identify testable units (functions, classes, methods)', 'Ensure high coverage of edge cases') duplicates the 'Test generation process' section ('Identify public interfaces', 'Note edge cases and boundaries'), and edge cases appear in three places. This is 'mostly efficient but could be tightened' rather than the minor-trimming of anchor 4.

3 / 5

Actionability

Framework detection uses concrete file mappings ('jest.config.js → Jest', 'pytest.ini → pytest', 'mocha in package.json') and usage examples are concrete slash commands, but the output format is a placeholder skeleton shown only in Jest/TypeScript style — no pytest example despite detecting pytest, and no command to run the generated tests. Fits 'Mostly executable guidance; concrete code or commands with minor gaps'; not 5 since coverage of the common cases is incomplete.

4 / 5

Workflow Clarity

A sequence is present (analyze target → detect framework → generate tests), but there is no validation checkpoint such as running the generated tests to confirm they compile and pass, and two parallel step lists ('Instructions' and 'Test generation process') blur which sequence governs. This matches anchor 3: 'Steps listed but validation gaps; checkpoints missing or implicit'; anchor 4 requires most checkpoints present.

3 / 5

Progressive Disclosure

The skill is a well-organized single file with clear headers and content appropriately inlined, and there are no bundle files to reference. At ~97 lines it exceeds the under-50-line simple-skill exception, and the duplicated process sections are a minor organization gap, so it fits anchor 4 ('Good structure; most content is appropriately placed; minor organization gaps') rather than 5.

4 / 5

Total

14

/

20

Passed

Description

53%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 concise and states a clear, distinct capability, but it is a bare 'what' with no 'when' and thin trigger-term coverage. Moving the when_to_use guidance into the description and adding natural variations like 'write tests' or 'test coverage' would lift it substantially.

Suggestions

Append the trigger guidance to the description itself, e.g. 'Use when the user asks to write, generate, or add tests (unit or integration) for a function, module, or feature, or mentions test coverage.'

Mention the supported frameworks (jest, vitest, pytest, mocha) to improve both specificity and trigger-term coverage.

Include natural synonyms users say — 'write tests', 'unit tests', 'test coverage' — rather than only 'generate comprehensive tests'.

DimensionReasoningScore

Specificity

The description names the testing domain and one concrete action ("Generate comprehensive tests"), but stops there — no frameworks, test types, or coverage specifics. This matches the anchor 'Names domain and 1-2 concrete actions, but not comprehensive'; it is above anchor 2 because 'generate tests' is a concrete action rather than a generic verb like 'handles' or 'processes'.

3 / 5

Completeness

There is a clear 'what' ("Generate comprehensive tests for specified code") but no 'Use when...' clause or equivalent trigger guidance in the description itself — the 'when' lives only in the separate when_to_use frontmatter field, so completeness is capped at 3 per the rubric guideline. It matches anchor 3 exactly: clear 'what', 'when' missing.

3 / 5

Trigger Term Quality

"tests" and "generate" are natural terms users would say, but common variations are missing: 'write tests', 'unit tests', 'test coverage', 'add tests', and framework names. This fits 'Some relevant keywords but missing common variations or synonyms' rather than the good-coverage anchor.

3 / 5

Distinctiveness Conflict Risk

Test generation is a distinct niche and the description would not fire for unrelated skills; there is minor overlap risk with closely related skills like 'run tests', 'fix failing tests', or 'improve coverage'. Fits 'Mostly distinct; minor overlap risk'; not 5 because it lacks framework or file-type triggers that would fully carve out the niche.

4 / 5

Total

13

/

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

FlorianBruniaux/claude-code-ultimate-guide

Path

examples/skills/generate-tests/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.