/skill-chain:visual-qa-pipelinefrom skill-chain
Screenshot every page with Playwright, feed to visual QA agent for design evaluation, report results to Slack. Use after every build phase to verify UI matches the chosen design preset. Integrates with the Playwright skill and the website-creation preset system.
Ships in skill-chain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Capture screenshots of every page, evaluate them against the design preset, report to Slack.
1. Start dev server (npm run dev)
2. Playwright captures full-page screenshots of every route
3. Each screenshot fed to visual QA agent (Claude vision)
4. Agent evaluates against the chosen design preset rules
5. Results posted to Slack with screenshots attached
6. PASS/FAIL verdict per page
npm install -D @playwright/test
npx playwright install chromium
Create playwright.config.ts:
import { defineConfig } from '@playwright/test';
export default defineConfig({
testDir: './e2e',
use: {
baseURL: 'http://localhost:3000',
screenshot: 'on',
viewport: { width: 1280, height: 720 },
},
webServer: {
command: 'npm run dev',
port: 3000,
reuseExistingServer: true,
},
});
For every route in the app, create an e2e test that:
e2e/screenshots/// e2e/screenshots.spec.ts
import { test } from '@playwright/test';
const routes = ['/', '/pricing', '/blog', '/legal/terms', '/legal/privacy'];
for (const route of routes) {
test(`screenshot ${route}`, async ({ page }) => {
await page.goto(route);
await page.waitForLoadState('networkidle');
const name = route === '/' ? 'home' : route.slice(1).replace(/\//g, '-');
await page.screenshot({
path: `e2e/screenshots/${name}.png`,
fullPage: true
});
});
}
After screenshots are captured, the visual QA agent evaluates each one.
The agent reads the screenshot (Claude vision / multimodal) and checks against the chosen design preset from the website-creation skill:
Each check: PASS (1) or FAIL (0). Total score out of 9.
After evaluation, post to Slack:
Visual QA Results — [Project Name]
Route: / (home)
Score: 8/9
- PASS: Hierarchy, Color, Typography, Spacing, Preset, Anti-patterns, Layout, Content
- FAIL: Mobile (hero text may overflow on 375px)
Screenshot: [attached]
For failures, include specific fix instructions.
# Capture screenshots
npx playwright test e2e/screenshots.spec.ts
# Screenshots saved to e2e/screenshots/
# Feed to visual QA agent for evaluation
The visual QA pipeline runs AFTER:
next build succeedsIt's Gate 3 in the quality pipeline: Tests → Build → Visual QA → Deploy
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
122 skills in this plugin
/accessibility-checkerRun automated WCAG 2.1 AA accessibility audits using axe-core via Playwright. Use when implementing or reviewing UI features to enforce accessibility compliance, catch color contrast failures, validate keyboard navigation, check screen reader landmarks, verify alt text and ARIA attributes, or gate feature completion on accessibility standards./adaptAdapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility./agent-creatorCreate new agent definitions with specific instruction sets, skill assignments, and behavioral rules. Use when the user wants a new type of agent (e.g., research-papers agent, customer-support agent, data-pipeline agent) or wants to modify an existing agent's behavior./ai-slop-cleanerClean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode/analytics-integrationIntegrate PostHog product analytics into a Next.js application with page views, event tracking, conversion funnels, A/B testing via feature flags, and API access for programmatic dashboard queries. Use when setting up product analytics, tracking user actions, defining conversion funnels, or enabling A/B experiments./animateReview a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.npx claudepluginhub cheggin/skill-chain --plugin skill-chain2 plugins ship this exact skill · first indexed Oct 25, 2026