agentleFS
boazsegevboazsegev/omoya/skills/web-visual-check/SKILL.md

web-visual-check

Skill1 starsChanged 6 days agoMITView on GitHub

This skill should be used when visually checking a web UI against intended layout or appearance using an already configured browser or screenshot tool; not for exact data assertions or installing browser automation.

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use only the user's existing tools.

    line 15

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

Visual Check a Web UI

  1. Start the application with the project's documented serve or demo command (check project memory, README or package scripts; ask if none is found). Prefer a hermetic or demo mode that needs no credentials. Wait for its local URL to respond and keep the server running through the check.
  2. Capture the intended state at a specified viewport using the first available option, substituting the actual <url>:
    • Configured browser MCP (e.g. Playwright MCP): navigate to the URL, resize, then call its screenshot tool. If it returns an image, inspect that result; if it saves a PNG, read the saved path with binary: true.
    • Already installed Chrome/Chromium/Edge CLI: chrome --headless --screenshot --window-size=1280,800 <url> (substitute the installed Chromium-family executable; screenshot.png is written in the working folder, then move it to ai-tmp/check.png before reading). For Firefox, use firefox --headless --screenshot ai-tmp/check.png <url> if its local --help confirms the option.
    • macOS with a visible window: screencapture -iw ai-tmp/check.png to select that window interactively (screen recording permission may be required).
  3. Call read with { path: "ai-tmp/check.png", binary: true } (or the actual PNG path) so the model sees the image; compare against the requested intent at desktop and narrow viewports where relevant. Describe observed mismatches, change the UI, recapture and reread until it matches. Use DOM/text assertions for exact content, labels, behavior and accessibility; screenshots for layout, clipping, color and visual hierarchy. Report the viewport, method, result and any unverified aspects.

Use only the user's existing tools; if none can capture a readable screenshot, state the limitation instead of claiming a visual check. Keep screenshots inside the project tree and avoid capturing secrets.

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.