qa-screenshot-validation

qa-screenshot-validation is a skill for Claude Code from jpoutrin/product-forge. It costs 37 tokens per session (1,968 once invoked), scanned A, original, MIT.

A screenshot checker for QA work that looks for missing, clipped, overlapped, or badly rendered interface elements.

In plain words
What is it for?
Use it after taking screenshots to check layout correctness and adjust the viewport when content does not fit.
Why use it?
It catches visual problems in captured screens before they are treated as valid test evidence.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the product-design plugin — 43 skills, 8 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jpoutrin/product-forge/qa-screenshot-validation
Any agent
npx skills add jpoutrin/product-forge --skill qa-screenshot-validation
Clone the repo
git clone --depth 1 https://github.com/jpoutrin/product-forge

Made for: Claude Code.

Or install product-design, the plugin that ships this one along with the rest of its 43 skills, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for qa-screenshot-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpoutrin/product-forge/qa-screenshot-validation.svg)](https://agentmods.dev/skills/jpoutrin/product-forge/qa-screenshot-validation)
Your own site
<a href="https://agentmods.dev/skills/jpoutrin/product-forge/qa-screenshot-validation"><img src="https://agentmods.dev/badge/skills/jpoutrin/product-forge/qa-screenshot-validation.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,968 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01968
Opus 5 $0.00018 $0.00984
Sonnet 5 $0.00007 $0.00394
Haiku 4.5 $0.00004 $0.00197

Measured 2d ago against content hash c3ff41362c5f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

qa-screenshot-validation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/product-design/skills/qa-screenshot-validation/SKILL.md · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 lines — stays where its author put it; the contents beside it link to each section on GitHub.

QA Screenshot Validation Skill

Validate captured screenshots for layout correctness and handle masked or clipped elements.

Validation Process

After capturing each screenshot, evaluate it for:

  1. Element visibility - Is the target element fully visible?
  2. Layout integrity - Does the layout appear correct?
  3. Clipping/masking - Are elements unexpectedly cut off?
  4. Overlapping - Are elements overlapping incorrectly?
  5. Rendering issues - Missing images, broken icons, etc.

Common Issues to Detect

Masked/Clipped Elements

Issue Indicators Action
Horizontal clipping Element cut off on right edge Resize viewport wider
Vertical clipping Element cut off at bottom Scroll or resize taller
Overflow hidden Content abruptly ends Check parent container
Modal cutoff Dialog extends beyond viewport Resize to fit modal

Layout Problems

Issue Indicators Action
Overlapping elements Text over images, buttons over content Document as bug
Misaligned elements Uneven spacing, broken grid Document as bug
Missing elements Expected element not visible Verify selector, check visibility
Broken responsive Desktop layout on mobile viewport Document as bug

Automatic Resize Logic

When an element appears clipped on desktop viewport:

IF element is clipped AND viewport is desktop (>1024px):
    1. Try increasing viewport width by 200px
    2. Retake screenshot
    3. If still clipped, try 1920x1080 (full HD)
    4. If still clipped, document as layout bug

Playwright Resize Commands

// Get current viewport
const viewport = page.viewportSize();

// Resize wider
await page.setViewportSize({
  width: viewport.width + 200,
  height: viewport.height
});

// Standard breakpoints
await page.setViewportSize({ width: 1920, height: 1080 }); // Full HD
await page.setViewportSize({ width: 1440, height: 900 });  // Laptop
await page.setViewportSize({ width: 1280, height: 720 });  // HD

Read the full file on GitHub · 305 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 305 lines · 37 tokens per session scan A c3ff41362c5f

Subscribe to this mod's changes

qa-screenshot-validation is a skill published in the GitHub repository jpoutrin/product-forge (15 stars, last pushed 6mo ago), licensed MIT. It adds 37 tokens to every session and 1,968 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens