Vitest

Vitest testing best practices for unit tests, mocking, coverage, fixtures, and test filtering.

antfuGitHub stars: 6KSource on GitHubExternal
Works withUniversal
Install

Install the Vitest skill with npx skills add antfu/skills --skill vitest -a claude-code, confirm the prompts, then wait for it to finish before continuing.

Paste this into Claude Code.

Hosted in an external repository

This skill's instructions live in its source repository. Read them on GitHub, or copy a prompt that sends your agent to the file.

View on GitHub

Add to your agent

Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides

CLI

npx uiskillbook get vitest

MCP server

https://www.uiskillbook.com/mcp

Questions