Mocha Test Setup - Auto-activating skill for Test Automation. Triggers on: mocha test setup, mocha test setup Part of the Test Automation skill category.
Install with Tessl CLI
npx tessl i github:jeremylongshore/claude-code-plugins-plus-skills --skill mocha-test-setup42
Quality
14%
Does it follow best practices?
Impact
94%
1.28xAverage score across 3 eval scenarios
Optimize this skill with Tessl
npx tessl skill review --optimize ./planned-skills/generated/09-test-automation/mocha-test-setup/SKILL.mdMocha framework setup and configuration
Uses Mocha package
0%
100%
Test script uses mocha
0%
100%
Mocha config file present
0%
0%
Test directory structure
100%
100%
Uses assertion library
100%
100%
describe/it blocks
50%
100%
Tests capitalize function
100%
100%
Tests slugify function
100%
100%
SETUP.md documents steps
100%
100%
Without context: $0.3875 · 1m 47s · 22 turns · 2,820 in / 5,464 out tokens
With context: $0.6114 · 2m 8s · 35 turns · 35 in / 7,205 out tokens
Mocha mocking and test isolation
Mocking library added
100%
100%
No real network calls
100%
100%
Mock reset/restore
100%
100%
Assertions on behavior
100%
100%
Mocha still used as runner
100%
100%
describe/it structure
100%
100%
Error case tested
100%
100%
MOCKING.md explains approach
100%
100%
Without context: $0.5281 · 2m 22s · 27 turns · 28 in / 7,813 out tokens
With context: $0.5778 · 2m 24s · 31 turns · 291 in / 7,169 out tokens
Integration test setup and lifecycle hooks
Uses Mocha as runner
0%
100%
before/after hooks used
75%
100%
HTTP client for requests
100%
100%
All three endpoints covered
100%
100%
Error response tested
100%
100%
State reset between tests
100%
100%
describe/it structure
100%
100%
Mocha config present
0%
40%
TEST-STRATEGY.md explains lifecycle
100%
100%
Without context: $0.4154 · 2m 9s · 23 turns · 24 in / 6,106 out tokens
With context: $0.5666 · 2m 11s · 33 turns · 64 in / 7,026 out tokens
Table of Contents
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.