Vitest
Skill Verified ActiveVitest - Modern TypeScript testing framework with Vite-native performance, ESM support, and TypeScript-first design
To equip users with the knowledge and examples needed to effectively set up and utilize Vitest for fast, TypeScript-first testing in modern JavaScript/TypeScript projects.
Features
- Vitest setup and configuration
- TypeScript-first testing patterns
- Mocking and spying with vi
- React and Vue component testing integration
- Async testing and promise handling
- Snapshot testing capabilities
- Coverage reporting with v8
- Migration guide from Jest
- Advanced testing patterns (concurrent, context, custom matchers)
Use Cases
- Testing TypeScript/JavaScript projects with Vitest
- Setting up Vitest for React and Vue component testing
- Migrating existing Jest test suites to Vitest
- Implementing fast and efficient unit and integration tests
- Configuring code coverage reports
Non-Goals
- Providing a testing framework itself
- Replacing Vitest with direct CLI commands
- Covering every possible edge case of every JavaScript/TypeScript library
Trust
- info:Issues AttentionOpen issues: 4, Closed issues (last 90d): 0. The closure rate is 0%, and the number of open issues is relatively low, suggesting maintenance is active but issues may not be addressed quickly.
Installation
npx skills add bobmatnyc/claude-mpm-skillsRuns the Vercel skills CLI (skills.sh) via npx — needs Node.js locally and at least one installed skills-compatible agent (Claude Code, Cursor, Codex, …). Assumes the repo follows the agentskills.io format.
Quality Score
VerifiedSimilar Extensions
Vue Testing Best Practices
100Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Setup Tailwind Typescript
100Configure Tailwind CSS with TypeScript in a Next.js or React project. Covers installation, configuration, custom theme extensions, component patterns, and type-safe styling utilities. Use when adding Tailwind CSS to an existing TypeScript project, customizing the Tailwind theme for a project's design system, setting up type-safe component styling patterns, or configuring Tailwind plugins and extensions.
Sentry React Router Framework Sdk
100Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.
Testing Clickup Cli
100Run and manage tests for clickup-cli. Covers unit tests, e2e tests against a real ClickUp workspace, and the test data setup. Use when running tests, adding test coverage, debugging test failures, or setting up test fixtures.
Playwright Best Practices
100Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions, multi-tab/popup flows, mobile/responsive layouts, touch gestures, GraphQL, error handling, offline mode, multi-user collaboration, third-party services (payments, email verification), console error monitoring, global setup/teardown, test annotations (skip, fixme, slow), test tags (@smoke, @fast, @critical, filtering with --grep), project dependencies, security testing (XSS, CSRF, auth), performance budgets (Web Vitals, Lighthouse), iframes, component testing, canvas/WebGL, service workers/PWA, test coverage, i18n/localization, Electron apps, or browser extension testing. Covers E2E, component, API, visual, accessibility, security, Electron, and extension testing.
Senior Backend Engineer
100Designs and implements backend systems including REST APIs, microservices, database architectures, authentication flows, and security hardening. Use when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs". Covers Node.js/Express/Fastify development, PostgreSQL optimization, API security, and backend architecture patterns.