What problem does it solve?
Manually setting up visual regression test suites for web applications is time-consuming and error-prone, requiring careful configuration of screenshot capture, baseline management, and pixel diffing logic. This Skill automates the entire scaffolding process so you can focus on testing your UI instead of writing test infrastructure from scratch.
Core Features & Use Cases
- Automated Test Harness Generation: Creates a Playwright config tuned for snapshot tests, a routes file to define pages to capture, and a spec that loops through routes to run screenshot comparisons.
- Flexible Route Configuration: Supports custom route lists via the --routes flag to capture specific pages of your application.
- Use Case: Before launching a major UI refactor, use this Skill to quickly set up visual regression coverage that will catch unintended design changes, layout shifts, or broken components across all key pages.
Quick Start
Use the diff skill to scaffold a Playwright visual regression test suite for your project's key routes.