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.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 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:
- Purpose: what job does the interface do?
- Audience: who repeats this workflow, and what do they need to scan first?
- Tone: utilitarian, editorial, playful, industrial, refined, technical, maximal, minimal, dense, calm, or another explicit direction.
- Memorable detail: one design idea that makes the result feel intentional.
- 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
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
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.