CtrlK
BlogDocsLog inGet started
Tessl Logo

vitest-testing

Modern TypeScript/JavaScript testing with Vitest. Fast unit and integration tests, native ESM support, Vite-powered HMR, and comprehensive mocking. Use for testing TS/JS projects.

78

1.05x
Quality

76%

Does it follow best practices?

Impact

74%

1.05x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/vitest-testing/skills/vitest-testing/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

69%

20%

Set Up Testing for the Atlas String Utilities Library

Vitest setup and configuration for a TypeScript library

Criteria
Without this skill
With this skill

Bun install

0%

0%

defineConfig import

100%

100%

globals: true

100%

100%

Coverage provider v8

100%

100%

Coverage reporters

0%

50%

Coverage thresholds

50%

100%

Include pattern

0%

28%

Test environment set

0%

100%

Test file naming

100%

100%

Import from vitest

100%

100%

describe() blocks

100%

100%

--reporter=tree in COMMANDS

0%

0%

CI mode command

0%

33%

90%

Unit Tests for the User Service

Vitest module mocking with vi.mock and vi.fn

Criteria
Without this skill
With this skill

vi imported from vitest

100%

100%

vi.mock() for db module

100%

100%

vi.mock() at top level

100%

100%

vi.fn() for mock functions

100%

100%

Mock configuration method used

100%

100%

clearAllMocks in beforeEach

100%

100%

Only external dependency mocked

100%

100%

Test utilities from vitest

100%

100%

describe() grouping

100%

100%

toMatchObject() assertion

0%

0%

Test file naming

100%

100%

64%

-8%

Write Tests for the Scheduler Utility

Timer mocking and parametrized tests for scheduler utility

Criteria
Without this skill
With this skill

vi import

100%

100%

Utilities import

100%

100%

Fake timers setup

100%

100%

Restore mocks teardown

0%

0%

Advance timers

100%

100%

System time mock

100%

100%

describe.each parametrize

0%

0%

Concurrent async tests

0%

0%

vi.fn() mock

100%

0%

describe blocks

100%

100%

Correct test filename

100%

100%

vitest.config.ts present

100%

100%

Repository
secondsky/claude-skills
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

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.