跳到正文
Skillpedia
界面(UI/UX)280k · #317

frontend-design-direction

它能做什么

帮助你确定网站或应用的外观与风格,确保它专业、易用,并且与其用途相匹配。它不只关注功能能否正常运行,还关注用户看到和使用时的观感。

适用场景

  • ✓从零开始创建新网站或应用时。
  • ✓现有网站或应用看起来千篇一律或显得过时时。
  • ✓添加需要与整体设计保持一致的新功能时。

技能链接

https://github.com/affaan-m/ECC/blob/main/skills/frontend-design-direction/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/skills/frontend-design-direction/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“怎样才能让这个仪表盘看起来更专业,少一些千篇一律的感觉?”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会考虑网站的用途、使用者是谁,以及想要的风格(例如严肃、活泼、技术感)。然后它会给出具体的设计建议,比如配色、字体和布局,帮你达成这个目标。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

…

常见问题

这个技能和官方的“frontend-design”有什么区别?

这个技能是 ECC 专属版本,侧重于特定的设计指导。Anthropic 官方的技能则更通用,如有需要,应单独安装。

什么是“内容状态”?

指用户可能遇到的各种情况,比如数据加载中、没有数据(空状态)、出现错误,或操作成功完成。

什么是“反模式”?

指通常应当避免的常见设计做法,比如使用花哨的紫色渐变、卡片套卡片,或者把产品的核心功能藏在千篇一律的营销板块后面。

详情

作者的原始描述

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

热度

GitHub 星标
280k
排名
#317
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能