Перейти к содержанию
Skillpedia
Интерфейсы (UI/UX)29k · #9689

design-qa

Что он делает

Этот скилл проверяет пользовательский интерфейс до того, как его назовут готовым. Он находит проблемы, которые часто пропускает дизайн-ревью, например кнопки, которые ничего не делают, или отсутствующие состояния загрузки. Он нужен дизайнерам и разработчикам, которые хотят проверять экраны перед выпуском.

Когда использовать

  • ✓Когда экран, страница или компонент вот-вот выпустят или передадут.
  • ✓Когда сгенерированный интерфейс выглядит шаблонно или наполовину готовым.
  • ✓Когда вы хотите проверить, как страница выглядит на ширине телефона и в браузере.

Ссылка на скилл

https://github.com/alirezarezvani/claude-skills/blob/main/product-team/design-qa/skills/design-qa/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/alirezarezvani/claude-skills/blob/main/product-team/design-qa/skills/design-qa/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Проверь нашу страницу счетов перед запуском и скажи, есть ли мертвые кнопки, отсутствующие состояния или низкий контраст.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Скилл ищет в коде незавершенные части, проверяет, что у каждого экрана есть состояния загрузки, пустого состояния и ошибки, и снимает отрисованную страницу в браузере, чтобы измерить контраст, размер зон нажатия и компоновку.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Design QA

Portability: 3 stdlib Python scripts, no network. The browser collector is plain JavaScript; the keyboard pass needs Playwright in your own project. This checks the build, not the taste. Objective defects block; template defaults only warn, because the brief may ask for them.

Screens get reviewed in a static, populated, happy-path frame and ship with a button wired to () => {}, an empty state that says "Lorem ipsum", and a focus ring someone removed. Each script catches one class of these before a user does.

Workflow

# 1 - Source: is anything unfinished in the code?
python scripts/finish_lint.py src/ --output json > lint.json
# 2 - States: does every surface have loading, empty, error, busy, focus...?
python scripts/state_matrix_checker.py --matrix states.csv --evidence-root .
# 3 - Rendered: what did the browser actually show? (capture 320 px and desktop)
node assets/capture_snapshot.mjs http://localhost:3000/invoices --width 320 --out s320.json
python scripts/rendered_audit.py --snapshot s320.json --waivers waivers.csv

Step 1 blocks on inert handlers, dead links, placeholder copy and focus outlines removed without a replacement. It warns on sample data, token drift and each template trait it finds, and rates generic risk LOW, MEDIUM or HIGH.

Step 2 derives required states from each surface's kind (data_view, form, action, control, media, page). An unlisted state counts as missing, and DONE without evidence is reported. Start from assets/states.example.csv.

Step 3 reads a snapshot of the rendered page and blocks on WCAG 2.2 AA failures: text contrast, no focus indicator, focus obscured, reflow at 320 px, empty accessible names and targets under 24×24 px without the spacing exception. Contrast is composited through translucent layers and opacity, so a token that passes on white but fails inside a tinted card is caught. Repeated rows are grouped. No Playwright? Paste assets/collect_snapshot.js into the DevTools console and run copy(JSON.stringify(designQaSnapshot())). Focus results are then unverified rather than passed.

Capture one snapshot per key state (empty, error, long content), not just the populated page. Fill assets/finish_signoff.md from the three runs.

Hard rules

  • Unlisted is missing. A state nobody wrote down was not built.
  • Measure the render, not the CSS. Contrast on a real background beats a declared colour pair.
  • Never block on taste. Template traits warn. Record in the sign-off whether the brief asks for the look.
  • A waiver names the WCAG exception or a ticket. The scripts reject a waiver or NA with no reason.
  • Unverified is not pass. Text on a gradient or focus from script focus is checked by hand or with the keyboard pass.
  • Not an accessibility conformance claim. The checks cover what can be measured. A screen-reader pass and a11y-audit cover the rest.

Scripts

Script Role Exit codes
scripts/finish_lint.py Inert controls, dead links, placeholder copy, removed focus, template traits, token drift 0 clean · 2 findings · 3 bad input · 4 blocked
scripts/state_matrix_checker.py Required states per surface kind, evidence and NA reasons 0 complete · 2 · 3 · 4 blocked
scripts/rendered_audit.py Contrast, focus, target size, names, clipping, reflow from a snapshot 0 clean · 2 · 3 · 4 blocked

All support --help, --sample and --output json.

References and assets

Частые вопросы

Он проверяет вкус дизайна?

Нет, скилл проверяет объективные дефекты, а шаблонные значения по умолчанию дают только предупреждения, потому что бриф может их требовать.

Что он измеряет в браузере?

Он измеряет контраст, слишком маленькие зоны нажатия, скрытый фокус и компоновку при узкой ширине.

Нужен ли Playwright?

Проверка с клавиатуры требует Playwright в вашем проекте, а остальные проверки работают без него.

Подробности

Оригинальное описание автора

Use when a UI screen, page or component is about to be called done, handed off or shipped, or when generated UI looks generic or half-finished. Gates the rendered result, not the design file - finds controls that do nothing, placeholder copy, removed focus rings, missing loading/empty/error states, low contrast, small targets, hidden focus and broken reflow measured in the real browser, and flags template defaults without blocking on taste.

repo: alirezarezvani/claude-skills

Популярность

Звёзды на GitHub
29k
Место в рейтинге
#9689
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы