Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

design-systems设计系统

Agent Skill

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

总安装

1,701

周安装

74

GitHub Stars

4

下载量

1,139
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/cuellarfr/design-skills --skill 'Design Systems'

简介

design-systems 提供规模化产品设计系统的构建方法论,融合原子设计与令牌化实践。

  • 适用于企业级 UI 库建设,支持 Material Design、Polaris 等成熟体系参考。
  • 强调模式复用、版本控制与跨团队协作规范,避免设计债务累积。
  • 包含组件层级划分、命名约定与交付物管理最佳实践。
  • 系统演进需持续收集反馈,防止过度封装导致灵活性下降。

SKILL.md

Design Systems

You are an expert in design systems — the interconnected patterns and shared practices that bring coherence to digital products at scale. Your recommendations are grounded in Brad Frost's Atomic Design methodology, Alla Kholmatova's pattern-driven approach, Nathan Curtis's system governance models, the W3C Design Tokens specification, and real-world systems including Material Design 3, Polaris (Shopify), Carbon (IBM), and Spectrum (Adobe).

*A design system is a product that serves other products. It is never "done." The measure of a good system is not its comprehensiveness on day one — it is whether it is still useful, still used, and still evolving a year later.*


Core Concepts

Two Types of Patterns

Every design system is built from two inseparable layers (Kholmatova):

TypeWhat It CoversExamples
Functional patternsTangible building blocks users interact withButtons, form fields, cards, modals, navigation, tabs
Perceptual patternsAesthetic properties that express brand personalityColor palette, type scale, spacing, motion, voice & tone, iconography style

A button is a functional pattern. Its border-radius, color, shadow, font-weight, and hover animation are perceptual patterns applied to it. You must address both layers.

Component Hierarchy (Atomic Design)

Five levels of UI granularity — a mental model, not a linear process:

LevelDefinitionExamplesDesign System Role
AtomsSmallest elements that can't be broken down furtherLabel, input, button, icon, color swatch, font styleDesign tokens + base components
MoleculesSimple groups of atoms functioning as a unitSearch form (label + input + button), form field (label + input + helper text)Core components
OrganismsComplex components made of molecules and atomsSite header, product card grid, checkout form, footerComposite components
TemplatesPage-level layouts arranging organisms — no real contentDashboard layout, settings page structure, article templateLayout patterns
PagesSpecific template instances with real contentHomepage with live data, profile with edge-case contentValidation and stress-testing

You do not design atoms first, then molecules. You work on all levels simultaneously. The hierarchy is for organizing the system, not dictating workflow.

Design Tokens

Design tokens are the atomic values of a design system — named, platform-agnostic representations of design decisions.

Token tiers (3-tier architecture):

TierPurposeExampleWhen to change
Global/ReferenceRaw palette of all available valuesblue-500: #2563EB, space-4: 16pxRarely — brand-level decisions
Semantic/AliasPurpose-mapped tokens referencing globalscolor-action-primary: {blue-500}, space-inline-md: {space-4}When meaning changes
ComponentComponent-specific tokens referencing semanticsbutton-bg-primary: {color-action-primary}When component design changes

Naming convention (W3C-aligned):

{category}-{property}-{variant}-{state}
color-background-primary-hover
space-padding-card-default
font-size-heading-lg

Never use raw hex codes, pixel values, or magic numbers in component code. Always reference tokens.


When to Build a Design System

Signals You Need One

  • More than 3 designers or 5 developers touching the same product
  • Visual audit reveals 10+ button styles, 5+ type scales, or 3+ modal implementations
  • New features take longer because teams reinvent existing patterns
  • Accessibility violations keep recurring in the same categories
  • Brand refresh or platform migration is planned

Signals You Don't (Yet)

  • Solo designer/developer — a personal style guide suffices
  • Product is in rapid exploration/pivot phase — systematize after convergence
  • Fewer than 20 screens — overhead exceeds benefit

The Interface Inventory (5-Step Audit)

Before building a system, audit what exists. This is the single most persuasive artifact for getting organizational buy-in.

  1. Assemble the team: Include design, development, product, QA — diverse eyes catch more inconsistencies
  2. Set up a shared canvas: Google Slides, Miro, or FigJam — one section per pattern category
  3. Screenshot exercise: Everyone screenshots UI patterns from the live product. Categories: buttons, form fields, navigation, cards, modals, typography, icons, colors, spacing
  4. Present findings: Display all screenshots grouped by category. The inconsistencies sell themselves — 15 button styles, 8 shades of grey, 4 card layouts solving the same problem
  5. Define next steps: Prioritize consolidation. Start with the most-used, most-inconsistent patterns

Audit categories checklist:

  • Buttons and CTAs
  • Form inputs and controls
  • Navigation patterns
  • Cards and content containers
  • Modals and overlays
  • Typography styles in use
  • Color values in use
  • Spacing values in use
  • Icon styles
  • Loading and empty states
  • Error and feedback patterns

Component Specification

Every pattern in the system needs a specification. Incomplete specs lead to divergent implementations.

Required Fields

FieldWhat to Document
NameContext-agnostic, structure-based. "Card" not "Product card." "Modal" not "Login modal"
PurposeWhat user need it serves — one sentence. If you can't state the purpose, the pattern may not be needed
AnatomyNamed sub-parts (e.g., Card = image + title + description + action)
VariantsLegitimate variations with when-to-use guidance. Max 5 variants — more signals the pattern needs splitting
StatesDefault, hover, active, focus, disabled, loading, error, empty
BehaviorInteraction rules: what triggers what, keyboard support, animation
Content guidelinesMin/max character counts, truncation rules, placeholder text
AccessibilityARIA roles, keyboard navigation, screen reader behavior, contrast requirements
Responsive behaviorHow the component adapts across breakpoints
Tokens usedWhich design tokens the component references
Related patternsPatterns commonly used together or easily confused

The "Same or Different?" Decision

When two elements look similar but might be different patterns:

  • Same purpose + same behavior → Same pattern, even if visually different → Consolidate
  • Same appearance + different purpose → Different patterns → Separate them
  • Same purpose + different behavior → Likely different patterns → Investigate further

Purpose and behavior determine identity. Appearance does not.


Naming Patterns

Principles

  1. Name by structure, not content: "Carousel" not "Homepage carousel." "Badge" not "Status badge"
  2. Use functional names: "Primary action" communicates purpose. "Blue button" communicates appearance (which will change)
  3. Name collaboratively: Involve designers, developers, content strategists. Names that only one discipline understands fail
  4. Be specific: "Input" is ambiguous when you have text inputs, selects, checkboxes, and toggles
  5. Use the name everywhere: In design files, in code (class names, component names), in conversation, in documentation

Naming Test

A good pattern name passes three checks:

  • A new team member can guess what it is from the name alone
  • The name still works if the visual design changes completely
  • The name works across all contexts where the pattern appears

Governance

Contribution Model

ModelHow It WorksBest For
CentralizedDedicated system team owns everything. Product teams request changesLarge orgs (50+ designers/devs), strict brand consistency
FederatedProduct teams contribute patterns back to the systemMid-size orgs, fast-moving products, distributed teams
HybridCore team owns foundations (tokens, core components). Product teams own domain-specific patternsMost organizations — balances consistency with speed

Pattern Lifecycle

Proposed → Under Review → Accepted → Built → Documented → Published → [Deprecated]

Acceptance criteria for new patterns:

  • Used (or needed) in 3+ contexts
  • Clear, documented purpose
  • Accessibility requirements met (WCAG 2.2 AA minimum)
  • Responsive behavior defined
  • Content guidelines included
  • At least 2 team members reviewed

Keeping the System Alive

The #1 cause of design system failure is abandonment — enthusiasm at launch, decay within 6 months.

Prevention checklist:

  • Dedicated owner (person or team) with allocated time — minimum 20% of one person's capacity
  • System-first workflow: changes originate in the system, then propagate to products — never the reverse
  • Automated sync between pattern library and production code
  • Changelog published with every release
  • Quarterly audit comparing library against live product
  • Contribution process documented and frictionless — using the system must be easier than building from scratch
  • Regular "state of the system" reviews with stakeholders

System Maturity Levels

LevelCharacteristicsFocus
1 — Ad hocNo shared patterns. Each feature built independentlyConduct interface inventory. Identify top 10 inconsistencies
2 — EmergingSome shared styles (colors, fonts). No component libraryDefine tokens. Document 10-15 most-used components
3 — ManagedComponent library exists. Adoption is partialGovernance process. Adoption metrics. Fill coverage gaps
4 — SystematicSystem is the default starting point for all new workOptimization. Cross-platform support. Advanced theming
5 — EmbeddedSystem drives product decisions. Team culture centers on itInnovation. Community contributions. Industry leadership

Most organizations should target Level 3 within the first year and Level 4 within two years. Level 5 is rare and requires significant organizational commitment.


Common Mistakes

MistakeWhy It FailsInstead
Building the full system before any product uses itNo feedback loop. Patterns don't match real needsBuild alongside a real product. Extract patterns from working code
Naming patterns after content ("Hero banner," "Product card")Names break when content changes or pattern is reusedName by structure and purpose
Treating the system as a one-time projectSystems decay without maintenanceTreat it as a product with a roadmap, backlog, and dedicated resources
Only documenting for developersDesigners, PMs, and content strategists can't use the systemMake documentation cross-disciplinary
Too many variants per componentCognitive overload. Inconsistent usageMax 5 variants. More than 5 → split into separate patterns
Skipping accessibility in component specsRetrofitting accessibility is 5-10x more expensiveBake ARIA, keyboard, and contrast requirements into every spec
Copying another company's system wholesaleTheir context isn't yours. Their trade-offs aren't yoursLearn from others. Build for your specific product, team, and users

Reference Files

Load these for deeper guidance on specific topics:

  • references/component-hierarchy.md — Detailed breakdown of atoms, molecules, organisms, templates, and pages with identification guidelines and composition rules
  • references/design-tokens.md — Token architecture, naming conventions, W3C format, theming, and platform delivery
  • references/pattern-documentation.md — How to write comprehensive pattern entries including anatomy, states, content rules, and accessibility
  • references/governance-and-maintenance.md — Contribution models, lifecycle management, versioning, communication, and adoption strategies
  • references/perceptual-patterns.md — Color systems, typography scales, spacing systems, motion principles, and voice & tone guidelines

Templates

  • templates/component-spec-template.md — Complete component specification document
  • templates/design-system-audit-template.md — Interface inventory and system assessment
  • templates/token-architecture-template.md — Design token structure and naming

Examples

  • examples/system-audit-walkthrough.md — End-to-end audit of a fictional e-commerce product revealing inconsistencies and consolidation plan
  • examples/component-spec-walkthrough.md — Specifying a Card component from purpose through accessibility

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.65%
按下载量换算383

Claude

32.65%
按下载量换算372

Cursor

16.89%
按下载量换算192

Gemini CLI

8.96%
按下载量换算102

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills