What problem does it solve? Writing Playwright tests from a product spec is slow, and visual regression tests are notoriously flaky across environments. This Skill turns a natural-language spec into reproducible Playwright tests with byte-stable screenshot baselines, CI-driven baseline management, and a bounded self-healing loop for tests that drift from the UI. ## Core Features & Use Cases - Spec-to-test pipeline: Uses the official Playwright planner/generator agents (or the vlmkit-plan/vlmkit-generate CLIs) to explore the live app and author tests that follow strict generation rules (role/testid selectors, gotoApp() helper, screenshot checkpoints). - Deterministic VRT layer: Ships a playwright.config preset, _helpers.ts, and CI workflows that fix viewport, locale, timezone, and fonts, with CI as the single source of truth for baselines via an update-baselines workflow. - Bounded heal loop: @mizchi/vlmkit-heal classifies failures as intentional change vs regression using a reasoning VLM, updates baselines only on verified accepts, and caps cost with a USD budget and tiered models. - Use Case: You have a user story for a checkout flow. The Skill plans the scenario against the running app, generates tests/checkout.spec.ts, renders baselines in CI, verifies two consecutive green runs, and later auto-heals the test when the UI intentionally changes. ## Quick Start Ask the agent to turn your user story into a deterministic Playwright test by planning against the running app, generating the spec, and verifying it passes twice in CI.