Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计通过

ui-design用户界面设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

259

周安装

11

GitHub Stars

4

下载量

91
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-design(用户界面设计)
来源仓库:https://github.com/futuregerald/futuregerald-claude-plugin
仓库路径:skills/ui-design
安装命令:
npx skills add https://github.com/futuregerald/futuregerald-claude-plugin --skill ui-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/futuregerald/futuregerald-claude-plugin --skill ui-design

简介

用于辅助界面设计、视觉规范和交互体验优化。

  • 适合整理页面结构、生成 UI 方案或检查一致性。
  • 使用时需结合品牌、设计系统和用户任务。ui-design 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 避免堆装饰元素,应通过截图检查文本溢出和对齐。
  • 响应式表现需要配合构建和本地预览确认。

SKILL.md

UI Design Skill

Practical design principles for creating professional, polished user interfaces without formal design training.

Core Philosophy

Design is not about artistic talent—it's about making deliberate decisions. Focus on these fundamentals:

  1. Visual hierarchy - Guide attention to what matters
  2. Spacing systems - Create consistent rhythm
  3. Constraint-based design - Limit choices to speed decisions

Starting a Design

Feature First, Not Layout

Never start with the shell (navbar, sidebar). Start with actual functionality:

  • Design the core feature first (e.g., search form, not the page layout)
  • The shell emerges from feature needs, not vice versa

Progressive Fidelity

  1. Sketch first - Use low-fidelity to explore ideas fast
  2. Grayscale second - Force hierarchy through spacing, contrast, size
  3. Color last - Add color only after hierarchy is established

Design the Minimum

  • Don't design features you won't build yet
  • Expect implementation to be hard—design the smallest useful version
  • Work in cycles: design → build → iterate

Hierarchy

The most important skill. When everything competes for attention, nothing stands out.

Establish Hierarchy With

  • Size - But don't rely on it alone
  • Weight - 400-500 for normal, 600-700 for emphasis. Avoid <400 for UI text
  • Color - Dark for primary, grey for secondary, lighter grey for tertiary

De-emphasize to Emphasize

When the main element doesn't stand out, don't add more to it—reduce emphasis on competing elements.

Labels

  • Often unnecessary—format and context communicate meaning (email, phone, price)
  • Combine with values: "12 left in stock" not "In stock: 12"
  • When needed, de-emphasize labels (smaller, lighter, lower contrast)

Actions

  • Primary - Solid, high contrast background
  • Secondary - Outline or lower contrast background
  • Tertiary - Style like links
  • Destructive ≠ always red and bold. Use hierarchy first, confirm with bold styling.

Spacing & Layout

White Space

Start with too much, then remove. Elements need breathing room.

Spacing System

Use a constrained scale where adjacent values differ by ~25%:

4, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512

Base on 16px (browser default). Don't nitpick between 120px and 125px—grab from your scale.

Layout Principles

  • Don't fill the screen - If you need 600px, use 600px
  • Grids are overrated - Not everything should be fluid. Sidebars often work better with fixed widths.
  • Relative sizing doesn't scale - Large elements shrink faster than small ones on small screens
  • Avoid ambiguous spacing - More space *around* groups than *within* them

Typography

Type Scale

Hand-pick a constrained set:

12, 14, 16, 18, 20, 24, 30, 36, 48, 60, 72

Use px or rem, never em (nesting breaks the system).

Line Length

45-75 characters per line (20-35em). Constrain paragraphs even in wide layouts.

Line Height

  • Inversely proportional to font size - Taller for small text, shorter for large
  • Proportional to line length - Wider content needs taller line-height
  • Headlines at large sizes can use line-height: 1

Alignment

  • Left-align most text
  • Center only headlines or short blocks (<3 lines)
  • Right-align numbers in tables

Letter Spacing

  • Tighten for large headlines
  • Increase for ALL CAPS text

Color

Use HSL

Hue (0-360°), Saturation (0-100%), Lightness (0-100%). More intuitive than hex/RGB.

Build a Palette

You need far more than 5 colors:

  • Greys - 8-10 shades. Start dark grey (not pure black), end white.
  • Primary - 5-10 shades for buttons, links, active states
  • Accents - Semantic colors (red=destructive, yellow=warning, green=success)

Creating Shades

  1. Pick base color (good for button background)
  2. Pick darkest (for text on light bg) and lightest (for tinted backgrounds)
  3. Fill gaps: 100, 200, 300, 400, 500, 600, 700, 800, 900

Advanced Techniques

  • Increase saturation as lightness moves away from 50%
  • Rotate hue toward bright hues (60°, 180°, 300°) to lighten, dark hues (0°, 120°, 240°) to darken
  • Saturate greys with blue (cool) or yellow/orange (warm)

Colored Backgrounds

Don't use grey text on colored backgrounds—hand-pick a color with same hue, adjusted saturation/lightness.

Accessibility

  • 4.5:1 contrast for normal text, 3:1 for large text
  • Flip contrast: dark text on light colored background instead of white on dark
  • Never rely on color alone—add icons, patterns, or contrast differences

Depth & Shadows

Light Source

Light comes from above. Raised elements: lighter top edge, shadow below. Inset elements: shadow at top, lighter bottom edge.

Shadow System

Define 5 shadows from subtle to dramatic:

  • Small - Buttons, subtle elevation
  • Medium - Dropdowns, cards
  • Large - Modals, dialogs

Two-Part Shadows

  1. Large, soft shadow (direct light source)
  2. Tight, dark shadow (ambient light blocked underneath)

Flat Design Depth

  • Lighter = closer, darker = further
  • Solid shadows (no blur) work for flat aesthetics
  • Overlap elements to create layers

Images

Quality Matters

Bad photos ruin good designs. Use professional photography or quality stock (Unsplash).

Text Over Images

  • Add semi-transparent overlay
  • Lower image contrast and adjust brightness
  • Add subtle text shadow (large blur, no offset)

Sizing

  • Don't scale icons up (they look chunky) or down (they look muddy)
  • Don't shrink full screenshots—use partial screenshots or simplified illustrations
  • Control user-uploaded images with fixed containers (background-size: cover)

Finishing Touches

Supercharge Defaults

  • Replace bullets with icons
  • Promote quotes into visual elements
  • Style links distinctively
  • Use custom checkboxes/radios with brand colors

Add Polish

  • Accent borders - Top of cards, side of alerts, under headlines
  • Background decoration - Color changes, subtle patterns, geometric shapes
  • Empty states - Design them! Include illustrations and clear CTAs.

Reduce Borders

Use instead:

  • Box shadows
  • Different background colors
  • Extra spacing

Think Outside the Box

Dropdowns can have columns, icons, sections. Tables can combine columns and add hierarchy. Radio buttons can be selectable cards.

Reference Files

For deeper guidance:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.19%
按下载量换算31

Claude

31.74%
按下载量换算29

Cursor

18.76%
按下载量换算17

Gemini CLI

8.75%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills