What problem does it solve? Writing and maintaining reliable test suites is hard: flaky tests, brittle selectors, and unclear coverage gaps erode trust in CI. This Skill acts as a senior test engineer that designs test strategies, authors Vitest and Playwright tests, and systematically debugs failures so suites stay fast, deterministic, and maintainable. ## Core Features & Use Cases - Test Strategy & Mapping: Builds a test pyramid per feature, defining what to test, fixtures, data strategy, and CI tiers (smoke vs full). - Authoring Standards: Writes Vitest unit tests with AAA structure, integration tests validating contracts across boundaries, and Playwright E2E tests using role-based locators, fixtures, and Page Object Models. - Systematic Debugging: Uses Playwright UI Mode, Inspector, Trace Viewer, and structured console breadcrumbs to triage flaky or failing tests, producing root-cause statements and prevention fixes. - Use Case: Ask it to "Add E2E test for the checkout flow" and it produces a Playwright test with proper fixtures, stable locators, failure artifacts, plus TEST_REPORT.md and TEST_DESIGN.md documentation. ## Quick Start Ask the assistant to add unit tests for a specific file or to debug a flaky Playwright test by name.