What problem does it solve?
This Skill provides structured testing protocols, end-to-end patterns, and quality-gate automation for software projects.
Core Features & Use Cases
- Unit Testing: Establishes standardized Vitest-based unit tests, patterns for component-level validation, and mock strategies.
- E2E Testing: Defines end-to-end testing patterns with Playwright to validate user flows across the app.
- Quality Gates: Includes linting, TypeScript checks, and production build checks to guarantee code quality before release.
- Use Case: Imagine a Next.js project where you want fast feedback on changes; this Skill guides implementing tests, running CI checks, and maintaining quality across deployments.
Quick Start
Run npm test to execute all unit tests.
Run npm test -- --watch for TDD/watch mode.
Run npm run test:e2e to run all E2E tests, or npm run test:e2e -- --headed for a headed run.
Run npm run lint, npx tsc --noEmit for TypeScript checks, and npm run build for a production readiness check.