CtrlK
BlogDocsLog inGet started
Tessl Logo

jest-generator

Generate Jest unit tests for JavaScript/TypeScript with mocking, coverage. Use for JS/TS modules, React components, test generation, or encountering missing coverage, improper mocking, test structure errors.

64

Quality

78%

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/jest-generator/skills/jest-generator/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%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 highly actionable and token-efficient, carrying its value in executable code. Its weaknesses are a missing generation-then-validate feedback loop and a monolithic structure that inlines reference material instead of splitting it into separate files.

Suggestions

Add an explicit generation workflow with a validation checkpoint: generate tests → run `bun test` (or `npm test`) → fix failures → re-run until green, rather than listing run commands in isolation.

Split the Common Matchers reference and React Component Testing into separate reference files (e.g. MATCHERS.md, REACT.md) and link to them from the body, keeping SKILL.md as an overview.

De-duplicate the Quality Checklist and Best Practices sections, and trim the Purpose line to remove restatement of the description.

DimensionReasoningScore

Conciseness

Largely code-driven and lean with little explanation of concepts Claude already knows, but the Purpose restates the description and the Quality Checklist and Best Practices sections overlap.

4 / 5

Actionability

Provides copy-paste ready, executable examples across test structure, mocking, async, timers, matchers, and React testing, plus concrete run commands covering the common Jest cases.

5 / 5

Workflow Clarity

A Quality Checklist and run commands are present, but test generation is presented as patterns rather than a sequenced workflow, with no explicit run-test-then-fix feedback loop after generation.

3 / 5

Progressive Disclosure

Well-sectioned but monolithic in a single file over 50 lines with no bundle files or external references split out, leaving sizable reference content inlined.

3 / 5

Total

15

/

20

Passed

Description

83%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 specific, trigger-rich, and explicitly answers both what and when, placing it near the top of the rubric. Minor gains are available by adding natural synonyms and file extensions to broaden trigger coverage.

DimensionReasoningScore

Specificity

Lists several concrete actions — "Generate Jest unit tests", "with mocking, coverage" — but stays anchored on a single generate verb rather than a fully comprehensive action set.

4 / 5

Completeness

Explicitly answers both what (generate Jest unit tests with mocking, coverage) and when (a concrete "Use for..." clause enumerating trigger scenarios).

5 / 5

Trigger Term Quality

Strong natural terms ("Jest unit tests", "JS/TS modules", "React components", "missing coverage", "improper mocking") a user would say, though it omits synonyms and file extensions like ".test.ts".

4 / 5

Distinctiveness Conflict Risk

Jest-specific niche with distinct triggers and minimal conflict risk, with slight residual overlap against general test-generation skills.

4 / 5

Total

17

/

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

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

Warning

Total

15

/

16

Passed

Repository
secondsky/claude-skills
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.