skills/ehtbanton/claudeskillsrepo/vitest-config-generator

vitest-config-generator

SKILL.md

Vitest Config Generator

Generate Vitest configuration files for fast unit and integration testing.

Output Requirements

File Output: vitest.config.ts Format: Valid Vitest configuration Standards: Vitest 1.x

When Invoked

Immediately generate a complete Vitest configuration with test environment, coverage, and setup files.

Configuration Template

import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    globals: true,
    environment: 'jsdom',
  },
});

Example Invocations

Prompt: "Create vitest config for React with coverage" Output: Complete vitest.config.ts with jsdom and coverage settings.

Weekly Installs
1
First Seen
6 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1