CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/mocha-tests

Configures and runs Mocha - pluggable JS test runner pairable with Chai assertions, Sinon mocking, and nyc / c8 coverage; supports BDD interface (`describe` / `it`) and TDD interface (`suite` / `test`); async tests via callbacks / promises / async-await; `--parallel` mode (Mocha 8+); `.mocharc.json` config; per-test exclusivity via `.only()` / `.skip()`. Use when the user prefers a minimal pluggable runner (vs Jest's batteries-included) or maintains legacy Mocha codebases.

80

Quality

100%

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

Overview
Quality
Evals
Security
Files

Quality

Content

100%

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

A lean, action-oriented skill body: executable examples at every step, a clear sequenced workflow, and well-organized sections with a flat reference list. It assumes Claude's competence and avoids both verbosity and basic-concept padding.

DimensionReasoningScore

Conciseness

The body assumes Claude's competence (terse code blocks, an anti-patterns table, a compact limitations list) without explaining basic concepts; minor overlap between the Overview/When-to-use prose and the description keeps it just shy of fully trim, but every section earns its place.

3 / 3

Actionability

It provides copy-paste-ready, executable guidance throughout — install commands, working `describe`/`it` examples, a complete `.mocharc.json`, `.nycrc.json`, and CI YAML — matching the 'Fully executable code/commands' anchor.

3 / 3

Workflow Clarity

Steps 1–9 give a clear install → write → configure → run → coverage → CI sequence, with explicit error-avoidance notes (the MUST `return`/`await` rule in Step 4, parallel-mode limitations in Step 8); the operations are non-destructive so the absence of a validate→fix→retry loop does not cap the score.

3 / 3

Progressive Disclosure

No bundle files exist, so the skill is correctly self-contained; sections are well-organized and the References list points one level deep to clearly signaled external docs and sister skills, with no nested-reference indirection.

3 / 3

Total

12

/

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, third-person description that lists concrete capabilities and pairs them with an explicit 'Use when' trigger. It is distinctive against sibling test-runner skills and free of vague fluff.

DimensionReasoningScore

Specificity

The description enumerates many concrete capabilities — 'BDD interface (`describe` / `it`) and TDD interface (`suite` / `test`)', 'async tests via callbacks / promises / async-await', '--parallel mode', '.mocharc.json config', '.only() / .skip()' — matching the 'Lists multiple specific concrete actions' anchor.

3 / 3

Completeness

It answers both 'what' ('Configures and runs Mocha... supports BDD... async tests...') and an explicit 'when' ('Use when the user prefers a minimal pluggable runner... or maintains legacy Mocha codebases'), matching the anchor that requires explicit triggers for both.

3 / 3

Trigger Term Quality

It surfaces natural terms a user would actually say — 'Mocha', 'JS test runner', 'legacy Mocha codebases', 'minimal pluggable runner' — giving good coverage of common phrasings rather than dry jargon.

3 / 3

Distinctiveness Conflict Risk

The phrase 'vs Jest's batteries-included' and the 'minimal pluggable runner' / 'legacy Mocha codebases' niche carve a clear, distinctive trigger unlikely to fire for Jest/Vitest sister 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.

Reviewed

Table of Contents