What problem does it solve?
This Skill eliminates the risk of undetected visual bugs slipping into production after CSS updates, component refactors, or layout changes, which are often missed by manual testing and standard code reviews.
Core Features & Use Cases
- Cross-Viewport Screenshot Comparison: Automatically captures before/after screenshots of web pages across desktop, tablet, and mobile viewports to spot layout shifts, color changes, typography issues, and responsive breaks.
- Interactive State Validation: Tests hover, click, form, dark mode, loading, and error states to catch regressions in dynamic UI elements that static screenshots might miss.
- Use Case Example: After updating a global CSS variable for your e-commerce site, use this Skill to compare screenshots of your homepage, product page, and checkout flow to confirm no unintended layout or style breaks occurred.
Quick Start
Use the visual-diff skill to run a visual regression check on your staging site's homepage and dashboard after you update the global button styles, and provide a report of any detected visual differences with severity ratings and suggested fixes.