
Description
vitest is an agent skill from the pproenca dot-skills collection, listed on skills.sh. It is a best-practices guide for the Vitest testing framework, with 44 rules across 8 categories, prioritized by their impact. It guides an AI agent when writing new Vitest tests, debugging flaky or slow tests, setting up test configuration, reviewing test code in pull requests, migrating from Jest to Vitest, and tuning CI and test performance. The rules cover test setup, async testing, mocking with the vi helpers, snapshots and test performance. Because the rules are ranked, the agent can focus first on the changes that matter most, such as removing shared state or slow setup, before smaller style points. The skill was formerly published as test-vitest. It suits developers who use Vitest in a JavaScript or TypeScript project and want an agent to write and review tests in line with established patterns. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it. It is free to add, and the source is public on GitHub.…
Highlights
- 44 Vitest rules in 8 categories
- Async testing and vi mocking patterns
- Snapshot and test performance guidance
- Helps migrate from Jest
Ratings & Reviews
No ratings yet
Be the first to rate vitest.
People also visit
vitest FAQ
What does the vitest skill cover?
Best practices for writing, debugging and reviewing Vitest tests, with 44 rules in 8 categories.
How do I install it?
Run: npx skills add https://github.com/pproenca/dot-skills --skill vitest.
Is it free?
Yes. The skill is free to add and the source is public on GitHub.
Can it help with a Jest migration?
Yes. The skill's when-to-apply list includes migrating from Jest to Vitest.
How are the rules ordered?
By priority and impact, so the most important changes come first in a review.
Was it renamed?
Yes. The skill is formerly named test-vitest, according to its description.
What are the best vitest alternatives?
Popular alternatives to vitest include vitest, vitest and vitest. See all vitest alternatives



















