What problem does it solve? Setting up a coherent testing strategy for a full-stack TypeScript application involves many non-obvious integration points: Vitest configuration, jsdom environments, MSW v2 API mocking, Server Action mocking, Playwright e2e setup, and CI coverage enforcement. This Skill provides a complete, working protocol for every layer of the testing pyramid. ## Core Features & Use Cases - Vitest Unit & Component Tests: Configures Vitest with jsdom, coverage thresholds (80% lines/functions), path aliases, and React Testing Library with accessibility checks via jest-axe. - MSW v2 API Mocking: Sets up Mock Service Worker handlers and a Node test server with per-test handler overrides for empty, error, and success states. - Server Action & Playwright 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 with Prisma needs tests before launch. This Skill generates the Vitest config, MSW handlers, component tests, Server Action tests, Playwright auth flows, and the GitHub Actions CI workflow with coverage upload. ## Quick Start Ask the AI to set up a complete testing strategy for your Next.js app with Vitest, MSW, and Playwright including CI integration.