testing-typescript-vitest

Official

Vitest setup and TS testing for TypeScript apps.

Authoropen-hax
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a full setup for Vitest with TypeScript, enabling rapid, type-safe testing in new and existing TypeScript projects without manual boilerplate configuration.

Core Features & Use Cases

  • Configures Vitest for TypeScript with tsconfig-paths integration and sensible defaults for test discovery and environment.
  • Defines a reusable test structure including unit and integration tests, setup files, and convenient mocks and fixtures.
  • Provides ready-to-use scripts and patterns to run, watch, and generate coverage reports across projects.

Quick Start

Install Vitest and related plugins, then create vitest.config.ts and begin writing tests under src.

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: testing-typescript-vitest
Download link: https://github.com/open-hax/opencode-skills/archive/main.zip#testing-typescript-vitest

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 510,000+ vetted skills library on demand.