What problem does it solve? Writing and maintaining tests for React/Next.js applications is time-consuming, and teams struggle to identify coverage gaps in critical paths like authentication and payments. This Skill automates test stub generation, coverage gap analysis, and E2E test scaffolding so quality assurance work starts from a structured foundation instead of a blank file. ## Core Features & Use Cases - Test Suite Generation: Scans React/TypeScript components and generates Jest + React Testing Library test stubs with render, interaction, and optional accessibility assertions. - Coverage Analysis: Parses Istanbul JSON or LCOV reports, calculates line/branch/function coverage, flags critical untested paths (auth, payment, API routes), and enforces thresholds with a strict mode. - E2E Scaffolding: Detects Next.js App Router or Pages Router routes and generates Playwright test files, Page Object Model classes, playwright.config.ts, and auth fixtures. - Use Case: After building a new checkout flow, run the test suite generator on your components, analyze the coverage report to find untested payment logic, and scaffold Playwright tests for the new routes—all in one workflow. ## Quick Start Ask the assistant to generate Jest test stubs for the components in src/components and then analyze the coverage report to find gaps below 80 percent.