test-visual-regression
Installation
SKILL.md
test-visual-regression — Screenshot baselines that stay green
Degree of freedom: MIXED — what to baseline [HIGH freedom];
determinism loop and 3× clean runs [LOW freedom — run exactly].
playwright-cli / project runner — never Playwright MCP.
Establish a screenshot baseline for important UI states and wire diffing so unintended visual change fails CI.
Functional tests prove the button works; visual tests prove it didn't move, shrink, lose styling, or overlap the next element.
Use playwright-cli (npx --yes @playwright/cli@latest) and the project's
Playwright test runner — never Playwright MCP. Read
protocol-browser-anti-stall before any headed session.