Skip to content
cccskills
FreePublished on GitHub

visual-regression-lab

Compare captures; stitch lazy/animated pages.

The English summary is being prepared. Showing the original description.

Works withPlaywright
See how to install

Files included (6)

  • SKILL.md2.0 KB
  • agents/openai.yaml250 B
  • references/baseline-contract.md1.2 KB
  • references/stitched-full-page-capture.md3.4 KB
  • scripts/capture-settled-baseline.mjs6.2 KB
  • scripts/capture-stitched-full-page.mjs15.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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. 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 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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Audit semantic and keyboard accessibility.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

Finish accessibility and performance details.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

Evaluate agent and skill behavior or routing.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

Design memory provenance and tenant isolation.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

Resolve agent ownership and handoff design.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

Define coherent motion timing and rhythm.

The English summary is being prepared. Showing the original description.

TheGoat395/Codex-Skills129Updated Sep 11, 2026

See all skills by TheGoat395

Report a problem with this skill