Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)7.5k · #13222

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.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/tw93/Waza/blob/main/plugins/waza/skills/ui/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

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

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự