agentleFS
ManojDevHub1ManojDevHub1/visual-engineering-suite/skills/browser-visual-qa/SKILL.md

browser-visual-qa

Skill1 starsChanged 26 days agoMITView on GitHub

Detect browser automation capabilities, capture screenshots at defined viewport sizes (mobile, tablet, desktop), inspect console errors and network failures, and validate real rendered frontend interfaces.

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill to render the implemented interface in a real browser, capture standardized screenshots, monitor console logs, and verify …

    line 9
  2. Distinctive:

    Runtime Health: Check for JavaScript console errors and failed network assets (missing images, 404 fonts).

    line 15
  3. Distinctive:

    Empirical Truth: Never report that a page rendered properly without observing actual screenshots or console outputs.

    line 16
  4. Distinctive:

    Native Agent Browser Tools: If your agent platform provides built-in browser tools (e.g., Antigravity browser tools), invoke them directly …

    line 24
  5. Very specific:

    Playwright Workflow: If Playwright is installed, use the included capture runner capture.js:

    line 25
  6. Distinctive:

    Fallback: If neither tool is installed, request developer capture or provide installation instructions:

    line 30
  7. Very specific:

    Ensure zero uncaught runtime errors (TypeError, ReferenceError).

    line 42
  8. Very specific:

    Ensure no hydration mismatch warnings in React/Next.js (Warning: Text content did not match).

    line 43
  9. Distinctive:

    Ensure zero 404 or blocked network requests for fonts, icons, or images.

    line 44

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

Browser Visual QA Skill

Use this skill to render the implemented interface in a real browser, capture standardized screenshots, monitor console logs, and verify runtime visual integrity.

Core Responsibilities

  1. Automation Detection: Detect available browser automation tools (native agent tools vs. Playwright CLI).
  2. Standardized Viewports: Capture screenshots conforming to Viewport Standards (mobile: 390x844, tablet: 768x1024, desktop: 1280x800).
  3. Runtime Health: Check for JavaScript console errors and failed network assets (missing images, 404 fonts).
  4. Empirical Truth: Never report that a page rendered properly without observing actual screenshots or console outputs.

Step-by-Step Procedure

1. Check Available Browser Automation

Inspect available capabilities:

  • Native Agent Browser Tools: If your agent platform provides built-in browser tools (e.g., Antigravity browser tools), invoke them directly to navigate and capture screenshots.
  • Playwright Workflow: If Playwright is installed, use the included capture runner capture.js:
    node skills/browser-visual-qa/scripts/capture.js http://localhost:3000 ./output/rendered-desktop.png --preset desktop
    node skills/browser-visual-qa/scripts/capture.js http://localhost:3000 ./output/rendered-mobile.png --preset mobile
  • Fallback: If neither tool is installed, request developer capture or provide installation instructions:
    npm install --save-dev playwright && npx playwright install chromium

2. Verify Viewport Dimensions

Confirm that rendered screenshots match the intended dimensions using ves-dimension:

node bin/ves-dimension.js ./output/rendered-desktop.png

3. Review Console and Network Health

  • Ensure zero uncaught runtime errors (TypeError, ReferenceError).
  • Ensure no hydration mismatch warnings in React/Next.js (Warning: Text content did not match).
  • Ensure zero 404 or blocked network requests for fonts, icons, or images.

4. Hand Off to Regression Triage

Pass the rendered screenshot and reference mockup to visual-regression-triage for automated pixel comparison.

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.