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

design-system-creator设计系统创建者

Agent Skill

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

总安装

2,766

周安装

113

GitHub Stars

98

下载量

886
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/erichowens/some_claude_skills --skill design-system-creator

简介

用于创建全面的 CSS-first 设计系统,专精于令牌架构和样式表工程化。

  • 适合需要自定义命名规范、主题切换或多品牌支持的复杂项目环境。
  • 使用时需提供现有样式表或品牌指南作为输入,输出包含 BEM/OOCSS 命名建议。
  • 不支持字体选择和图片优化,需配合其他工具完成完整系统搭建。
  • design-system-creator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design System Creator

Design systems architect and CSS expert specializing in creating comprehensive, scalable design bibles.

When to Use This Skill

Use for:

  • Creating design tokens from scratch (colors, spacing, typography scales)
  • Building CSS custom property architectures
  • Documenting component libraries with usage guidelines
  • Creating design bibles and style guides
  • Establishing naming conventions (BEM, OOCSS, SMACSS)
  • Auditing existing CSS for design system extraction
  • Theming and dark mode token systems
  • Multi-brand/white-label token structures

Do NOT use for:

  • Typography selection and pairing → typography-expert
  • Color theory and palette generation → color-theory-palette-harmony-expert
  • Brand identity and visual direction → web-design-expert
  • Actual component implementation → web-design-expert or native-app-designer
  • Icon design → web-design-expert
  • Motion design principles → native-app-designer

Three-Tier Token Architecture

The foundation of scalable design systems:

:root {
  /* 1. PRIMITIVE - Raw values (ALWAYS use OKLCH for colors) */
  --color-blue-500: oklch(62.8% 0.195 252.5);
  --space-4: 1rem;

  /* 2. SEMANTIC - Purpose-driven */
  --color-primary: var(--color-blue-500);
  --space-component-padding: var(--space-4);

  /* 3. COMPONENT - Specific usage */
  --button-bg: var(--color-primary);
  --button-padding: var(--space-component-padding);
}

→ See references/token-architecture.md for dark mode, multi-brand, and complete examples.

OKLCH: The Modern Color Standard

⚠️ CRITICAL: Always use OKLCH for color tokens, not hex or HSL.

OKLCH is perceptually uniform - equal L values mean equal perceived lightness. This is essential for:

  • Generating harmonious color scales
  • Ensuring accessibility (L=50% is true middle gray)
  • Theming (adjust L for dark mode, C for brand intensity)
:root {
  /* OKLCH format: oklch(Lightness% Chroma Hue) */

  /* Primary scale - same hue, varying lightness */
  --color-primary-100: oklch(95% 0.05 252);
  --color-primary-500: oklch(62% 0.19 252);
  --color-primary-900: oklch(30% 0.15 252);

  /* Dark mode: reduce L uniformly */
  --color-bg-light: oklch(98% 0.01 252);
  --color-bg-dark: oklch(15% 0.02 252);
}

Essential OKLCH Resources:

ResourcePurpose
oklch.comInteractive OKLCH color picker
Evil Martians: Why Quit RGB/HSLWhy OKLCH is the new standard
HarmonizerGenerate harmonious palettes in OKLCH

OKLCH Benefits for Design Systems:

  • Perceptual uniformity: L=70% always looks 70% light
  • Better contrast: APCA-ready lightness calculations
  • Easier scaling: Math operations work predictably
  • Native CSS: oklch() works in all modern browsers (2023+)

Design Bible Structure

1. Foundation

  • Brand Identity, Design Principles
  • Color System, Typography Scale
  • Spacing Scale, Grid System

2. Components

For each component document:

  • Purpose, Anatomy, Variants
  • States (default, hover, active, disabled, focus)
  • Responsive behavior
  • Accessibility (ARIA, keyboard, screen readers)
  • Code examples

3. Patterns

  • Page Layouts, Navigation
  • Forms, Data Display
  • Feedback (alerts, toasts, modals)

4. Guidelines

  • Writing (voice, tone)
  • Imagery, Motion, Accessibility

→ See references/component-documentation.md for templates.

CSS Organization (ITCSS)

styles/
├── 0-settings/     # Tokens, custom properties
├── 1-tools/        # Mixins, functions
├── 2-generic/      # Reset, normalize
├── 3-elements/     # Typography, forms (unclassed)
├── 4-objects/      # Layout patterns
├── 5-components/   # UI components
├── 6-utilities/    # Helpers, overrides
└── main.css        # Import all

→ See references/css-organization.md for BEM naming and full structure.

Anti-Patterns to Avoid

1. Token Explosion

What it looks like: 500+ tokens with overlapping purposes Why it's wrong: Defeats constraints; developers can't choose Fix: Limit to 6-8 spacing tokens. If you need more, fix the scale.

2. Missing Semantic Layer

What it looks like: Components reference primitives directly Why it's wrong: Can't theme, can't change brand without touching every component Fix: Three-tier tokens: Primitive → Semantic → Component

3. Documentation Drift

What it looks like: Design bible says one thing, CSS does another Why it's wrong: Developers stop trusting documentation Fix: Generate docs from CSS comments, or use Storybook

4. Utility Class Overload

What it looks like: class="p-4 m-2 bg-blue-500 text-white..." Why it's wrong: HTML unreadable, design intent lost Fix: Use utilities sparingly; most styles in semantic component classes

5. Breaking the Scale

What it looks like: padding: 13px; (why 13?) Why it's wrong: Every exception erodes the system Fix: If the scale doesn't work, fix the scale

6. No Version Control

What it looks like: "Which button is correct?" Why it's wrong: Multiple sources of truth Fix: Single source of truth with version numbers, deprecation warnings

Working Process

  1. Audit: Review existing patterns and inconsistencies
  2. Define: Establish tokens and foundational system
  3. Build: Create component library with documentation
  4. Document: Write comprehensive design bible
  5. Test: Validate accessibility and responsiveness
  6. Deliver: Package with examples and starter templates

MCP Integrations

MCPPurpose
21st.devScaffold components quickly with modern patterns
StorybookExtract existing component structure (when available)
FigmaSync design tokens from Figma variables (when available)
Stability AIGenerate placeholder images for documentation
FirecrawlResearch design system best practices

Output Deliverables

  • Design Bible Document: Complete markdown/HTML with visual examples
  • CSS Codebase: Well-commented, modular, production-ready
  • Component Library: Interactive examples with all variants
  • Quick Start Guide: Getting started, customization, common recipes

References

references/token-architecture.md - Three-tier tokens, dark mode, multi-brand → references/css-organization.md - ITCSS, BEM, component file structure → references/component-documentation.md - Doc templates, quick reference cards

Integrates With

  • typography-expert - Typography scale and font selection
  • color-theory-palette-harmony-expert - Color palette generation
  • web-design-expert - Brand identity and visual direction
  • adhd-design-expert - ADHD-friendly design tokens

*Remember: A design system is a living product that serves products.*

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

windsurf

28.45%
按下载量换算252

Claude Code

24.63%
按下载量换算218

Codex

20.61%
按下载量换算183

Antigravity

13.07%
按下载量换算116

OpenCode

7.89%
按下载量换算70

Cursor

3.25%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills