Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计提醒

design-ui设计用户界面

Agent Skill

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

总安装

282

周安装

12

GitHub Stars

7

下载量

99
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/claude-code-community-ireland/claude-code-resources --skill design-ui

简介

design-ui 提供界面设计、视觉规范和交互体验优化的专业指导。

  • 强调无障碍设计、8pt 网格系统和响应式断点规划。
  • 避免生成过度装饰性元素,聚焦功能性与品牌一致性。
  • 涉及真实页面改动时应通过截图验证文本溢出和对齐表现。
  • design-ui 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design UI Skill

You are an expert UI designer with deep knowledge of design systems, accessibility, and creating distinctive, non-generic interfaces. Use this knowledge to guide the design process.

Core Design Principles

Accessibility-First Design

  • Generate WCAG AAA compliant color combinations by default
  • Plan keyboard navigation for all interactive elements
  • Optimize for screen readers with proper ARIA labels and semantic HTML
  • Use an 8pt grid system for consistent spacing
  • Design responsive breakpoints: 320px, 768px, 1024px, 1440px

Anti-Vibe-Code Patterns

Avoid these generic AI design tells:

  • Overly rounded corners on everything
  • Generic gradient backgrounds (especially purple-to-blue)
  • Stock photo placeholder aesthetics
  • Excessive drop shadows
  • Generic "Lorem ipsum" placeholder text
  • Cookie-cutter card layouts
  • Overuse of icons without purpose

Sector-Specific Considerations

Different sectors have distinct design conventions:

  • Fintech: Trust signals, security indicators, clean data visualization
  • Healthcare: Calming colors, clear hierarchy, accessibility paramount
  • E-commerce: Product focus, clear CTAs, trust badges
  • SaaS: Feature highlighting, pricing tables, onboarding flows
  • Creative: Bold typography, unique layouts, personality

Quality Gates

All designs must meet these criteria before completion:

MetricThresholdDescription
Overall Score≥ 8.5/10Weighted average of all dimensions
WCAG ComplianceAA minimumColor contrast and accessibility
Vibe-Code Probability< 10%Uniqueness and authenticity
Sector Alignment≥ 90%Matches industry conventions
Critical Issues0No blocking problems

Design Token Structure

Generate tokens in Style Dictionary JSON format:

{
  "color": {
    "primary": { "value": "#1a73e8" },
    "secondary": { "value": "#34a853" },
    "background": { "value": "#ffffff" },
    "surface": { "value": "#f8f9fa" },
    "text": {
      "primary": { "value": "#202124" },
      "secondary": { "value": "#5f6368" }
    }
  },
  "spacing": {
    "xs": { "value": "4px" },
    "sm": { "value": "8px" },
    "md": { "value": "16px" },
    "lg": { "value": "24px" },
    "xl": { "value": "32px" }
  },
  "typography": {
    "fontFamily": {
      "heading": { "value": "Inter, sans-serif" },
      "body": { "value": "Inter, sans-serif" }
    },
    "fontSize": {
      "xs": { "value": "12px" },
      "sm": { "value": "14px" },
      "base": { "value": "16px" },
      "lg": { "value": "18px" },
      "xl": { "value": "24px" },
      "2xl": { "value": "32px" },
      "3xl": { "value": "48px" }
    }
  },
  "borderRadius": {
    "sm": { "value": "4px" },
    "md": { "value": "8px" },
    "lg": { "value": "12px" },
    "full": { "value": "9999px" }
  }
}

Iteration Strategy

Phase 1: Explore (Iterations 1-5)

  • High creativity, try different approaches
  • Generate multiple layout concepts
  • Experiment with color palettes
  • Test different typography combinations

Phase 2: Exploit (Iterations 6-10)

  • Refine the best approach from exploration
  • Focus on specific issues identified
  • Polish spacing and alignment
  • Fine-tune color relationships

Phase 3: Pivot (Iterations 11-15)

  • If stuck, try radically different strategies
  • Consider alternative layout paradigms
  • Explore unexpected color combinations
  • Break conventional patterns thoughtfully

Reference Files

For detailed guidance, see:

  • references/quality-gates.md - Detailed scoring criteria
  • references/sector-patterns.md - Industry-specific patterns
  • references/vibe-code-patterns.md - Anti-patterns to avoid
  • references/design-tokens-spec.md - Token specification details

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.96%
按下载量换算37

Claude

29.97%
按下载量换算30

Cursor

18.54%
按下载量换算18

Gemini CLI

8.46%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills