design-qa
Skill này làm gì
Skill này kiểm tra giao diện người dùng trước khi được coi là hoàn thành. Nó tìm các lỗi mà buổi rà soát thiết kế thường bỏ sót, như nút không làm gì hoặc thiếu trạng thái đang tải. Nó dành cho nhà thiết kế và lập trình viên muốn kiểm tra màn hình trước khi phát hành.
Khi nào nên dùng
- ✓Khi một màn hình, trang hoặc component sắp được phát hành hoặc bàn giao.
- ✓Khi giao diện do AI tạo ra trông chung chung hoặc còn dang dở.
- ✓Khi bạn muốn kiểm tra một trang hiển thị thế nào ở chiều rộng điện thoại và trên trình duyệt.
Liên kết skill
https://github.com/alirezarezvani/claude-skills/blob/main/product-team/design-qa/skills/design-qa/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy kiểm tra trang hóa đơn của chúng tôi trước khi phát hành và cho tôi biết các nút không hoạt động, trạng thái bị thiếu hoặc độ tương phản thấp.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill quét code để tìm phần chưa hoàn thiện, kiểm tra mỗi màn hình có trạng thái tải, trống và lỗi hay không, rồi chụp trang đã hiển thị trong trình duyệt để đo độ tương phản, kích thước vùng chạm và bố cục.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-auditcover 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
references/rendered_checks_wcag22.md: each rendered check, its WCAG 2.2 criterion and exceptions (7 sources)references/interaction_states.md: required states per kind and what done looks like (7 sources)references/generic_ui_defaults.md: unfinished-work patterns and the template traits (6 sources)assets/collect_snapshot.js,assets/capture_snapshot.mjs: snapshot captureassets/states.example.csv,assets/snapshot.example.json,assets/waivers.example.csv: input formatsassets/finish_signoff.md: sign-off before a screen is called done
Câu hỏi thường gặp
Skill có kiểm tra gu thiết kế không?
Không. Skill cho biết nó chỉ kiểm tra các lỗi khách quan; các mặc định của template chỉ tạo cảnh báo, vì brief có thể yêu cầu chúng.
Skill đo gì trong trình duyệt?
Skill đo những thứ như độ tương phản, vùng chạm nhỏ, focus bị ẩn và bố cục ở chiều rộng hẹp.
Skill có cần Playwright không?
Kiểm tra bàn phím cần Playwright trong dự án của bạn, còn các kiểm tra khác chạy được mà không cần.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 29k
- Vị trí xếp hạng
- #9689
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-launcher-orchestrator
29kGiúp agent của bạn lên kế hoạch, xây dựng, kiểm thử và lên lịch một Claude managed agent trong tài khoản riêng, từng bước một, bắt đầu từ một mục tiêu rõ ràng.
grade-iterate
29kCho phép agent của bạn chấm kết quả một managed AI agent theo bảng tiêu chí và cải thiện qua số vòng cố định, nên không bao giờ lặp vô tận.
interview
29kCho phép agent của bạn phỏng vấn bạn về ý tưởng agent AI và biến câu trả lời thành một kế hoạch xây dựng đơn giản trước khi khởi chạy bất cứ điều gì.
run-without-you
29kGiúp agent của bạn thiết lập một managed AI agent chạy theo lịch hoặc khi có sự kiện xảy ra, với thời gian cron được kiểm tra trước khi khởi chạy.
Skill tương tự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.