Back to Agent Skills
Development & Testing
Vitest
by Julien Thibeaut (ui-skills.com) 3.7k GitHub stars
Write and run fast unit tests with Vitest — mocking, coverage, test filtering, and fixtures with a Jest-compatible API.
#vitest#unit-testing#mocking#coverage
Claude Code Codex
Overview
The Vitest skill covers writing unit tests, mocking, configuring coverage, and working with test filtering and fixtures using Vitest's Vite-powered, Jest-compatible API. Use it for fast, modern unit testing in JS/TS projects.
What it is good for
- Writing unit tests for a module
- Mocking dependencies
- Configuring coverage reporting
- Filtering and organizing test suites
Install
Install in Claude Code
# Add the marketplace, then install the skill in Claude Code:
/plugin marketplace add ibelick/ui-skills
/plugin install vitest
# Or install manually into ~/.claude/skills:
git clone https://github.com/ibelick/ui-skills.git
cp -r ui-skills/vitest ~/.claude/skills/vitest Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Skills
Development & Testing
MCP Builder
Guide the creation of Model Context Protocol servers to connect APIs and tools to AI agents.
Claude Code Codex
Development & Testing Superpowers
A core skills library of 20+ battle-tested, composable tools and workflows for everyday agent development tasks.
Claude Code Codex
Development & Testing Vercel React Best Practices
React and Next.js performance guidelines from Vercel Engineering — data fetching, bundle optimization, and rendering patterns.
Claude Code Codex