本文へ移動
cccskills
無料GitHub で公開

visual-regression-lab

Compare captures; stitch lazy/animated pages.

インストール方法を見る

含まれるファイル(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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audit semantic and keyboard accessibility.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

Finish accessibility and performance details.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

Evaluate agent and skill behavior or routing.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

Design memory provenance and tenant isolation.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

Resolve agent ownership and handoff design.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

Define coherent motion timing and rhythm.

日本語の概要は準備中です。原文の説明を表示しています。

TheGoat395/Codex-Skills1272026年9月11日 更新

TheGoat395 のスキルをすべて見る

このスキルの問題を報告する