agentleFS
jajupmochijajupmochi/agent-harness/skills/general/verify-visual/SKILL.md

verify-visual

Skill1 starsChanged 5 months agoMITView on GitHub

Use chrome-devtools MCP to screenshot a target URL/element and visually verify it matches a reference. Auto-fires when the user requests a UI change with a visual reference (paired with the ui-iteration-loop rule).

  • Installs packages

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No reference provided — there's nothing to verify against

    line 43
  2. Distinctive:

    When the visual concern includes performance / SEO / accessibility (not just look):

    line 48
  3. Very specific:

    No npm install of lighthouse needed for ad-hoc audits

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/verify-visual

Visually verify a UI change against a reference using chrome-devtools MCP.

Pre-flight

  • Confirm chrome-devtools MCP plugin is installed and not deprecated (per plugin-preflight rule)
  • Confirm the dev server is running (use /preview first if not)

Steps

  1. Acknowledge what you're verifying — re-state the change and the reference (1 line).
  2. Navigate to the target page using chrome-devtools MCP (navigate / navigate_page).
  3. Screenshot the relevant element (or full page) via take_screenshot / take_snapshot.
  4. Self-critique against the reference on the 4 axes (per ui-iteration-loop rule):
    • Color — palette, contrast, accent
    • Typography — font, weight, size, line-height
    • Spacing — padding, margin, gap, rhythm
    • Ornamentation — borders, shadows, decorative elements
  5. Show user the screenshot + 1-line verdict (match / off / specific axis to retry).

Output format

Verifying <change> against <reference> — 4 axes:
- Color: ✓ matches reference accent
- Typography: ✓ font + weight align
- Spacing: ⚠ slightly tighter than reference (~2 px less rhythm)
- Ornamentation: ✓ no shadow drift

Screenshot: <path-or-url>
Verdict: 80% match. Tighten rhythm next, or ship as-is?

When NOT to use

  • Micro-edits (single property tweak, copy fix) — skip per output-brevity companion rule
  • No reference provided — there's nothing to verify against
  • chrome-devtools MCP unavailable — ask the user how to proceed rather than fall back to blind edits

Lighthouse integration

When the visual concern includes performance / SEO / accessibility (not just look):

  • chrome-devtools MCP also exposes Lighthouse via lighthouse_audit (Chrome's built-in version)
  • No npm install of lighthouse needed for ad-hoc audits
  • For CI / scheduled audits, install @lhci/cli separately (see recommendations/web-auditing.md)

Companion rules

  • ui-iteration-loop — when running an autonomous 8-iteration loop, this skill is invoked at each iteration's "screenshot + critique" step
  • plugin-preflight — verify chrome-devtools MCP installed before first invocation in a session
  • tool-proactivity — fire this skill automatically when the task involves visual verification, with a one-line announcement

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.