Token导航 LogoToken导航

Agent Skill · 研究检索

elegant-design(优雅的设计)

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

elegant-design 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 32,598。

总安装 2,496周安装 129GitHub Stars 101下载 808核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rand/cc-polymath --skill elegant-design

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

elegant-design 提供世界级界面设计理念和实践方法,强调可用性优先。主张简洁明确胜过花哨效果,重复规律胜过标新立异。包含无障碍设计和渐进式披露等核心原则。适用于高端产品界面设计,平衡美观与功能性。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/elegant-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rand/cc-polymath --skill elegant-design;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

elegant-design 怎么安装?

在终端执行 npx skills add https://github.com/rand/cc-polymath --skill elegant-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

elegant-design 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

elegant-design 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/rand/cc-polymath --skill elegant-design;npx skills add rand/cc-polymath --skill "elegant-design" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

elegant-design 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

elegant-design 用的人多吗?

公开数据是累计安装 2,496 次,近一周安装 129 次,下载 808 次,GitHub 101 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

elegant-design 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
elegant-design

优雅的设计 · 本页

2,496101执行命令MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Designing Elegant Interfaces

Philosophy

World-class design is intentional, accessible, and delightful. Every element serves a purpose, every interaction feels natural, and the experience adapts gracefully across contexts.

Core Principles:

  • Clarity over cleverness - Users should never wonder what to do next
  • Consistency over novelty - Patterns should repeat predictably
  • Performance over features - Fast, smooth interactions trump visual complexity
  • Accessibility always - Design for all users from the start
  • Progressive disclosure - Reveal complexity only when needed
  • Intentional friction - Make destructive actions harder, constructive actions effortless

When to Use This Skill

Use this skill when:

  • Building web applications with React/Next.js/similar frameworks
  • Creating developer tools or technical interfaces
  • Designing interfaces with chat, terminals, or code display
  • Implementing real-time or streaming features
  • Ensuring accessibility and responsive design
  • Working with shadcn/ui, daisyUI, or HeroUI design systems

Design Process Workflow

Follow this workflow for optimal results:

1. Discovery & Planning (15-30 min)

Map User Experience:

# Create flow diagrams with Graphviz
cat > user-flow.dot << 'EOF'
digraph UserFlow {
  Start -> "Observe State"
  "Observe State" -> "Orient Understanding"
  "Orient Understanding" -> "Decide Action"
  "Decide Action" -> "Act Execute"
  "Act Execute" -> "Observe State" [label="OODA loop"]
}
EOF

dot -Tpng user-flow.dot -o user-flow.png

OODA Loop Mapping: For each major user goal, optimize the cycle:

  1. Observe - What information does the user need?
  2. Orient - How do they make sense of it?
  3. Decide - What choices are available?
  4. Act - How do they execute?

Document States:

  • Entry points (how users arrive)
  • Core loops (repeated actions)
  • Success states (goals achieved)
  • Failure states (errors, recovery paths)
  • Edge cases (empty, loading, error, extreme data)

List Affordances: Identify every UI element needed:

  • Navigation (movement between sections)
  • Actions (buttons, links, controls)
  • Inputs (forms, editors, pickers)
  • Feedback (success, error, loading)
  • Content (text, images, data)
  • Wayfinding (breadcrumbs, progress)

Before Building Custom Components:

  1. Search shadcn/ui first (https://ui.shadcn.com)
  2. Check daisyUI (https://daisyui.com)
  3. Explore HeroUI (https://heroui.com)
  4. Build custom only when necessary

2. Design Foundation (20-40 min)

Establish Visual System:

Read the detailed foundation guides:

  • foundation/typography.md - Font selection (Geist, JetBrains Mono), scales, loading
  • foundation/colors-and-spacing.md - Color palettes, spacing systems, dark mode
  • foundation/layout-patterns.md - Grids, containers, white space, responsive breakpoints

Quick Reference:

  • Typography: Geist for UI, JetBrains Mono for code (14px minimum)
  • Spacing: 8px base system (0.5rem, 1rem, 1.5rem, 2rem, 3rem, 4rem, 6rem, 8rem)
  • Colors: Semantic tokens (--color-background, --color-primary, --color-error, etc.)
  • Layout: Mobile-first, 12-column grid, generous white space

3. Interactive Elements (30-60 min)

For sophisticated interactive features, reference the specialized guides:

Chat & Messaging:

  • Read interactive/chat-and-messaging.md when building conversational interfaces
  • Covers message states, streaming, auto-scrolling, markdown rendering

Terminals & Code Display:

  • Read interactive/terminals-and-code.md for terminal emulators, syntax highlighting, semantic highlighting
  • Covers ANSI colors, Shiki integration, copy buttons, line highlighting

Streaming & Loading:

  • Read interactive/streaming-and-loading.md for progressive loading, streaming text, optimistic updates
  • Covers skeleton screens, progress indicators, loading hierarchies

Diffs & Logs:

  • Read interactive/diffs-and-logs.md for version control UIs, log viewers
  • Covers split/unified diffs, character-level changes, virtual scrolling

4. Implementation (1-3 hours)

Build Components:

  • Read implementation/components-and-accessibility.md for component architecture and WCAG compliance
  • Use atomic design: atoms → molecules → organisms → templates → pages
  • Ensure keyboard navigation and screen reader support

Optimize Performance:

  • Read implementation/performance.md for Core Web Vitals optimization
  • Lazy load, code split, optimize images, measure with Lighthouse

Test & Refine:

  • Read implementation/testing-and-qa.md for comprehensive testing approach
  • Test on multiple devices, screen sizes, and with accessibility tools

5. Validation & Refinement

Pre-Launch Checklist:

  • User flows tested and OODA loops optimized
  • All states handled (empty, loading, error, success)
  • Mobile responsive (tested on real devices)
  • Accessibility compliant (WCAG AA)
  • Performance measured (Lighthouse score > 90)
  • Geist used for UI, JetBrains Mono for code
  • Design system components used where possible
  • Consistent spacing and typography
  • Both light and dark modes work
  • Keyboard navigation complete
  • Interactive elements polished (see interactive guides)

Quick Decision Tree

Need to understand the basics? → Read foundation/ files first

Building chat or messaging? → Read interactive/chat-and-messaging.md

Building terminal or code editor? → Read interactive/terminals-and-code.md

Need streaming or loading states? → Read interactive/streaming-and-loading.md

Building diffs or log viewers? → Read interactive/diffs-and-logs.md

Ready to implement? → Read implementation/ files

Need tools or want to avoid mistakes? → Read reference/ files

Design Systems Priority

  1. shadcn/ui (https://ui.shadcn.com) - PRIMARY CHOICE

- Excellent accessibility defaults - Radix UI primitives - Tailwind-based, customizable - Copy-paste into project

  1. daisyUI (https://daisyui.com)

- Semantic component names - Tailwind plugin - Rapid prototyping

  1. HeroUI (https://heroui.com)

- Modern, polished - Strong design language - Product interfaces

See reference/design-systems.md for detailed comparison and usage patterns.

Typography Standards

Use these fonts exclusively:

- UI labels, body text, headings - 95% of your typography

- Code blocks, terminals, logs, diffs - 14px minimum size - Enable ligatures

Never mix multiple sans-serif or multiple monospace fonts.

See foundation/typography.md for complete guidance.

Inspiration Sites

Study these for design patterns:

Common Anti-Patterns

Avoid these mistakes:

  • ❌ Building custom components when design system has them
  • ❌ Using absolute positioning for layout
  • ❌ Animating expensive properties (width, height)
  • ❌ Skipping mobile testing
  • ❌ Ignoring accessibility
  • ❌ Using <div> for everything
  • ❌ Mixing multiple monospace fonts
  • ❌ Auto-scrolling when user is reading
  • ❌ Showing raw ANSI codes in terminals
  • ❌ Forgetting empty/loading/error states

See reference/anti-patterns.md for complete list with explanations.

Iterative Development

For simple interfaces (single page, few components):

  1. Start with foundation (read foundation files)
  2. Use design system components
  3. Test and refine

For complex interfaces (multiple features, interactive elements):

  1. Map flows and create diagrams
  2. Establish foundation (read foundation files)
  3. Build one feature at a time (read relevant interactive files)
  4. Test each feature before moving to next
  5. Optimize and polish (read implementation files)

For developer tools or technical interfaces:

  1. Map OODA loops carefully
  2. Read ALL interactive files (chat, terminals, code, streaming, diffs, logs)
  3. Focus on keyboard navigation and performance
  4. Test with actual technical content

Getting Help

If unsure where to start:

  1. Read the philosophy section above
  2. Follow the Design Process Workflow
  3. Reference specific guides as needed

If design feels off:

  1. Check against principles (clarity, consistency, performance)
  2. Review anti-patterns list
  3. Study inspiration sites
  4. Test with real users

If implementation is slow:

  1. Use design system components first
  2. Don't build what exists
  3. Focus on one feature at a time
  4. Test early and often

File Organization

elegant-design/
├── SKILL.md (you are here)
├── foundation/
│   ├── typography.md (fonts, scales, loading)
│   ├── colors-and-spacing.md (palettes, spacing system, dark mode)
│   └── layout-patterns.md (grids, containers, responsive)
├── interactive/
│   ├── chat-and-messaging.md (chat UIs, streaming messages)
│   ├── terminals-and-code.md (terminals, syntax highlighting)
│   ├── streaming-and-loading.md (progressive loading, skeletons)
│   └── diffs-and-logs.md (version control UI, log viewers)
├── implementation/
│   ├── components-and-accessibility.md (architecture, WCAG)
│   ├── performance.md (Core Web Vitals, optimization)
│   └── testing-and-qa.md (testing checklist, tools)
└── reference/
    ├── design-systems.md (shadcn, daisyUI, HeroUI details)
    ├── tools-and-libraries.md (complete tool list)
    └── anti-patterns.md (what not to do, with explanations)

Remember

World-class design is invisible. Users shouldn't notice your clever solutions - they should simply accomplish their goals effortlessly and maybe smile along the way.

Start simple, iterate based on real use. Don't build everything at once. Build what's needed, test it, refine it, then move to the next feature.

Accessibility is not optional. Design for keyboard navigation, screen readers, and sufficient contrast from the start. Retrofitting is much harder.

Performance matters. A beautiful interface that's slow is a bad interface. Measure performance early and often.

平台分布

Claude Code

28.89%
按下载量换算233

OpenCode

21.74%
按下载量换算176

Antigravity

16.03%
按下载量换算130

Gemini CLI

12.61%
按下载量换算102

Codex

8.03%
按下载量换算65

windsurf

3.36%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/rand/cc-polymath --skill elegant-design;npx skills add rand/cc-polymath --skill "elegant-design" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills