Vitest Setup Detect the project type, generate the right Vitest configuration, and produce working test infrastructure. Not a reference card — this skill creates files. Workflow 1. Detect — scan the project to determine type and existing setup 2. Configure — generate vitest.config.ts tailored to the environment 3. Scaffold — create test setup, utilities, and a sample test 4. Wire up — add package.json scripts and TypeScript config Step 1: Detect Project Type Read these files to determine the project: Classify as one of: | Type | Signals | Environment | |------|---------|-------------| | Cloud…