What problem does it solve? Setting up a coherent testing strategy for a full-stack application involves many non-obvious integration points: Vitest configuration, jsdom environment setup, MSW v2 API mocking, Server Action mocking, Playwright e2e configuration, and CI coverage enforcement. This Skill provides a complete, working protocol for every layer of the testing pyramid. ## Core Features & Use Cases - Vitest Unit and Component Testing: Configures Vitest with jsdom, React Testing Library, jest-axe accessibility checks, and v8 coverage thresholds (80% lines, 80% functions). - MSW v2 API Mocking: Sets up mock servers with request handlers, per-test handler overrides, and strict unhandled-request errors. - Server Action and E2E Testing: Mocks Prisma and auth for Next.js Server Actions, and configures Playwright for critical user journeys across desktop and mobile devices. - Use Case: A developer starting a Next.js app asks to "set up testing" and receives a complete Vitest config, MSW handlers, component test examples, Playwright e2e specs, and a GitHub Actions workflow with coverage gating. ## Quick Start Set up a complete testing strategy for my Next.js app with Vitest unit tests, MSW API mocking, and Playwright e2e tests wired into CI.