Vitest
Guided Vitest setup that detects project type, generates config, test setup, and a sample test.
- CCM score
- 66 of 100
- skills.sh installs
- 1.8K
- GitHub stars
- 1.1K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full setup flow: project type detection, dependency install, vitest.config.ts generation, setup file, tsconfig types, scripts, and a sample test
- Classifies projects as Cloudflare Workers, React (Vite or TanStack Start), Node/Hono, or library, each with its own environment settings
- Extends an existing
vite.config.tsrather than creating a separate config, and merges package.json scripts without overwriting them - Designed for setting up tests in new projects, migrating from Jest, or fixing broken testing infrastructure
Install
$ npx -y skills add jezweb/claude-skills --skill vitest -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vitest Setup
Detect the project type, generate the right Vitest configuration, and produce working test infrastructure. Not a reference card — this skill creates files.
Workflow
- Detect — scan the project to determine type and existing setup
- Configure — generate vitest.config.ts tailored to the environment
- Scaffold — create test setup, utilities, and a sample test
- Wire up — add package.json scripts and TypeScript config
Step 1: Detect Project Type
Read these files to determine the project:
package.json → dependencies, scripts, type field
tsconfig.json → paths, compiler options
wrangler.toml → Cloudflare Workers project
vite.config.ts → existing Vite setup (extend, don't replace)
vitest.config.ts → already configured? just fill gaps
jest.config.* → migration candidate
src/ → source structure
Classify as one of:
Details
- Repository
- github.com/jezweb/claude-skills
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- May 16, 2026
More from jezweb/claude-skills
All 64- Wordpress Content1.7K
- D1 Drizzle Schema1.7K
- Elevenlabs Agents1.7K
- Project Health1.6K
- Wordpress Setup1.6K
- Hono Api Scaffolder1.6K
- Landing Page1.5K
- Design Review1.5K
- Ai Image Generator1.5K
- Social Media Posts1.5K
- Mcp Builder1.5K
- Shopify Products1.4K
- Cloudflare Worker Builder1.4K
- Github Release1.4K
- React Native1.4K
- React Patterns1.3K
- Resume Cover Letter1.3K
- Proposal Writer1.3K
- Google Chat Messages1.3K
- Aussie Business English1.3K
- Shopify Setup1.3K
- Project Docs1.3K
- Git Workflow1.3K
- Shopify Content1.3K
Similar to Vitest
More Testing & QAjavascript-testing-patternsSkillwshobson/agents21.6K installsComprehensive testing guide covering Jest and Vitest setup, unit, async, and mocking patterns for JavaScript and TypeScript.
jest-typescriptSkillbobmatnyc/claude-mpm-skills354 installsJest testing setup for TypeScript projects with React Testing Library integration and a mature ecosystem.
jutsu-vitestPluginTheBushidoCollective/han201 starsComprehensive Vitest testing framework skills for modern Vite-powered JavaScript and TypeScript projects.
frontend-testingSkillaj-geddes/useful-ai-prompts516 installsComprehensive frontend test suites across Jest, Vitest, React Testing Library, and Cypress, with five reference guides.