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

frontend-design-direction

Skill này làm gì

Giúp xác định diện mạo và cảm nhận của một website hoặc ứng dụng, đảm bảo nó chuyên nghiệp, dễ dùng và phù hợp với mục đích. Nó vượt ra ngoài việc chỉ làm cho mọi thứ hoạt động, tập trung vào cách giao diện hiển thị và tạo cảm nhận với người dùng.

Khi nào nên dùng

  • ✓Khi tạo một website hoặc ứng dụng mới từ đầu.
  • ✓Khi một trang hoặc ứng dụng có vẻ chung chung hoặc lỗi thời.
  • ✓Khi thêm tính năng mới cần phù hợp với thiết kế chung.

Liên kết skill

https://github.com/affaan-m/ECC/blob/main/skills/frontend-design-direction/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/affaan-m/ECC/blob/main/skills/frontend-design-direction/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 sao để bảng điều khiển này trông chuyên nghiệp hơn và bớt chung chung?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI xem xét mục đích của website, người sẽ dùng nó và cảm giác mong muốn (ví dụ nghiêm túc, vui tươi, kỹ thuật). Sau đó, nó gợi ý các chi tiết thiết kế cụ thể như màu sắc, phông chữ và bố cục để đạt mục tiêu đó.

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.

Frontend Design Direction

Use this skill when the work is not just making UI function, but making it feel purposeful, polished, and appropriate to the product domain.

Source: salvaged from stale community PR #1659 by linus707.

Note: ECC intentionally does not rebundle the canonical Anthropic frontend-design skill. Install that from anthropics/skills when you want the official upstream skill. This skill is the ECC-specific design-direction salvage of the useful local guidance from #1659.

When to Use

  • The user asks to build a web page, app, dashboard, artifact, component, or UI.
  • The user asks to make an interface more polished, distinctive, beautiful, or less generic.
  • The implementation needs visual hierarchy, typography, color, motion, layout, and interaction choices.
  • The current UI works but reads as flat, generic, templated, or mismatched to the audience.

Design Direction

Before coding, choose a specific direction:

  1. Purpose: what job does the interface do?
  2. Audience: who repeats this workflow, and what do they need to scan first?
  3. Tone: utilitarian, editorial, playful, industrial, refined, technical, maximal, minimal, dense, calm, or another explicit direction.
  4. Memorable detail: one design idea that makes the result feel intentional.
  5. Constraints: framework, accessibility, performance, responsiveness, and existing design system.

Match the direction to the domain. A SaaS operations tool should usually be dense, quiet, and scannable. A portfolio, launch page, game, or editorial piece can be more expressive. Do not force a landing-page composition onto a tool that needs repeated daily use.

Implementation Guidance

Evidence contract and content states

Before implementation, record the product surface, user's job, primary action, hierarchy, target viewports and the reference observation behind each important choice. Make these constraints checkable; a palette alone is not evidence. Use local product references when external research is unnecessary or unavailable.

For each relevant state, record its trigger, visible feedback and safe next action:

State Check
Loading Stable structure and progress; cancellation where supported
Empty Explain missing data and offer a useful next action
Error Specific failure and a recovery path
Partial Show available data and clearly mark unavailable portions
Success Confirm completion and show the next action or supported undo
Permission Explain the access boundary and a safe request/return path

Record a reason when a state does not apply. Unavailable test access is an untested state, not a reason to mark it not applicable.

Build from the contract

  • Build the actual usable experience as the first screen unless the user explicitly asks for marketing copy.
  • Use existing project components, tokens, icon libraries, and routing patterns before introducing a new visual system.
  • Use real or generated visual assets when the interface depends on images, products, places, people, gameplay, charts, or inspectable media.
  • Prefer contextual typography and spacing over generic oversized hero text.
  • Keep palettes multi-dimensional: avoid a UI dominated by one hue family.
  • Use CSS variables or existing design tokens so the direction remains coherent across states.
  • Design responsive constraints explicitly: grids, aspect ratios, min/max sizes, stable toolbars, and fixed-format controls should not shift when labels or hover states appear.
  • Use motion sparingly but deliberately. Prefer high-signal transitions that clarify state over decorative animation.
  • Verify text fit on mobile and desktop. Long labels must wrap or resize cleanly rather than overflowing.

Anti-Patterns

  • Do not default to common generated patterns: purple gradients, decorative blobs, oversized cards, vague hero copy, or stock-like atmospheric media.
  • Do not add UI cards inside other cards.
  • Do not use a single decorative style everywhere when the domain calls for restraint.
  • Do not hide the primary product, tool, object, or workflow behind generic marketing sections.
  • Do not add a new dependency for a design flourish unless it clearly pays for itself.
  • Do not describe the UI's features inside the UI when the controls can speak for themselves.

Review Checklist

  • The first viewport immediately communicates the product, workflow, or object.

…

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

Khác nhau giữa skill này và “frontend-design” chính thức là gì?

Skill này là phiên bản riêng của ECC, tập trung vào hướng dẫn thiết kế cụ thể. Skill chính thức của Anthropic mang tính tổng quát hơn và nên được cài riêng nếu bạn cần.

“Content states” là gì?

Đó là các trạng thái khác nhau mà người dùng có thể gặp, như khi dữ liệu đang tải, khi không có dữ liệu (trống), khi xảy ra lỗi, hoặc khi một thao tác hoàn thành thành công.

“Anti-patterns” là gì?

Đó là những cách thiết kế phổ biến nên tránh, như dùng các dải màu tím rực rỡ, thẻ lồng trong thẻ, hoặc giấu chức năng chính của sản phẩm sau các phần quảng cáo chung chung.

Chi tiết

Mô tả gốc của tác giả

Set an ECC-specific frontend design direction for production UI work. Use when building or improving websites, dashboards, applications, components, landing pages, visual tools, or any web UI that needs stronger product-specific design judgment.

repo: affaan-m/ECC

Độ phổ biến

Sao GitHub
280k
Vị trí xếp hạng
#317
Giấy phép
MIT
Cập nhật
15/10/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ự