Skip to content
Frontend
Skill

/visual-regression-lab

Compare captures; stitch lazy/animated pages.

BOOST
From plugin
codex-skills
13280 skills
Install
$ npx -y skills add TheGoat395/Codex-Skills --skill visual-regression-lab --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/visual-regression-lab

Context preview

The summary Claude sees to decide when to auto-load this skill.

Compare captures; stitch lazy/animated pages.

SKILL.md

visual-regression-lab.SKILL.md
name: visual-regression-lab
description: "Compare captures; stitch lazy/animated pages."

Visual Regression Lab

Use this skill to capture comparable browser evidence and inspect visual regressions. Scope routes, viewports and states to the requested comparison; a capture alone does not prove quality.

Required Checks

1. Start or identify the local server. 2. Open the relevant route in a browser or Playwright. 3. Capture the relevant supported viewports and states, using the same conditions for baseline and candidate. 4. Check console errors, failed requests, layout overflow, missing media, and text clipping. 5. Inspect first viewport composition, hierarchy, spacing, typography, image crops, and CTA visibility. 6. Test key interactions: nav, forms, menus, tabs, accordions, hover states, focus states, and modals. 7. For animation-heavy work, test reduced-motion behavior and watch for jank. 8. For canvas/WebGL/video, verify nonblank rendered pixels and stable framing. 9. Report observed differences with evidence. Repair only when authorized, then recapture affected states; no fixed polish-pass or edit quota applies.

Read [baseline contract](references/baseline-contract.md). When a project has Playwright installed, run `node "<skill-root>/scripts/capture-settled-baseline.mjs" <url> <output-dir>` to capture settled desktop/mobile/reduced-motion states and a machine-readable inspection manifest.

When native full-page capture is blank, sparse, incomplete, or inconsistent with real scrolling, read [stitched full-page capture](references/stitched-full-page-capture.md) and run `node "<skill-root>/scripts/capture-stitched-full-page.mjs" --url <url> --output <image>`. Treat the stitched image as evidence only after visual inspection.

Output

Report:

  • routes/viewports checked
  • screenshots or saved paths when available
  • issues found and fixed
  • commands run
  • anything not tested

Resolve `<skill-root>` to this skill folder's actual absolute location; preserve project-local module resolution for Node capture tools.

Read more
Ships withcodex-skills

An unofficial, open-source, Codex-first Agent Skills library for premium frontend, website, design-engineering, and reliable agent workflows.

Get the whole plugin

Other skills on codex-skills.