TESTING AND RELIABILITY / JetBrains
Vitest
Routes an agent through Vitest one topic at a time: configuration shared with the Vite pipeline, the test/describe/expect APIs and hooks, mocking with the vi utilities, snapshot testing, V8 versus Istanbul coverage, fixtures via test.extend, environments, and type-level testing.
“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.”
01 / THE REASONING
Why this made the selection.
- Splits the parts of Vitest that agents get wrong into dedicated reference files — vi mocking of modules, timers and dates, snapshot testing, and coverage provider choice — instead of compressing them into prose.
- The reference tree mirrors the official manual's structure and was generated from the vitest-dev/vitest docs, so an agent loads exactly one topic (for example features-snapshots.md) rather than the whole framework.
- Frames Jest compatibility explicitly: what drops in from an existing Jest suite and what has to move to Vite-native config, which is the actual migration question.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- vitest/SKILL.md (JetBrains mirror)
- vitest/references directory listing (16 files)
- upstream antfu/skills skills/vitest/SKILL.md
- upstream LICENSE.md
- JetBrains/skills README mirror policy
Our findings
- Every one of the 16 reference links in the SKILL.md resolves to a file present in the mirror's references directory, verified against the directory listing.
- Front matter credits Anthony Fu's antfu/skills as source and names the generator input (vitest-dev/vitest); the mirror adds only a short-description field.
- The mirror snapshot is dated 2026-01-28 and based on Vitest 3.x, while the upstream generator has moved to a 2026-09-25 Vitest 5.0.1 build — the pinned revision is eight months behind upstream.
Not established by this review
- No test suite was written or executed with this skill; the workflow was read, not run.
- Reference files were verified to exist and sampled, not read end to end.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add JetBrains/skills/vitest --skill vitest Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills add https://github.com/JetBrains/skills/tree/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/vitest --skill vitest - Install the complete skill directory; the references are the substance and must travel with the SKILL.md.
- Point the agent at the failing suite or the coverage gap; let it load only the reference topic it needs.
Before you start
- Node.js/npm for the installer
- An agent that supports the Agent Skills format
- A Vitest (or Jest-to-Vitest) project
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
https://github.com/JetBrains/skills/blob/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/vitest/SKILL.md
Supports: summary, upstreamDescription, whySelected, bestFor, limitations, review, access
https://github.com/JetBrains/skills/tree/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/vitest/references
Supports: review, whySelected
https://github.com/antfu/skills/blob/e53a142a2420e8cd812cfe9ed0484ab01bc856aa/skills/vitest/SKILL.md
Supports: review, limitations
- Upstream license (MIT) ↗Checked
https://github.com/antfu/skills/blob/e53a142a2420e8cd812cfe9ed0484ab01bc856aa/LICENSE.md
Supports: license
https://github.com/JetBrains/skills/blob/e0f258b5cfed145015cb3e48da9a97947f7c4ed7/README.md
Supports: review, install, limitations
https://github.com/vercel-labs/skills/blob/7407f3893ad4dceab546ac002c3ef806e4000c73/README.md
Supports: install