vitest-test-development

Official

Write high-value tests with Vitest.

Authorthermiteau
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides clear guidelines and best practices for writing effective unit and integration tests using Vitest, ensuring code quality and reliability without unnecessary complexity.

Core Features & Use Cases

  • Focus on Value: Prioritizes tests that catch real bugs in business logic, data transformations, and API endpoints.
  • Avoids Pitfalls: Discourages testing third-party libraries, framework internals, or superficial code.
  • Use Case: When developing a new API endpoint, use this Skill's guidance to write robust integration tests that verify request handling, data persistence, and error responses, rather than just testing the web framework itself.

Quick Start

Follow the guidelines in this skill to write Vitest unit tests for your business logic.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vitest-test-development
Download link: https://github.com/thermiteau/claude-vps/archive/main.zip#vitest-test-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.