design-qa
БесплатноБез исполняемых скриптовНе проверенInternal prototype QA helper. Use only after a Product Design prototype, URL-to-code build, or image-to-code build has a source visual target and a rendered…
от openai★ 8 494 звезды на GitHubОб этом скилле
Design QA
Use this internal helper to compare a prototype's source design against the rendered implementation before handoff.
Do not use this skill for broad UX critique, design critique, product audits, or flow reviews. Use audit for those user-facing requests.
Use this skill before every Product Design build handoff.
A passing QA run requires both:
- a source visual target: Figma node, image, screenshot, mockup, or source capture
- a rendered implementation: local URL, deployed URL, app screen, component, or screenshot
If either artifact cannot be opened, captured, or compared, write design-qa.md with final result: blocked and name the blocker. Do not let the build skill hand off as done.
Critical Overrides
Follow critical-overrides.
Workflow
Compare the intended design to the implementation as a product-quality reviewer, not as a generic aesthetic critic. The output must be a prioritized fix list grounded in evidence from both artifacts.
Do not write the QA review from memory, code, or file paths alone. Open or capture both the source design and the implementation first, then compare what is actually visible.
Do not pretend separate image views are side-by-side comparison. Put the source image and the implementation screenshot together in the same comparison input, then judge the visible differences from that combined input.
Design QA is an iteration loop. The first comparison may pass only when it finds no actionable P0/P1/P2 differences and no visual fixes are made in response.
When a comparison finds any P0/P1/P2 issue:
- Record the finding and keep the current result blocked.
- Apply the fix.
- Capture the revised implementation at the same viewport and state.
- Compare the revised capture against the source again.
A later pass must identify the earlier findings, the fixes made, and the post-fix visual evidence. Build, dependency, lint, deployment, and preview troubleshooting do not count as design-QA iterations.
Identify the comparison target.
- Determine the source design: Figma node, image, design board, screenshot, spec, or mockup.
- Determine the implementation: local URL, deployed URL, app screen, component, screenshot, or code-rendered view.
- Match the same viewport, state, theme, device density, route, content, auth state, and interaction state before judging.
- If artifacts do not represent the same state, call that out first and avoid false precision.
Capture evidence.
- For Figma, use design context and screenshot tools when available.
- For Product Design
mobile-apptemplate implementations, capture the app viewport itself, not the whole browser page, desktop canvas, or surrounding phone stage. Usedata-testid="device-screen"/[data-phone-screen]for content-only comparisons; usedata-testid="phone-frame"only when the source visual includes the device bezel. - Before capturing a
mobile-apptemplate, runnpm run check:runtime. Treat a failure as blocking. Do not bypass the check or accept a rasterized or duplicated status bar, device bezel, or home indicator as app content. - For web/app implementations, follow the Browser Choice rule in index. In ChatGPT Work Mode, follow the active build skill's "Previewing prototypes in ChatGPT Work Mode" section before opening a local implementation. Then capture screenshots at the intended viewport.
- Capture additional states when relevant: mobile/desktop, hover/focus/active, empty/loading/error, dark/light, and key responsive breakpoints.
- Save paths or URLs for screenshots when available so findings can cite evidence.
- Capturing screenshots is not enough. Put the source image and the implementation screenshot together in the same comparison input before judging.
Normalize before comparing.
- Align crop, viewport size, scale, and device frame. Do not compare a framed mockup to an unframed page without noting the mismatch.
- Prefer comparing content regions over full browser chrome or surrounding canvas.
- For the
mobile-apptemplate, force or verify a 1:1 phone-screen capture before judging fidelity. The template scales the device down to fit small browser viewports; use a large enough Playwright viewport for scale1and verify[data-phone-screen]measures393 x 852CSS px before capture. If the screen measures smaller, the screenshot is scaled and is not valid for 1:1 comparison. - Capture the mobile app with an element screenshot or an explicit clip from the screen element, for example:
const page = await browser.newPage({ viewport: { width: 1400, height: 1200 }, deviceScaleFactor: 1, }); await page.goto("http://127.0.0.1:8796"); const screen = page.getByTestId("device-screen"); await screen.waitFor({ state: "visible" }); const box = await screen.boundingBox(); if (!box || Math.abs(box.width - 393) >
Установить design-qa в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл design-qa?
Internal prototype QA helper. Use only after a Product Design prototype, URL-to-code build, or image-to-code build has a source visual target and a rendered implementation to compare before handoff. Do not use for broad UX critique, design critique, product audits, or flow reviews; route those user-facing requests to audit.
Как установить скилл design-qa?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл design-qa запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic