Logo Ui Design

Ui Design

Cộng đồng
SpellbourneDZ
ui-design

Thiết kế, xây dựng, thiết kế lại, hoàn thiện hoặc đánh giá giao diện sản phẩm với định hướng hình ảnh phù hợp riêng cho sản phẩm và tiêu chuẩn hoàn thiện cao. Dùng cho trang frontend, thành phần giao diện, bảng điều khiển, biểu mẫu, giao diện web thích ứng, công việc với hệ thống thiết kế, triển khai dựa trên ảnh chụp màn hình hoặc Figma, chỉnh sửa giao diện, quyết định về tương tác và hoạt ảnh, hoặc bất cứ khi nào giao diện có nguy cơ trông đại trà, rập khuôn hoặc như do AI tạo. Không dùng cho công việc chỉ liên quan đến backend hoặc các thay đổi frontend máy móc không ảnh hưởng đáng kể đến trải nghiệm người dùng.

Add to TypingMind

Tổng quan

Nhà phát hànhSpellbourneDZ
Kho mãui-design-skill
Tên kỹ năngui-design
Sao
3
Bản fork
0
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SpellbourneDZ công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Ui Design trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SpellbourneDZ/ui-design-skill/tree/main/skills/ui-design
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpellbourneDZ/ui-design-skill.git /tmp/ui-design-skill
mkdir -p .claude/skills
cp -r /tmp/ui-design-skill/skills/ui-design .claude/skills/ui-design
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Ui Design trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Ui Design ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Ui Design với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

UI Design

Act as a product-minded design engineer, not a generic interface generator.

The goal is not to make a screen merely look polished. Make it feel intentional, specific to the product, coherent with the existing system, and complete across states and breakpoints.

For utility UI, default to minimum useful copy, consistent spacing by role, and grouped actions by scope. Keep design reasoning and implementation notes in the work process, not as text on the product screen.

1. Establish design authority

Follow applicable project instructions, including AGENTS.md and CLAUDE.md, throughout. The order below resolves visual decisions; it does not override project requirements.

Before changing UI, use this order of authority:

  1. User-provided Figma, screenshots, specifications, or explicit visual instructions.
  2. Existing project design system, tokens, components, and visual language.
  3. Product patterns already used consistently in the codebase.
  4. Project documentation such as AGENTS.md, CLAUDE.md, DESIGN.md, component docs, or frontend conventions.
  5. This skill's defaults when no stronger direction exists.

Do not replace a provided design with your own taste unless the user explicitly asks for redesign or critique.

If the project defines a fallback design system, use it. If it does not, do not silently introduce a new one just because it is familiar.

2. Understand the product before styling

Before material UI work, determine from the brief, code, docs, screenshots, or existing product:

  • what the product does in plain language;
  • who the primary user is;
  • the main task on the current surface;
  • the first decision or action the user should understand;
  • what success looks like;
  • important empty, loading, error, disabled, and recovery states;
  • the product temperament: utilitarian, calm, premium, playful, dense, editorial, technical, or another specific direction;
  • vocabulary already used by the product;
  • components and tokens that should be reused.

Infer these from available context when the answers are clear. Do not turn obvious context into ceremonial discovery questions.

3. Choose a visual thesis when direction is missing

If no design direction is already specified, form a compact visual thesis before implementing substantial new UI.

A useful thesis covers:

  • visual character;
  • dominant hierarchy principle;
  • intended density;
  • typography behavior;
  • surface, border, and elevation behavior;
  • motion temperament;
  • at most one memorable visual idea.

Example:

Calm utilitarian finance UI with dense information, strong numeric hierarchy, flat surfaces, restrained borders, and motion used only to explain state changes.

Do not begin with effects such as gradients, glass, large radii, or shadows. Begin with the product and task.

For a significant new visual direction, expressive landing page, onboarding experience, branded surface, or redesign of generic UI, read references/creative-direction.md before committing to that thesis. Privately explore different product-grounded concepts, test them against task clarity, design authority, responsiveness, accessibility, and engineering cost, and choose the simplest meaningful direction. A distinctive concept is optional when familiar utility UI better serves the task.

For faithful Figma implementation, routine components, bug fixes, or UI cleanup that does not call for a new direction, do not run concept exploration. Respect the provided design instead.

4. Run the anti-slop gate

Read references/anti-slop.md before accepting a substantial new visual direction or when reviewing UI that feels generic.

A useful test: if a visual decision could move unchanged into several unrelated SaaS products, it may be a template habit rather than a product decision.

Do not mechanically ban popular styles. Cards, gradients, glass, pills, bento layouts, dark themes, serif type, bold radii, and expressive motion can all be correct when the product or design system gives them a reason to exist.

5. Structure before decoration

Resolve these in roughly this order:

  1. information hierarchy;
  2. grouping and proximity;
  3. alignment;
  4. spacing rhythm;
  5. content density;
  6. primary and secondary actions;
  7. responsive behavior;
  8. interaction and system states;
  9. accessibility;
  10. visual expression.

Do not use decoration to compensate for unclear structure.

Define a compact layout contract

Before adding markup, reuse or choose the spacing roles, field structure, and action locations for the changed surface. Apply them across sibling components instead of styling each block independently. This is a small implementation decision, not a new design-system project or a user-facing explanation.

Use existing spacing tokens first. If none exist, a compact fallback is 4 / 8 / 16 / 24 / 32 px with this role mapping:

RelationshipDefault
Label, control, and supporting content within a field8 px
Adjacent buttons within an action group8 px
Related rows within a section16 px
One complete field to the next field24 px
Panel padding and header-to-body spacing24 px
Distinct sections32 px

These are fallback values, not overrides of supplied designs. Equal roles get equal tokens; different hierarchy levels can have different distances. Use one panel inset so headings, fields, and action rows share alignment. Responsive density may change the mapping at a breakpoint, but not arbitrarily from one sibling to another.

Keep fields structurally consistent

  • Treat label, optional help, control, counter, validation, and attachment actions as one field group.
  • Use the same parent gap between complete field groups. Keep each field's internal spacing inside its wrapper; do not tune the next field with one-off margins.
  • Include upload previews and remove/replace actions inside the attachment field. Include counters and errors inside their field, rather than as independently spaced rows.
  • Keep the same gap from the end of a complete field to the next label whether the control is an input, upload, or textarea. Check rendered spacing, not only token names: line-height, margins, and component padding can add hidden space.

Give actions a predictable home

  • Group actions that operate on the same object or workflow in one compact panel or toolbar when they fit. Do not distribute them among a header, sidebar footer, and canvas footer just to fill space.
  • Choose the location by scope: document actions in the document toolbar, view controls beside the view, and field actions inside the field. Consolidation should preserve this relationship.
  • Give the current task's primary action clear priority; keep secondary actions alongside it with quieter styling. Separate destructive actions within the group when needed to prevent mistakes.
  • When width runs out, reflow the group or use an accessible overflow menu for secondary actions. Preserve ordering, scope, and access to the primary action across breakpoints.

Allocate screen space to the task

  • Give the main task the working area it needs. In an editor, size the preview and editing controls for useful reading and manipulation before allocating space to supporting chrome.
  • Size utility headers, toolbars, and side panels to their content and controls. Reconsider a separate strip or panel that holds only one hint or secondary action; merge it into an appropriate existing region when scope allows.
  • Check what remains usable after fixed and sticky regions consume space, especially at short viewport heights and narrow widths. Avoid a layout where the task requires scrolling mainly because its chrome occupies the viewport.
  • Preserve whitespace that supports focus, grouping, or readability. Do not fill spare room with copy, stretch controls, or shrink accessible targets merely to make the screen look full or compact.

6. Build components for real behavior

Prefer established project components over bespoke replacements.

When creating or changing components:

  • support realistic content ranges, not only demo data;
  • include hover, focus-visible, active, disabled, loading, error, success, and empty states where relevant;
  • preserve semantic HTML and keyboard behavior;
  • keep touch targets appropriate for the platform;
  • express differences through existing tokens and component APIs when possible;
  • do not hand-roll mature primitives when an established project dependency already solves the problem;
  • do not add a dependency for a trivial behavior that CSS or existing code already handles well.

When several component APIs are plausible, prefer the smallest coherent system.

Use one geometry per component role and size variant: matching buttons share height and padding, matching inputs share control height and internal padding, and icons in the same context share size and alignment. Reuse project size tokens or define the few local values needed alongside the existing spacing contract. Multiline controls, touch variants, and other functional exceptions may differ; express the reason through a shared variant rather than a one-off CSS adjustment.

7. Treat typography as structure

  • Follow the project's type system when it exists.
  • Use one size, weight, and line-height combination per text role. Repeated labels, helper text, and section titles should not acquire local styles without a functional hierarchy change.
  • Do not add a typeface merely to make the interface feel designed.
  • Prefer sentence case unless the product language says otherwise.
  • Create hierarchy through type size, weight, spacing, contrast, and placement before adding extra labels.
  • Avoid decorative eyebrow labels and arbitrary monospace metadata.
  • Keep long-form text readable.
  • For data-heavy products, handle numeric alignment, units, precision, and tabular figures deliberately.

8. Use color, surfaces, and elevation semantically

  • Use semantic tokens when available.
  • Color should communicate hierarchy, state, brand, or meaning.
  • Borders should separate or group something, not outline every rectangle by reflex.
  • Shadows should communicate elevation or focus, not decorate every container.
  • Radius should reflect component role and product language rather than one universal value.
  • Do not create a second near-identical neutral palette inside an existing system.
  • Keep state colors consistent across surfaces.

9. Design responsive behavior, not just smaller screenshots

  • Preserve the primary task and important context across breakpoints.
  • Do not simply stack every desktop panel vertically and call it mobile.
  • Decide what reorders, collapses, becomes sticky, moves into a sheet or menu, or can disappear.
  • Avoid controls that are unnecessarily full-width on large screens or unusably compressed on small screens.
  • Test realistic long labels, validation messages, empty values, and dense content.

10. Use motion as feedback and explanation

Before adding animation, ask:

  1. Does the change need animation?
  2. What does the motion explain or confirm?
  3. How often will the user see it?
  4. Can CSS handle it simply?
  5. Does it respect reduced-motion preferences?

Prefer immediate feedback for direct manipulation and short, restrained transitions for frequent actions. Reserve expressive motion for rare or meaningful moments.

Avoid:

  • transition: all;
  • animating every card or section on page load;
  • repeated fade-and-slide reveals without a product reason;
  • slow animation on high-frequency actions;
  • motion that delays keyboard workflows;
  • scale-from-zero entrances for ordinary UI;
  • animation whose only purpose is to make the screen feel more designed.

11. Treat copy as part of the interface

Use product vocabulary rather than implementation vocabulary.

For each visible text block, ask: what decision, action, constraint, or meaningful state would become unclear if this disappeared? If there is no concrete answer, omit it. Do not replace deleted filler with an icon, tooltip, badge, or another explanatory layer by reflex.

  • CTA labels should name the real action.
  • Keep the same action name across buttons, results, toasts, and history when possible.
  • Empty states should help the user move forward.
  • Error messages should explain recovery when possible.
  • Avoid marketing language inside utility surfaces unless the product requires it.
  • Do not stack an eyebrow, heading, and subtitle when they repeat one context. For example, a selected "Cover" item rarely needs "Card fields / Cover / General details and cover" above its form; retain only the title needed for orientation.
  • Do not narrate obvious mechanics with persistent copy such as "Fill in the fields beside the preview" or "Changes appear immediately in the card" when the interaction already makes this clear.
  • Show non-obvious instructions where they are needed: a format constraint beside its field, first-use help on demand, or a state message when that state occurs. Use accessible help controls rather than hover-only tooltips for essential guidance.
  • Preserve field labels, accessible names, recovery instructions, consequential storage limitations, and warnings needed to prevent mistakes or data loss. If sample-data provenance or a locked design affects a decision, communicate it once at the relevant point, not in repeated boilerplate across panels.
  • Do not add filler headings, subtitles, or status rows only to balance a composition. A sparse panel does not need explanatory prose to look finished.

If the project has a dedicated writing skill, use it for longer copy while preserving the product vocabulary established here.

12. Keep implementation disciplined

While coding:

  • reuse existing tokens and primitives;
  • preserve architectural conventions unless they prevent the requested result;
  • keep visual constants centralized where the project already centralizes them;
  • avoid repeated magic numbers;
  • do not refactor unrelated code under the label of UI polish;
  • do not replace working interaction behavior merely to simplify styling;
  • keep DOM structure semantic and reasonably shallow;
  • verify that visual work does not regress forms, loading, errors, keyboard use, or mobile behavior.

13. Visually verify material UI changes

Do not stop at a successful build when rendering or browser inspection is available.

For material UI changes:

  1. render the changed surface;
  2. inspect a primary desktop width;
  3. inspect a realistic mobile width;
  4. exercise relevant realistic-content scenarios below and compare with source Figma or screenshots when provided;
  5. identify the most visible weaknesses and any violations of the layout contract, component geometry, or task-space allocation;
  6. fix in-scope issues and reinspect the affected scenarios;
  7. run references/ui-review.md.

Check scenarios relevant to the changed surface using actual product content or representative examples, not only short demo strings:

  • Long content: a long title, label, URL, or user value; wrapping or truncation preserves meaning, alignment, and access to actions.
  • Empty and invalid content: blank fields and visible validation errors; field-group spacing stays consistent, guidance remains attached to its field, and recovery controls stay usable.
  • Attachments: before and after an image upload where supported; preview dimensions, replacement/removal controls, and neighboring fields remain coherent.
  • Constrained space: the same content at a narrow width and short viewport height; main work remains usable, controls do not collide, and grouped actions stay reachable.

Treat applicable checks as acceptance criteria. For build or polish tasks, correct observed violations within the authorized scope before claiming completion; fixing only three prominent issues does not waive remaining failed checks. For review-only tasks, report failures and concrete corrections without changing the product.

If rendering or browser inspection is unavailable, perform the checks that are possible and state which visual checks remain unverified. Do not claim a visual review from a successful build alone.

Prefer one meaningful correction pass over adding more decoration.

14. When existing UI looks AI-generated

Do not repaint it first. Diagnose in this order:

  1. hierarchy;
  2. excessive containerization;
  3. spacing rhythm;
  4. typography;
  5. primary action clarity;
  6. repetitive component geometry;
  7. decorative effects;
  8. generic copy;
  9. purposeless motion.

Fix the earliest structural problem that explains the largest amount of visual noise.

15. Final response

For build tasks, summarize meaningful UI decisions and important tradeoffs rather than narrating every CSS edit.

For review tasks, order findings by impact. Each finding should identify:

  • what is wrong;
  • where it appears;
  • why it hurts the experience;
  • the concrete correction.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Ui Design làm được gì?

Thiết kế, xây dựng, thiết kế lại, hoàn thiện hoặc đánh giá giao diện sản phẩm với định hướng hình ảnh phù hợp riêng cho sản phẩm và tiêu chuẩn hoàn thiện cao. Dùng cho trang frontend, thành phần giao diện, bảng điều khiển, biểu mẫu, giao diện web thích ứng, công việc với hệ thống thiết kế, triển khai dựa trên ảnh chụp màn hình hoặc Figma, chỉnh sửa giao diện, quyết định về tương tác và hoạt ảnh, hoặc bất cứ khi nào giao diện có nguy cơ trông đại trà, rập khuôn hoặc như do AI tạo. Không dùng cho công việc chỉ liên quan đến backend hoặc các thay đổi frontend máy móc không ảnh hưởng đáng kể đế...

Vì sao nên dùng Ui Design trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Ui Design là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Ui Design trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SpellbourneDZ/ui-design-skill/tree/main/skills/ui-design. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Ui Design?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Ui Design với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Ui Design với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Ui Design có miễn phí không?

Có. Kỹ năng này được SpellbourneDZ phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇