What problem does it solve?
This Skill eliminates slow, inconsistent test setup by generating production-ready unit/integration/E2E test scaffolds for React and Next.js, plus tooling to measure and close coverage gaps.
Core Features & Use Cases
- Unit & integration test stubs for React components: Scans React/TypeScript components and creates Jest + React Testing Library test files, optionally including accessibility checks via jest-axe.
- Coverage gap analysis: Parses Istanbul/LCOV coverage reports to identify uncovered statements, branches, functions, and lines, and enforces thresholds for release quality gates.
- E2E scaffolding for Next.js routes: Scans Next.js app/pages directories and generates Playwright specs per route, including optional Page Object Model classes and auth fixture scaffolding.
- Testing pattern alignment: Promotes structured testing workflows (AAA, test pyramid targets, and maintainability guidance via references) to improve test quality over time.
Quick Start
Ask: "Use the senior-qa skill to scaffold Jest tests for my React components in src/components, analyze my existing coverage report, and generate Playwright E2E specs for my Next.js routes under src/app."