Borrowing it
Nothing to install: this file belongs to plugin87/full-stack-design-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/plugin87/full-stack-design-skills/main/.claude/skills/qa-testing-visual-regression/SKILL.mdgit clone --depth 1 https://github.com/plugin87/full-stack-design-skillsWrote 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.
[](https://agentmods.dev/skills/plugin87/full-stack-design-skills/qa-testing-visual-regression)<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/qa-testing-visual-regression"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/qa-testing-visual-regression/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/qa-testing-visual-regression"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/qa-testing-visual-regression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.01407 |
| Opus 5.5 | $0.00020 | $0.00563 |
| Sonnet 5.5 | $0.00010 | $0.00281 |
| Haiku 4.5 | $0.00005 | $0.00141 |
Grade A, and why
qa-testing-visual-regression 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QA Testing: Visual Regression
Automated visual regression testing for pixel-perfect quality.
Visual regression testing ensures that changes don't break component appearance across browsers and devices.
Visual Regression Testing Tools
Chromatic (Figma Integration)
npm install chromatic --save-dev
npx chromatic --project-token=<token>
Chromatic compares Storybook snapshots:
- Detects visual regressions
- Compares with baseline
- Requires approval for changes
- CI/CD integration
Playwright Visual Testing
import { test, expect } from '@playwright/test';
test('button primary state', async ({ page }) => {
await page.goto('/storybook');
await page.locator('.button-primary').screenshot({
path: 'screenshots/button-primary.png',
});
await expect(page.locator('.button-primary')).toHaveScreenshot();
});
Percy (Cloud-Based)
npm install @percy/cli --save-dev
npx percy storybook
Percy automates visual testing:
- Automatic baseline creation
- Parallel testing
- Cross-browser testing
- Accessibility checks
Setup & Configuration
Playwright Config
// playwright.config.ts
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './tests',
webServer: {
command: 'npm run storybook',
port: 6006,
},
use: {
baseURL: 'http://localhost:6006',
},
projects: [
{
name: 'chromium',
use: { browserName: 'chromium' },
},
{
name: 'firefox',
use: { browserName: 'firefox' },
},
{
name: 'webkit',
use: { browserName: 'webkit' },
},
],
});
Test Examples
// tests/button.spec.ts
import { test, expect } from '@playwright/test';
test.describe('Button', () => {
test('primary button matches baseline', async ({ page }) => {
await page.goto('/?path=/story/components-button--primary');
await expect(page).toHaveScreenshot('button-primary.png');
});
test('button hover state', async ({ page }) => {
await page.goto('/?path=/story/components-button--primary');
await page.locator('button').hover();
await expect(page).toHaveScreenshot('button-hover.png');
});
test('button focus state', async ({ page }) => {
await page.goto('/?path=/story/components-button--primary');
await page.locator('button').focus();
await expect(page).toHaveScreenshot('button-focus.png');
});
});
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.
- 2mo ago First seen · 269 lines · 49 tokens per session scan A 9002b759535b
qa-testing-visual-regression is a skill published in the GitHub repository plugin87/full-stack-design-skills (11 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 1,407 once invoked, about $0.0002 per session on Opus 5.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-08-31.
qa-testing-visual-regression compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qa-testing-visual-regressionplugin87/full-stack-design-skills | Skill | 11 | 3mo ago | MIT | A | 49 | Claude Code |
| verify-omnigentomnigent-ai/omnigent | Skill | 11k | yesterday | Apache-2.0 | A | 100 | Claude Code, Codex |
| test-masterJeffallan/claude-skills | Skill | 12k | 7d ago | MIT | A | 104 | Claude Code |
| eval-dataset-designbojieli/ai-agent-book | Skill | 57k | 29d ago | Apache-2.0 | A | 138 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.3k | yesterday | MIT | A | 55 | Claude Code |
| cua-driverdavidondrej/skills | Skill | 4.3k | 3d ago | MIT | A | 68 | Claude Code, Codex |
| test-warp-uiwarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 55 | Claude Code |