Giverny

Vitest

Set up Vitest testing in any project — detects type (Cloudflare Workers, React, Node, library), generates vitest.config.ts, test setup, utilities, and a sample test. Covers…

by jezweb★ 1,134Testing & browsers

What Vitest does

Set up Vitest testing in any project — detects type (Cloudflare Workers, React, Node, library), generates vitest.config.ts, test setup, utilities, and a sample test. Covers mocking patterns, coverage config, workspace setup, Jest migration. Use whenever the user mentions adding tests, setting up Vitest, configuring tests, migrating from Jest, fixing testing infrastructure, or asks 'how do I test this'.

How to install Vitest in Claude Code

Giverny gives you a ready prompt with the exact install command from jezweb/claude-skills. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone jezweb/claude-skills and copy the plugins/dev-tools/skills/vitest folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Vitest on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the vitest skill on my current project.”

More Claude skills for testing & browsers