vitest
✓Vitest configuration best practices for pools, performance, coverage, and mocking. Use when: auditing vitest.config.ts, optimizing CI, debugging test failures, configuring coverage, troubleshooting mocking, upgrading to Node 22+.
Installation
SKILL.md
For test philosophy (behavior vs implementation, TDD workflow, when to mock), see /testing-philosophy.
| forks | Node 22+, default choice | - | | threads | Node <22, CPU-bound tests | Node 22+ (native fetch issues) | | vmThreads | Need isolation + speed | Memory-constrained CI |
Vitest configuration best practices for pools, performance, coverage, and mocking. Use when: auditing vitest.config.ts, optimizing CI, debugging test failures, configuring coverage, troubleshooting mocking, upgrading to Node 22+. Source: phrazzld/claude-config.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/phrazzld/claude-config --skill vitest Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/phrazzld/claude-config --skill vitest- Source
- phrazzld/claude-config
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-05
- Updated
- 2026-02-18
Quick answers
What is vitest?
Vitest configuration best practices for pools, performance, coverage, and mocking. Use when: auditing vitest.config.ts, optimizing CI, debugging test failures, configuring coverage, troubleshooting mocking, upgrading to Node 22+. Source: phrazzld/claude-config.
How do I install vitest?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/phrazzld/claude-config --skill vitest Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/phrazzld/claude-config
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-05