Individual skill
vitest
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
skills/vitest/SKILL.md
Source commit 7de210b51c8d48cc405a4eac3e17cbb1396c653b
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 6,060
- Repository last updated
- Nov 5, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- skills Repository topic
- testing Derived category
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
GENERATION.mddoc · 136 bytesSKILL.mdcore · 3,716 bytesreferences/advanced-environments.mddoc · 5,005 bytesreferences/advanced-projects.mddoc · 7,529 bytesreferences/advanced-type-testing.mddoc · 4,740 bytesreferences/advanced-vi.mddoc · 5,933 bytesreferences/core-cli.mddoc · 5,055 bytesreferences/core-config.mddoc · 7,878 bytesreferences/core-describe.mddoc · 3,624 bytesreferences/core-expect.mddoc · 9,001 bytesreferences/core-hooks.mddoc · 4,891 bytesreferences/core-test-api.mddoc · 5,662 bytesreferences/features-benchmarking.mddoc · 3,992 bytesreferences/features-concurrency.mddoc · 4,805 bytesreferences/features-context.mddoc · 5,414 bytesreferences/features-coverage.mddoc · 5,120 bytesreferences/features-filtering.mddoc · 4,931 bytesreferences/features-mocking.mddoc · 10,064 bytesreferences/features-reporters.mddoc · 4,114 bytesreferences/features-snapshots.mddoc · 5,291 bytesreferences/features-test-tags.mddoc · 3,693 bytes
Read excerpt
Vitest is a next-generation testing framework powered by Vite. It provides a Jest-compatible API with native ESM, TypeScript, and JSX support out of the box. Vitest shares the same config, transformers, resolvers, and plugins with your Vite app.
**Key Features:**
- Vite-native: Uses Vite's transformation pipeline for fast HMR-like test updates
- Jest-compatible: Drop-in replacement for most Jest test suites
- Smart watch mode: Only reruns affected tests based on module graph
- Native ESM, TypeScript, JSX support without configuration
- Multi-threaded workers for parallel test execution
- Built-in coverage via V8 or Istanbul
- Snapshot testing, mocking, and spy utilities
> The skill is based on Vitest 5.1.0-beta.1, generated at 2026-10-23.
## Core