Frontend Design Direction

affaan-m/ECC/skills/frontend-design-direction

作者 affaan-mef648e01899ba3e8dc6371642deaaf64b4477775無授權條款275K 個星標收錄於 2026年10月9日更新於 2026年10月9日儲存庫4 天前更新

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.

AI 產生的概覽

為網頁介面工作提供針對特定產品的視覺設計方向指引。

功能
這項技能為前端工作提供設計方向指引,要求代理在撰寫程式碼前先釐清用途、受眾、調性、一個令人印象深刻的細節以及限制條件。它提供關於版面配置、字體排版、色彩、動態效果、響應式設計與素材運用的實作規則,並附上反模式與審查清單。它產出的是設計決策與審查標準,而不是程式碼或檔案。
適用情境
適用於建置或改善網頁、應用程式、儀表板、元件或其他需要更強產品化設計判斷的介面。也適用於介面雖然可用,卻顯得平淡、通用或與受眾不符的情況。
執行需求
不需要指令碼或工具,屬於僅含指示的技能。它假定代理是在既有的前端專案中作業,專案本身已有元件、設計權杖與慣例。

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

  • 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.
  • The visual hierarchy supports scanning and repeated use.
  • Typography fits the container and does not overlap adjacent content.
  • Color choices have contrast and do not collapse into a one-note palette.
  • Icons are used for familiar tool actions where available.
  • Responsive layout has stable dimensions for boards, grids, toolbars, controls, tiles, and counters.
  • Assets render and carry the subject matter instead of acting as filler.
  • Motion improves orientation and does not mask sluggishness.
  • The result matches the repo's existing frontend conventions unless there is a clear reason to depart.

來源與署名

來源:affaan-m/ECC位於skills/frontend-design-direction提交ef648e0

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架