Built for Vite projects, this brings Jest's familiar API with faster execution through native ESM support. You get describe/it blocks, vi.mock for module mocking, and parallel test running out of the box. The skill breaks down into five focused references: config for vitest.config.ts setup, test-api for writing suites and hooks, mocking for vi.fn and spies, utilities for assertions and coverage, and advanced for environments and type testing. If you're already using Vite, this is the natural choice since it shares the same config and transform pipeline. Load references selectively based on your task rather than dumping everything into context.

skills.sh installs
3.2K
GitHub stars
723
last updated
Aug 21, 2026

Install

$ npx -y skills add onmax/nuxt-skills --skill vitest --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/onmax/nuxt-skills
Categories
Frontend Development, Testing & QA, Documentation, Automation & Workflows
First seen
May 16, 2026

More from onmax/nuxt-skills

All 21
1freshtechbro avatarmodern-web-designfreshtechbro/claudedesignskillsModern web design trends, principles, and implementation patterns for 2024-2025. Use this skill when designing websites, creating interactive experiences, imple3.1Kskills.sh installs
2benjaminsehl avatarliquid-theme-standardsbenjaminsehl/liquid-skillsCSS, JavaScript, and HTML coding standards for Shopify Liquid themes. Covers BEM naming inside stylesheet tags, design tokens, CSS custom properties, Web Compon3.1Kskills.sh installs
3forcedotcom avatargenerating-lwc-componentsforcedotcom/sf-skillsLightning Web Components with PICKLES methodology and 165-point scoring. Use this skill when the user creates or edits LWC components, builds wire service patte3.1Kskills.sh installs
4markdown-viewer avatarinfocardmarkdown-viewer/skillsCreate editorial-style information cards using HTML/CSS in Markdown. Best for knowledge summaries, data highlights, event announcements, and single-topic conten3.1Kskills.sh installs
5getsentry avatarpresentation-creatorgetsentry/skillsCreate data-driven presentation slides using React, Vite, and Recharts with Sentry branding. Use when asked to "create a presentation", "build slides", "make a 3.1Kskills.sh installs
6nexu-io avatargsap-corenexu-io/open-designOfficial GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion).3Kskills.sh installs