From ultraship
Performs visual regression testing by capturing and comparing Playwright screenshots before/after changes across desktop, tablet, and mobile viewports to detect layout shifts, color changes, and UI bugs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ultraship:visual-diffThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automated screenshot comparison using Playwright. Catch visual bugs before they ship.
Automated screenshot comparison using Playwright. Catch visual bugs before they ship.
Ask the user:
If the user already described what changed, skip asking.
If comparing against the current state (before making changes):
Use the Playwright MCP to capture screenshots:
Navigate to the URL:
browser_navigate to go to the target URLTake full-page screenshot:
browser_take_screenshot to capture the current stateCapture key viewports:
browser_resize then browser_take_screenshotbrowser_resize then browser_take_screenshotbrowser_resize then browser_take_screenshotSave screenshots with descriptive names noting they are "before" state.
Let the user make their changes, or make them yourself if that's the task.
Repeat the same screenshot process for the same URLs and viewports.
Compare before and after screenshots:
Use browser_snapshot to get the accessibility tree and compare DOM structure between before/after.
Present findings in a clear format:
No Visual Regressions Found:
Regressions Detected: For each regression:
For specific component changes, also test:
browser_hover)browser_click)browser_fill_form)When the user doesn't specify pages, test these by default:
Trust screenshots, not assumptions. CSS changes cascade unpredictably. A "small tweak" in one component can break layouts across the entire app. Always verify visually.
npx claudepluginhub houseofmvps/ultraship --plugin ultrashipDetects UI visual regressions via screenshot comparisons using Playwright, Cypress, Percy. Generates diffs, handles responsive breakpoints, and integrates with CI.
Detects visual and UI regressions via screenshot comparison and pixel-diff analysis using Playwright or Puppeteer. Captures cross-browser/viewport screenshots, categorizes layout shifts and color changes, generates diff reports for CI/CD PR checks.
Adds visual regression testing to UI projects via screenshot comparison, diff detection, and baseline management. Catches CSS regressions and layout shifts.