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 tight, highly actionable skill that leads with runnable code templates for each test type and a concrete verification command. Its only real weaknesses are small correctness gaps in the component template and the absence of an error-recovery loop after running vitest.

DimensionReasoningScore

Conciseness

The body is almost entirely lean code templates with minimal prose ("Analyze the file to understand what to test", "Run: npx vitest run --reporter=verbose") and zero explanation of concepts Claude already knows. Every template covers a distinct setup (mocking, query wrapper, RTL, server-action cache mock), so every token earns its place — matching the 'lean and efficient' anchor exactly.

5 / 5

Actionability

Concrete, near-executable templates for all four test types plus a specific run command and a naming convention ("__tests__/OriginalName.spec.ts(x)"). Minor gaps keep it below fully copy-paste ready: the component template uses vi.fn() without importing vi, references an undefined mockItems, and uses React.ReactNode without an import.

4 / 5

Workflow Clarity

Clear 4-step sequence (analyze → determine type → create test → run) where the final `npx vitest run --reporter=verbose` acts as a verification checkpoint. It falls short of a 5 because there is no feedback loop for what to do when tests fail, and this is not a destructive/batch operation so the score-3 cap does not apply.

4 / 5

Progressive Disclosure

Good structure with well-labeled per-type sections and priority annotations, all appropriately inline for a skill of this size; no bundle files exist so nothing is mis-filed. It does not reach 5 because at ~99 lines (above the under-50-line simple-skill exception) the four templates could plausibly live in one-level-deep reference files, and there are no signaled reference paths at all.

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.

A solid, third-person description with an explicit 'Use when' clause and specific module-type targets. Its main limitation is that the trigger condition ('a module needs test coverage') is state-based rather than phrased around concrete user utterances, and it omits a few natural trigger synonyms.

Suggestions

Phrase the trigger around user utterances, e.g. 'Use when the user asks to write or add tests, increase test coverage, or create specs for a module'.

Include common synonyms like 'unit tests' and 'vitest' in the description so it matches how users naturally refer to this workflow.

Mention server actions in the capability list since the body covers them, closing the minor coverage gap.

DimensionReasoningScore

Specificity

"creates tests for adapters, hooks/composables/stores, and components" names the domain plus several concrete target types, matching the 'lists several specific actions; minor gaps' anchor. It is not a 5 because it names one action (test creation) and omits coverage the body actually handles (server actions), and not a 3 because the enumerated module types go well beyond 1-2 generic actions.

4 / 5

Completeness

Both parts are present: what ("creates tests for adapters, hooks/composables/stores, and components") and an explicit when ("Use when a module needs test coverage"). The trigger is state-based rather than mapped to concrete user utterances, matching the 4 anchor ('when' could be more explicit or specific) rather than the 5 anchor's concrete trigger phrases.

4 / 5

Trigger Term Quality

"needs test coverage" plus natural nouns like "adapters", "hooks", "components" gives good keyword coverage a user would plausibly say. A few natural terms are missing ("write tests", "unit tests", "spec", "vitest"), which keeps it below the comprehensive-synonym coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

The frontend-specific scope (adapters, hooks/composables/stores, components) carves a clear niche with distinct triggers, matching 'mostly distinct; minor overlap risk'. It is not a 5 because a generic 'write tests' skill in the same library would still overlap on the core trigger phrase.

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/nextjs/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.