CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

dev-create-test

Use when a module needs test coverage - creates tests for adapters, hooks/composables/stores, and components.

Quality

81%

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

SKILL.md
Quality
Evals
Security

Quality

Content

82%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.

A lean, dense instruction set: four sequenced steps, three complete TypeScript templates encoding project-specific test conventions, and an exact run command. It only drops points on small concrete details — placeholder identifiers, a missing `vi` import in the component template, no failure-handling step after the test run, and fully inlined templates — none of which obscure what to do.

Suggestions

Fix the component template to import `vi` from 'vitest' so the `vi.fn()` example is executable as written.

Add a short feedback step after the vitest run (e.g., 'If tests fail, fix the test or flag the underlying bug, then re-run until green') to close the workflow loop.

Consider moving the three full templates to references/ files (e.g., references/adapter-template.md) or trimming each to its most instructive case to slim the main file.

DimensionReasoningScore

Conciseness

The body is pure payload — 'Create tests for the specified file or module.' followed by four one-line steps and three code templates, with zero concept explanation or padding. Every template encodes project-specific conventions Claude cannot infer (naming, `__tests__/OriginalName.spec.ts`, store access via `get()`), so every token earns its place; there are no over-explanations to trim, which rules out the anchor below.

5 / 5

Actionability

Concrete, structurally complete TypeScript templates with real imports ('vitest', 'svelte/store', '@testing-library/svelte'), an exact file convention ('Create the test in `__tests__/OriginalName.spec.ts`') and an exact run command ('npx vitest run --reporter=verbose'). Not fully copy-paste ready: templates use `xxx` placeholder names, and the component template calls `vi.fn()` without importing `vi`, so the code would fail as written — a minor but real gap that keeps it below the top anchor.

4 / 5

Workflow Clarity

Four clearly sequenced steps (analyze file → determine test type → create spec file → run suite) with verification present via the verbose vitest run. Missing a feedback loop: no instruction on what to do when the test run reports failures, which keeps it below the explicit validate/fix/retry pattern of the top anchor; the destructive/batch cap does not apply since test creation is neither.

4 / 5

Progressive Disclosure

Well-organized '## Steps' structure with three clearly labeled '###' sub-sections (Adapter, Store, Component) and no buried or nested references. At ~90 body lines with three full templates inlined, content that could live in `references/` files is kept in the main file, and the under-50-line simple-skill exception does not apply — good structure with minor organization gaps rather than an appropriately split overview.

4 / 5

Total

17

/

20

Passed

Description

75%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 pairs an explicit 'Use when a module needs test coverage' trigger with a concrete enumeration of the module types it tests. All four dimensions land at 4 — consistently solid, but lacking the trigger variations, framework mention, and synonym coverage that characterize top-anchor examples.

Suggestions

Add trigger variations to the when-clause (e.g., 'Use when a module needs test coverage, when the user asks to write unit tests, or when adding a spec file') to strengthen completeness and trigger coverage.

Mention the framework and suite execution in the what-clause (e.g., 'creates Vitest spec files for adapters, hooks/composables/stores, and components and runs the suite') for more comprehensive capability coverage.

DimensionReasoningScore

Specificity

'creates tests for adapters, hooks/composables/stores, and components' enumerates concrete coverage targets rather than stopping at a generic action, sitting above the 1-2-action anchor. It stays below the top anchor because only one action verb is stated and details like the test framework or running the suite are absent.

4 / 5

Completeness

Both parts are explicit: the what ('creates tests for adapters, hooks/composables/stores, and components') and the when ('Use when a module needs test coverage'). The when-clause is a single general condition without concrete trigger variations such as 'when the user asks to write unit tests or add a spec file', which is what distinguishes the top anchor.

4 / 5

Trigger Term Quality

'test coverage', 'tests', 'adapters', 'hooks', 'composables', 'stores', and 'components' are natural phrases developers actually say, giving good keyword coverage. Common variations are missing — 'unit tests', 'write tests', 'spec files', 'vitest' — so it falls short of the comprehensive synonym coverage of the top anchor but is well above 'some relevant keywords'.

4 / 5

Distinctiveness Conflict Risk

The enumerated module types carve a clear niche in frontend test creation, distinguishing it from general dev skills. The broad trigger 'a module needs test coverage' leaves minor overlap risk with any other testing-related skill, keeping it below the minimal-conflict top anchor.

4 / 5

Total

16

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository

fernandezbaptiste/specialist-agent

Path

packs/svelte/skills/dev-create-test/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.