ui
Skill này làm gì
Skill này hướng dẫn agent thiết kế giao diện với quan điểm thị giác rõ ràng và kiểm tra kết quả đã hiển thị. Dành cho người xây dựng hoặc làm mới trang web, thành phần hoặc kiểu chữ.
Khi nào nên dùng
- ✓Khi bạn muốn một trang hoặc thành phần được xây dựng hoặc làm mới với phong cách mạnh.
- ✓Khi một màn hình có vấn đề về bố cục hoặc văn bản cần sửa về mặt thị giác.
- ✓Khi bạn muốn agent đối chiếu ảnh chụp màn hình với mục tiêu thị giác.
Liên kết skill
https://github.com/tw93/Waza/blob/main/plugins/waza/skills/ui/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
“Làm mới trang đích của tôi để nó trông khác biệt chứ không giống mẫu mặc định, và kiểm tra trên điện thoại lẫn máy tính.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xây dựng giao diện, rồi kiểm tra màn hình được hiển thị thực tế so với mục tiêu của bạn và các kích thước màn hình liên quan. Nó nêu rõ mọi khoảng cách còn lại mà nó không thể xác minh.
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.
UI: Build It With a Point of View
Prefix your first line with 🥷 inline, not as its own paragraph.
If it could have been generated by a default prompt, it is not good enough.
Outcome Contract
- Outcome: a usable interface or visual fix with a clear point of view and no incoherent layout, text, or responsive breakage.
- Done when: the real rendered surface or generated artifact has been checked against the user's visual goal and the relevant viewport states.
- Evidence: screenshots, rendered UI, source components, design tokens, accessibility constraints, and user-provided references.
- Output: the implemented visual change or a precise visual review with the remaining verification gap named.
Output language rule: Never use U+2014 em dash in any output from this skill. Use commas, colons, or periods instead.
Chinese gut-feel complaints: when the user says "很傻", "很怪", "突兀", "不协调", "不和谐" about a visual, treat it as an aesthetic rejection, not a debugging symptom. Generated image assets stay in references/mode-generated-asset.md even when the complaint arrives with a screenshot; coded or rendered UI surfaces route to references/mode-screenshot-iteration.md, not to /hunt.
For UI copy cuts, load the UI copy rules in references/design-reference.md before proposing deletions, including in quick-fix and screenshot modes.
Document and print typography routes out. When the deliverable is a shippable document rather than a product UI surface (report, slide deck, resume, long-form or print-oriented page, paged PDF), do not hand-roll an over-designed document layout here. Hand it to a document typesetting skill if one is installed and let that skill draft the detailed plan. Screen 排版 (app surfaces, components, web pages) stays in this skill.
Durable Context Preflight
See references/durable-context.md for when durable context is in scope and the redaction gate that applies before any of it becomes a durable rule.
For /ui: current screenshots and rendered output override memory. Reuse durable visual preferences and mature interaction patterns, but still name the current visual problem from the screenshot or source before changing code.
Mode Picker
Pick the path that matches each deliverable, then read it in full. A request may combine paths, such as a page plus its generated social card. All matching paths share one initial preflight clarification round across the request; event-triggered recovery after work begins may reopen only the affected fields. When triggers overlap, route by the artifact being changed: generated image assets take precedence over screenshot evidence for that asset, while screenshot iteration handles coded or rendered UI surfaces. Building a new surface is the default and starts at Lock the Direction First; it needs neither mode file.
| Ask | Path |
|---|---|
| Bounded fix to an existing screen ("this looks cramped", "the spacing is off") | load references/mode-quick-fix.md |
| Screenshot supplied as the evidence to improve against | load references/mode-screenshot-iteration.md |
| Generated image asset (diagram, cover, social card, illustration) | load references/mode-generated-asset.md |
| New page, component, or visual system | Lock the Direction First |
Lock the Direction First
Adding a surface to a mature product skips direction lock in the other direction: when the task is a new panel, dialog, sheet, toast, or confirmation inside an app that already has same-class components, the direction is the app. Grep for the existing sibling component first and reuse its container, motion, and typography tokens; inventing a new style needs a stated reason why no existing component fits. First drafts that ignore the app's own component vocabulary get rejected on sight.
Resolve the five direction dimensions below before writing code. Take colour, type, width, and voice from the current product's tokens, sibling components, screenshots, and the repo's git history first; then from other shipped products by the same team or author when they exist; then from the conversation. Model-default palettes, default fonts, and freehand graphics are allowed only when no reference exists. Infer first. Across every path in the request, ask in one compact clarification round with at most two sub-questions, only when the missing answer would materially change a deliverable. State the
Câu hỏi thường gặp
Skill này có dùng cho logic backend không?
Không. Mô tả nói rằng nó không dành cho logic backend hay pipeline dữ liệu.
Nó kiểm tra những gì?
Màn hình đã hiển thị và ảnh chụp ở các kích thước liên quan, cùng các design token và thành phần đang dùng.
Nó có xử lý tài nguyên hình ảnh do AI tạo không?
Có, nhưng các tài nguyên đó được xử lý qua một đường dẫn tham chiếu riêng bên trong skill.
Chi tiết
Mô tả gốc của tác giả
Produces distinctive production UI and screenshot-grounded visual polish. Use when building or restyling pages, components, or typography. Not for backend logic or data pipelines.
repo: tw93/Waza
Độ phổ biến
- Sao GitHub
- 7.5k
- Vị trí xếp hạng
- #13222
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
check
7.5kGiúp agent của bạn rà soát các thay đổi mã trước khi phát hành, kiểm tra diff, pull request và các bước phát hành để tìm vấn đề thực sự.
health
7.5kKiểm tra thiết lập agent AI và file chỉ dẫn của dự án để tìm sự lệch lạc, hook rủi ro và vấn đề bảo trì, rồi đưa ra danh sách ưu tiên.
hunt
7.5kGiúp agent của bạn tìm nguyên nhân gốc của lỗi, sự cố hoặc hồi quy trước khi thay đổi bất kỳ mã nào, để bản sửa giải quyết đúng vấn đề thật.
learn
7.5kHướng dẫn agent của bạn qua một quy trình nghiên cứu có cấu trúc, từ thu thập nguồn đến một tài liệu tham khảo hoàn chỉnh, để học một chủ đề chưa quen.
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.