agentleFS
ytvee-devytvee-dev/webdev-agent-kit/skills/frontend-visual-qa/SKILL.md

frontend-visual-qa

Skill7 starsChanged 21 days agoApache-2.0View on GitHub

Verify rendered frontend evidence after implementation, including screenshot comparison, responsiveness, overflow, visible states, and scoped visual regression. Use available browser tooling only; exclude static lookup, routine code review, lint, builds, onboarding, and tool detection.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. 0 are common, 16 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 16

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Verify a rendered frontend implementation against a Design Implementation Spec, Design Direction Contract, and supplied visual references …

    line 37
  2. Distinctive:

    After implementation when visual acceptance requires comparing the rendered page with supplied screenshots or visual references.

    line 43
  3. Distinctive:

    When the user asks to run visual QA, capture desktop/mobile screenshots, or compare rendered output to a design reference.

    line 44
  4. Distinctive:

    When the issue is visibly rendered: responsive layout, wrapping, overflow, clipping, occlusion, viewport fit, visible interaction states, …

    line 45
  5. Distinctive:

    When console or runtime errors must be checked because they affect the rendered UI during visual QA.

    line 46
  6. Distinctive:

    When a loop contract says to repair material visual deviations and rerun rendered evidence.

    line 47
  7. Very specific:

    Read common/mobile-responsive-rules.md when responsive behavior is in scope.

    line 65
  8. Very specific:

    Read common/verification-loop-rules.md and common/bounded-retry-rules.md when visual repair is in scope.

    line 66
  9. Very specific:

    Read project/verification-profile.md when present.

    line 67
  10. Very specific:

    Read the Design Implementation Spec, Design Direction Contract, visual references, changed files, and relevant routes or pages.

    line 68
  11. Very specific:

    Use Browser or Playwright MCP only for rendered visual QA tasks allowed by common/rendered-visual-verification-policy.md.

    line 73
  12. Distinctive:

    Do not replace a missing configured Browser or Playwright MCP with local Playwright package usage unless the user explicitly approved that …

    line 75
  13. Distinctive:

    Use Visual Diff MCP when available to compare implementation screenshots with supplied references.

    line 76
  14. Distinctive:

    Use Visual Reference MCP when available to access supplied images.

    line 77
  15. Very specific:

    Use mdn only when web platform behavior affects a visual QA finding.

    line 78
  16. Distinctive:

    Do not use Figma MCP.

    line 79
  17. Distinctive:

    If Browser or Playwright MCP is unavailable, report which rendered checks are blocked and complete only the non-rendered checks that can be …

    line 80
  18. Distinctive:

    Start or reuse the local app with the project's normal development or preview command only when rendered visual evidence is in scope.

    line 87
  19. Distinctive:

    Check console and runtime errors only when they affect the rendered visual QA scope.

    line 89
  20. Distinctive:

    Verify desktop, tablet, small phone, and landscape behavior when those viewports are in scope.

    line 90
  21. Distinctive:

    If visual repair is in scope, list material deviations, fix scoped deviations, rerun rendered checks, and apply bounded retry rules.

    line 94
  22. Distinctive:

    Do not use a visual repair loop as permission for broad redesign, new design direction, package installation, or unrelated layout cleanup.

    line 95
  23. Distinctive:

    No Figma MCP use is allowed.

    line 125

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “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

Frontend Visual QA

Purpose

Verify a rendered frontend implementation against a Design Implementation Spec, Design Direction Contract, and supplied visual references when the task needs browser-rendered visual evidence.

This skill is not a general style-inspection tool. It exists for screenshot comparison, responsive rendering, visual regression evidence, visible state verification, and bounded repair loops when the implementation task includes fixes.

When To Use

  • After implementation when visual acceptance requires comparing the rendered page with supplied screenshots or visual references.
  • When the user asks to run visual QA, capture desktop/mobile screenshots, or compare rendered output to a design reference.
  • When the issue is visibly rendered: responsive layout, wrapping, overflow, clipping, occlusion, viewport fit, visible interaction states, or screenshot-backed visual regression.
  • When console or runtime errors must be checked because they affect the rendered UI during visual QA.
  • When a loop contract says to repair material visual deviations and rerun rendered evidence.

When Not To Use

  • Documentation-only, skill-only, backend-only, or static code review tasks.
  • Design intake before implementation. Use design-screenshot-spec.
  • Live Figma inspection or Figma MCP workflows.
  • Font-family, font-size, font-weight, line-height, color, spacing, CSS variable, or token checks when values can be read from source files, copied inspect values, or the Design Implementation Spec.
  • Computed-style checks whose only purpose is to read typography or token values.
  • Routine lint, typecheck, build, refactor, onboarding, stack detection, or MCP detection.

Required Context

  1. Read AGENTS.md.
  2. Read common/rendered-visual-verification-policy.md.
  3. Confirm the classified task is visual-qa and specifically needs rendered visual evidence.
  4. Read common/approved-patterns.md.
  5. Read common/anti-patterns.md.
  6. Read common/mobile-responsive-rules.md when responsive behavior is in scope.
  7. Read common/verification-loop-rules.md and common/bounded-retry-rules.md when visual repair is in scope.
  8. Read project/verification-profile.md when present.
  9. Read the Design Implementation Spec, Design Direction Contract, visual references, changed files, and relevant routes or pages.
  10. Read references/visual-qa-checklist.md.

Tool Contract

  • Use Browser or Playwright MCP only for rendered visual QA tasks allowed by common/rendered-visual-verification-policy.md.
  • Browser or Playwright MCP availability means the tool is callable in the current agent session. A running local server or an installed Playwright dependency does not count as MCP availability.
  • Do not replace a missing configured Browser or Playwright MCP with local Playwright package usage unless the user explicitly approved that fallback for the current task.
  • Use Visual Diff MCP when available to compare implementation screenshots with supplied references.
  • Use Visual Reference MCP when available to access supplied images.
  • Use mdn only when web platform behavior affects a visual QA finding.
  • Do not use Figma MCP.
  • If Browser or Playwright MCP is unavailable, report which rendered checks are blocked and complete only the non-rendered checks that can be run honestly.

Workflow

  1. Identify target routes, pages, components, states, and viewports from the spec.
  2. Confirm the task is in the allowed rendered visual QA spectrum.
  3. For typography, spacing, color, and token questions, inspect the spec, copied values, CSS, tokens, and component styles first. Do not open Browser or Playwright just to read computed styles.
  4. Start or reuse the local app with the project's normal development or preview command only when rendered visual evidence is in scope.
  5. Open the rendered target in Browser or Playwright MCP only when that MCP tool is available and the task is in scope.
  6. Check console and runtime errors only when they affect the rendered visual QA scope.
  7. Verify desktop, tablet, small phone, and landscape behavior when those viewports are in scope.
  8. Capture implementation screenshots when visual comparison or evidence is in scope.
  9. Compare screenshots against visual references with Visual Diff MCP when available; otherwise perform manual comparison using the checklist.
  10. Exercise relevant hover, focus, selected, disabled, loading, empty, error, and interaction states only when provided by the spec or visible acceptance criteria.
  11. If visual repair is in scope, list material deviations, fix scoped deviations, rerun rendered checks, and apply bounded retry rules.
  12. Do not use a visual repair loop as permission for broad redesign, new design direction, package installation, or unrelated layout cleanup.
  13. Hand off material quality, architecture, TypeScript, security, or performance concerns to frontend-quality-reviewer instead of treating visual QA as a broad code review.

Output Contract

Final response: return only facts that affect the user's understanding, confidence, or next action. Omit empty fields and workflow narration.

Report:

  • rendered visual QA scope;
  • routes or pages verified;
  • viewports checked;
  • interactions or states checked;
  • console/runtime findings when in scope;
  • visual diff result or manual comparison summary;
  • attempts when visual repair was in scope;
  • static style checks used instead of browser tooling, when applicable;
  • fixed issues or remaining deviations;
  • blockers and unavailable tools.

Validation Gates

  • Browser or Playwright must be used only for rendered visual QA tasks named in common/rendered-visual-verification-policy.md.
  • A local Playwright package, lockfile entry, or running local server must not be reported as Browser or Playwright MCP availability.
  • Font and token checks must prefer source files, copied inspect values, and specs over computed styles.
  • A visual QA pass must include rendered browser evidence unless blocked.
  • Visual repair attempts must be bounded and scoped to acceptance criteria.
  • Static typecheck, lint, or build alone is not visual QA.
  • Rendered verification is QA evidence, not a testing workflow.
  • Material visual mismatches must be reported with the affected viewport or state.
  • No Figma MCP use is allowed.

Trigger Evals

Should trigger:

  • "Check the implemented page at desktop and 375px against these screenshots."
  • "Verify overflow, fixed UI, and visible states in the rendered app."

Should not trigger:

  • "Read the font token from this CSS file."
  • "Detect whether Playwright MCP is installed during onboarding."

Reference Map

  • common/rendered-visual-verification-policy.md
  • common/mobile-responsive-rules.md
  • common/verification-loop-rules.md
  • common/bounded-retry-rules.md
  • references/visual-qa-checklist.md

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.