agentleFS
SentryKnown publishergetsentry/junior/packages/junior-agent-browser/skills/visual-web-qa/SKILL.md

visual-web-qa

Skill365 starsChanged 8 months agoApache-2.0View on GitHub

Verifies user-visible web changes with scoped browser evidence and reports only what the captured screenshots, videos, or state checks support. Use when frontend, docs, CSS, layout, theme, responsive, navigation, loading, animation, or interaction changes need visual validation; use agent-browser for general automation that is not specifically visual QA.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify rendered behavior in a browser instead of inferring visual correctness from code.

    line 10
  2. Distinctive:

    Use screenshots for stable rendered states.

    line 33
  3. Distinctive:

    Check one to four representative pages or states unless the user requests broader coverage or the change spans more templates.

    line 43
  4. Distinctive:

    Do not check production and claim an unmerged change is present.

    line 58
  5. Distinctive:

    Wait for the state that proves progress instead of adding arbitrary delays:

    line 62
  6. Distinctive:

    Prefer URL or text waits for route and content changes.

    line 71
  7. Very specific:

    Use networkidle only when the action triggers real network activity.

    line 72
  8. Distinctive:

    Use a short fixed wait only when an animation has no semantic completion signal.

    line 73
  9. Very specific:

    Run snapshot -i after navigation or significant DOM changes before using element refs.

    line 74
  10. Very specific:

    Use sendFiles for every artifact the user should receive:

    line 89
  11. Very specific:

    If delivery fails or sendFiles is unavailable, report the error and saved paths without claiming attachment success.

    line 101
  12. Distinctive:

    Never capture or share credential entry, session tokens, customer data, or unrelated sensitive UI state.

    line 105
  13. Distinctive:

    Use pass only when the captured evidence matches the requested behavior without an obvious scoped regression.

    line 117
  14. Distinctive:

    Never generalize beyond the evidence collected, and never claim a rendered change looks correct without opening a browser and gathering …

    line 119

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

Verify rendered behavior in a browser instead of inferring visual correctness from code. Choose the smallest set of evidence that directly answers the request.

Workflow

  1. Classify the requested behavior as stable, temporal, or exact-state verification.
  2. Resolve a valid local, preview, or explicitly requested target URL.
  3. Choose representative pages, states, viewports, and themes.
  4. Capture browser evidence with meaningful waits and fresh element refs.
  5. Share requested artifacts with sendFiles and verify delivery success.
  6. Report the exact target, evidence, result, findings, and limitations.

Choose Evidence

RequestPrimary evidenceOptional support
Layout, CSS, content, typographyScreenshotDOM text or style check
Light and dark themesScreenshot per relevant themeTheme attribute check
Responsive behaviorScreenshot per relevant breakpointVideo only if resize motion matters
Loading state, animation, transitionShort videoScreenshot for a distinct final-state question
Navigation or interaction sequenceShort videoScreenshot for a specific defect
Stable menu, modal, hover, or focus stateScreenshotVideo if the transition matters
Exact text, route, ARIA, or attributeDOM checkScreenshot or video if the visible state matters

Use screenshots for stable rendered states. Use short videos for timing, motion, loading, or sequence. A purely temporal request may use video without a redundant screenshot. DOM checks support visual evidence; they do not replace it when the user asks how something looks.

agent-browser --session visual-qa screenshot /tmp/visual-qa.png
agent-browser --session visual-qa screenshot --full /tmp/visual-qa-full.png
agent-browser --session visual-qa screenshot --annotate /tmp/visual-qa-issue.png

Keep Scope Representative

  • Check one to four representative pages or states unless the user requests broader coverage or the change spans more templates.
  • Choose the viewport-theme combinations most likely to expose the issue instead of building an exhaustive matrix by default.
  • State clearly when only part of the requested surface was verified.

Resolve The Target

Use this order:

  1. User-provided URL
  2. Running local development server
  3. Repo-native server such as pnpm dev
  4. Preview deployment
  5. Production as an explicitly requested or read-only baseline
  6. file:// output only when the site renders correctly without a server

Do not check production and claim an unmerged change is present. If no valid target is reachable, report blocked and name the missing server, preview, build, or authentication requirement.

Capture Reliable State

Wait for the state that proves progress instead of adding arbitrary delays:

agent-browser --session visual-qa wait --url "**/expected-path"
agent-browser --session visual-qa wait --text "Expected text"
agent-browser --session visual-qa wait --load networkidle
agent-browser --session visual-qa wait 100
  • Prefer URL or text waits for route and content changes.
  • Use networkidle only when the action triggers real network activity.
  • Use a short fixed wait only when an animation has no semantic completion signal.
  • Run snapshot -i after navigation or significant DOM changes before using element refs.

For initial loading behavior, start recording before the first navigation:

agent-browser --session visual-qa set viewport 1440 900
agent-browser --session visual-qa record start /tmp/visual-qa-load.webm "$URL"
agent-browser --session visual-qa wait --load networkidle
agent-browser --session visual-qa record stop

For post-load interactions, explore first, then start recording. record start creates a fresh browser context and reloads the page, so discard earlier refs and run snapshot -i again before interacting. Stop recording as soon as the target behavior is captured. Never end a QA run with an active recording.

Share Evidence

Use sendFiles for every artifact the user should receive:

{
  "files": [
    { "path": "/tmp/visual-qa.png" },
    { "path": "/tmp/visual-qa-load.webm" }
  ]
}
  • Claim an artifact was shared only when sendFiles succeeds in this turn.
  • If delivery fails or sendFiles is unavailable, report the error and saved paths without claiming attachment success.

Protect Sensitive Data

Never capture or share credential entry, session tokens, customer data, or unrelated sensitive UI state. If reaching the target requires exposing that data, use an existing safe authenticated session or report the authentication requirement as a limitation or blocker.

Report The Result

Report:

  • Target: exact URL verified
  • Evidence: screenshots, videos, and state checks gathered, with why each was chosen
  • Result: pass, issues found, or blocked
  • Findings: specific rendered behavior observed
  • Limitations: requested pages, states, viewports, or themes not verified

Use pass only when the captured evidence matches the requested behavior without an obvious scoped regression. Use issues found for broken layout, incorrect motion, flicker, missing assets, or invalid states. Use blocked when no safe reachable target exists.

Never generalize beyond the evidence collected, and never claim a rendered change looks correct without opening a browser and gathering supporting evidence.

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.