Token导航 LogoToken导航

Agent Skill · 前端设计

design(设计)

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

design 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 7,129。

总安装 416周安装 17GitHub Stars 118下载 135核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rileyhilliard/claude-essentials --skill design

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

design 用于辅助界面设计、视觉规范和交互体验优化,提升页面结构合理性。适用于 UI 方案生成和组件层级改进,需结合品牌与设计系统使用。通过 npx skills add 从 GitHub 仓库安装,路径为 skills/design。涉及真实页面改动时,应通过截图验证响应式表现,避免仅依赖文字描述。

design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

design 怎么安装?

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

design 支持哪些 AI 工具?

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

design 需要什么权限?

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

design 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

design 用的人多吗?

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

design 安全吗?

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

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

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

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
design

设计 · 本页

416118执行命令未明确通过

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

SKILL.md 原文

Design Principles

Core philosophy: Every interface should look designed by a team that obsesses over 1-pixel differences. Not stripped, *crafted*. And designed for its specific context.

Avoid AI Sameness

AI-generated UIs have a recognizable "median of the internet" feel. Polished but generic, like everything was designed by the same committee. Break out of that by making deliberate choices instead of reaching for defaults.

AI default patterns to actively avoid:

AI defaultWhy it happensDo this instead
Indigo/purple gradientsTailwind's bg-indigo-500 saturated training dataChoose an accent color that fits the product's emotional job
Inter or system fonts everywhereStatistically safest choicePick typography that matches the product personality (see Choose Typography below)
Three-column icon gridEvery SaaS landing page template uses thisVary card layouts by content type. Metric cards, feature cards, and testimonial cards should look different from each other
Centered hero + CTA buttonThe default starting point for every landing pageConsider what the user actually needs first. Maybe it's a dense dashboard, a split layout, or content-forward with no hero at all
Uniform border-radius on everythingrounded-lg applied without thinkingPick a radius system and vary it by component role (sharp for data, softer for interactive)
White/light gray background + subtle shadow cardsThe safest possible surface treatmentCommit to a depth strategy that matches the product (see Depth Strategy below)
Decorative gradients on hero sectionsLooks "modern" without communicating anythingIf using gradients, make them functional (show hierarchy, direct attention) not decorative

The test: If you swapped your brand name with a competitor's and the design still works, it's too generic. Something about the color foundation, typography, spacing rhythm, or layout density should feel specific to *this* product.

Controlled imperfection creates character. Perfect symmetry and uniform spacing everywhere reads as machine-generated. Human-designed interfaces have intentional asymmetry: a sidebar slightly narrower than expected, a headline that breaks the grid for emphasis, whitespace that breathes unevenly to create visual rhythm. These are deliberate choices, not sloppiness.

Design Direction (REQUIRED)

Before writing code, commit to a direction. Don't default. Think about what this specific product needs to feel like.

Think About Context

  • What does this product do? A finance tool needs different energy than a creative tool.
  • Who uses it? Power users want density. Occasional users want guidance.
  • What's the emotional job? Trust? Efficiency? Delight? Focus?
  • What would make this memorable? Every product has a chance to feel distinctive.

Choose a Personality

DirectionFeelWhen to Use
Precision & DensityTight spacing, monochrome, info-forwardPower users who live in the tool. Linear, Raycast, terminal aesthetics.
Warmth & ApproachabilityGenerous spacing, soft shadows, friendlyProducts that want to feel human. Notion, Coda, collaborative tools.
Sophistication & TrustCool tones, layered depth, gravitasProducts handling money or sensitive data. Stripe, Mercury.
Boldness & ClarityHigh contrast, dramatic negative spaceModern, decisive products. Vercel, minimal dashboards.
Utility & FunctionMuted palette, functional densityWork matters more than chrome. GitHub, developer tools.
Data & AnalysisChart-optimized, technical but accessibleAnalytics, metrics, business intelligence.

Pick one. Or blend two. But commit to a direction that fits the product.

Choose Foundation

Color foundation (don't default to warm):

  • Warm (creams, warm grays): approachable, comfortable, human
  • Cool (slate, blue-gray): professional, trustworthy, serious
  • Pure neutrals (true grays): minimal, bold, technical
  • Tinted (slight color cast): distinctive, memorable, branded

Light or dark? Dark feels technical, focused, premium. Light feels open, approachable, clean. Choose based on context.

Accent color: ONE that means something. Blue = trust. Green = growth. Orange = energy. Violet = creativity.

Choose Layout

  • Dense grids for information-heavy interfaces where users scan and compare
  • Generous spacing for focused tasks where users need to concentrate
  • Sidebar nav for multi-section apps with many destinations
  • Top nav for simpler tools with fewer sections

Choose Typography

  • System fonts: fast, native, invisible (utility-focused products)
  • Geometric sans (Geist, Inter): modern, clean, technical
  • Humanist sans (SF Pro, Satoshi): warmer, more approachable
  • Monospace influence: technical, developer-focused, data-heavy

Core Craft (Non-Negotiable)

The 4px Grid

All spacing uses 4px base: 4px (micro), 8px (tight), 12px (standard), 16px (comfortable), 24px (generous), 32px (major).

Symmetrical Padding

TLBR must match. If top is 16px, all sides are 16px. Exception: when content naturally creates visual balance.

Border Radius

Stick to 4px grid. Pick a system and commit:

  • Sharp: 4px, 6px, 8px
  • Soft: 8px, 12px
  • Minimal: 2px, 4px, 6px

Depth Strategy

Match depth to design direction. Different products need different approaches:

  • Borders-only (flat): Clean, technical. Linear, Raycast use almost no shadows.
  • Subtle single shadow: Soft lift without complexity.
  • Layered shadows: Rich, premium, dimensional. Stripe, Mercury.
  • Surface color shifts: Background tints establish hierarchy without shadows.

The craft is in the choice, not the complexity. A flat interface with perfect spacing is more polished than shadow-heavy with sloppy details.

Typography Hierarchy

  • Headlines: 600 weight, -0.02em tracking
  • Body: 400-500 weight
  • Labels: 500 weight, positive tracking for uppercase
  • Scale: 11px, 12px, 13px, 14px (base), 16px, 18px, 24px, 32px

Use monospace for numbers, IDs, codes, timestamps. Use tabular-nums for columns.

Font pairing: Display font for headlines (one statement font) + neutral body font. Don't mix two display fonts.

Color for Meaning Only

Gray builds structure. Color only appears when it communicates: status, action, error, success. Four-level contrast hierarchy: foreground → secondary → muted → faint.

Card Layouts

Internal layouts should vary by content. A metric card doesn't have to look like a plan card doesn't have to look like a settings card. One might have a sparkline, another an avatar stack, another a progress ring.

Surface treatment stays consistent: same border weight, shadow depth, corner radius, padding scale.

Isolated Controls

Never use native form elements for styled UI. Native <select>, <input type="date"> render OS-native elements that cannot be styled. Build custom components.

Custom select triggers: display: inline-flex with white-space: nowrap to keep text and icons on same row.

Navigation Context

Screens need grounding:

  • Navigation (sidebar or top)
  • Location indicator (breadcrumbs, active state)
  • User context (who's logged in)

When building sidebars, consider using same background as main content. Linear, Vercel use subtle border for separation rather than different backgrounds.

Dark Mode

  • Borders over shadows: Shadows less visible on dark backgrounds
  • Adjust semantic colors: Desaturate for dark backgrounds
  • Same hierarchy, inverted values

Motion & Animation

Motion is communication, not decoration. Every animation should have a reason.

  • Timing: 150-200ms for micro-interactions, 300-400ms for larger transitions
  • Easing: ease-out for entrances, ease-in for exits, ease-in-out for state changes
  • Staggered reveals: When loading multiple items, stagger by 50-75ms for polished feel
  • Scroll-triggered: Subtle fade-in on scroll for long pages (opacity + small translateY)

Avoid: Spring physics, bouncy overshoots, parallax effects. Keep motion functional.

Texture & Atmosphere

For products that need visual depth beyond shadows:

  • Subtle gradients: Background gradients (2-3% opacity shift) add dimension without distraction
  • Noise overlay: 1-2% noise on large surfaces prevents flatness (especially dark mode)
  • Glass effects: backdrop-filter: blur() for elevated surfaces, used sparingly
  • Border gradients: Subtle gradient borders on hero cards for premium feel

Match to personality: Precision products stay flat. Sophisticated products layer depth.

Anti-Patterns

Never:

  • Dramatic drop shadows (0 25px 50px...)
  • Large radius (16px+) on small elements
  • Asymmetric padding without reason
  • Pure white cards on colored backgrounds
  • Thick borders (2px+) for decoration
  • Spring/bouncy animations
  • Multiple accent colors
  • Motion without purpose

The Standard

Different products want different things. A dev tool wants precision and density. A collaborative product wants warmth and space. A financial product wants trust and sophistication.

Same quality bar, context-driven execution.

Implementation

Detect which styling approach the project uses, then load the matching reference:

Project usesLoad
Vanilla CSS, CSS Modules, styled-components, or no Tailwindreferences/craft-css.md
Tailwind CSSreferences/craft-tailwind.md

If unclear, check for tailwind.config or @tailwind directives in the project. Default to CSS if neither is found.

平台分布

Codex

34.92%
按下载量换算47

Claude

28.35%
按下载量换算38

Cursor

19.02%
按下载量换算26

Gemini CLI

10.07%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

继续浏览同类 Skills