What problem does it solve?
This Skill provides a structured, layer-by-layer approach to testing, ensuring comprehensive coverage from the database to the end-user interface. It eliminates ad-hoc testing, reduces the risk of bugs in production, and makes your testing process efficient and reliable.
Core Features & Use Cases
- Layered Testing Philosophy: Guides testing from Database (SQL, RLS) → Backend (Edge Functions) → Frontend (Components) → E2E (User Journeys).
- Quick Test Commands: Provides commands for pre-commit checks, full test suites, and watch mode for rapid feedback.
- Pre-Deployment & Production Readiness: Includes checklists for ensuring code quality, functionality, and backend integrity before deployment.
- Use Case: Before deploying a new feature, use this skill to run a full test suite, including Playwright E2E tests, to validate the entire user journey and ensure all layers of your application are working correctly.
Quick Start
Pre-Commit Check (30 sec)
pnpm tsc && pnpm build
Full Test Suite (5 min)
pnpm tsc && pnpm build && npx playwright test