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

design-system-starter设计系统启动器

Agent Skill

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

总安装

233

周安装

10

GitHub Stars

160

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yonatangross/orchestkit --skill design-system-starter

简介

用于辅助界面设计、视觉规范和交互体验的优化工作。

  • 适合整理页面结构、生成 UI 方案或检查视觉一致性。
  • 使用时需结合现有品牌和设计系统,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过截图或浏览器预览验证效果。
  • 安装前请确认项目技术栈与宿主环境兼容性。design-system-starter 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Design System Starter

Overview

This skill provides comprehensive guidance for building robust, scalable design systems that ensure visual consistency, improve development velocity, and create exceptional user experiences.

When to use this skill:

  • Creating a new design system from scratch
  • Evolving or refactoring existing design systems
  • Establishing design token standards
  • Defining component architecture
  • Creating design documentation
  • Ensuring accessibility compliance (WCAG 2.1)
  • Implementing theming and dark mode

Bundled Resources:

  • references/design-tokens.md - Complete token definitions
  • references/component-patterns.md - Architecture patterns
  • references/component-examples.md - Full component implementations
  • references/theming.md - Theme and dark mode patterns
  • assets/design-tokens-template.json - W3C design token format
  • assets/component-template.tsx - React component template
// Example: Design token structure
const tokens = {
  colors: {
    primary: { base: "#0066cc", hover: "#0052a3" },
    semantic: { success: "#28a745", error: "#dc3545" }
  },
  spacing: { xs: "4px", sm: "8px", md: "16px", lg: "24px" }
};
  • checklists/design-system-checklist.md - Design system audit checklist

Design System Philosophy

A design system is more than a component library. It includes:

LayerDescriptionExamples
Design TokensFoundational design decisionsColors, spacing, typography
ComponentsReusable UI building blocksButton, Input, Card, Modal
PatternsCommon UX solutionsForms, Navigation, Layouts
GuidelinesRules and best practicesAccessibility, naming, APIs
DocumentationHow to use everythingStorybook, usage examples

Core Principles

  1. Consistency Over Creativity - Predictable patterns reduce cognitive load
  2. Accessible by Default - WCAG 2.1 Level AA compliance minimum
  3. Scalable and Maintainable - Design tokens enable global changes
  4. Developer-Friendly - Clear API contracts and documentation

References

Design Tokens

See: references/design-tokens.md

Key topics covered:

  • Color scales (primitive 50-950, semantic tokens)
  • Typography system (font families, sizes, weights, line heights)
  • Spacing scale (4px base system)
  • Border radius and shadow tokens
  • W3C design token format
  • Tailwind @theme integration

Quick Reference - Token Categories:

CategoryExamplesScale
Colorsblue.500, text.primary, feedback.error50-950
TypographyfontSize.base, fontWeight.semiboldxs-5xl
Spacingspacing.4, spacing.80-24 (4px base)
Border RadiusborderRadius.md, borderRadius.fullnone-full
Shadowsshadow.sm, shadow.lgxs-xl

Component Patterns

See: references/component-patterns.md

Key topics covered:

  • Atomic Design methodology (Atoms -> Pages)
  • Props best practices (predictable names, sensible defaults)
  • Composition over configuration
  • Compound component pattern
  • Polymorphic components
  • CVA variant pattern

See: references/component-examples.md for full implementations.

Quick Reference - Atomic Design:

LevelDescriptionExamples
AtomsIndivisible primitivesButton, Input, Label, Icon
MoleculesSimple compositionsFormField, SearchBar, Card
OrganismsComplex compositionsNavigation, Modal, DataTable
TemplatesPage layoutsDashboardLayout, AuthLayout
PagesSpecific instancesHomePage, SettingsPage

Theming

See: references/theming.md

Key topics covered:

  • Theme structure and TypeScript interfaces
  • Dark mode implementation approaches
  • Tailwind @theme directive (recommended)
  • Tailwind dark mode variant
  • Styled Components ThemeProvider
  • Theme toggle component
  • System preference detection

Quick Reference - Dark Mode Approaches:

ApproachBest ForComplexity
Tailwind @themeNew projectsLow
Tailwind dark: variantQuick implementationLow
CSS VariablesFramework-agnosticMedium
ThemeProviderCSS-in-JS appsMedium

Accessibility Guidelines

WCAG 2.1 Level AA Requirements

RequirementThresholdTools
Normal text contrast4.5:1 minimumWebAIM Contrast Checker
Large text contrast3:1 minimum
UI components3:1 minimum

Essential Patterns

  • Keyboard Navigation: All interactive elements must be keyboard accessible
  • Focus Management: Use focus traps in modals, maintain logical focus order
  • Semantic HTML: Use <button>, <nav>, <main> instead of generic divs
  • ARIA Attributes: aria-label, aria-expanded, aria-controls, aria-live
  • Screen Readers: Provide meaningful labels, announce dynamic content

Quick Start Checklist

When creating a new design system:

  • Define design principles and values
  • Establish design token structure (colors, typography, spacing)
  • Create primitive color palette (50-950 scale)
  • Define semantic color tokens (brand, text, background, feedback)
  • Set typography scale and font families
  • Establish spacing scale (4px or 8px base)
  • Use Tailwind @theme directive to define tokens
  • Components use Tailwind utilities (bg-primary, text-text-primary)
  • Design atomic components (Button, Input, Label, etc.)
  • Implement theming system (light/dark mode)
  • Ensure WCAG 2.1 Level AA compliance
  • Set up documentation (Storybook or similar)
  • Create usage examples for each component
  • Establish versioning and release strategy

Current Implementation (January 2026):

  • All colors defined in frontend/src/styles/tokens.css using @theme directive
  • Components use Tailwind utilities: bg-primary, text-text-primary, border-border
  • DO NOT use CSS variables in className: bg-[var(--color-primary)]

Design System Workflow

1. Design Phase

  • Audit existing patterns and identify inconsistencies
  • Define design tokens (colors, typography, spacing)
  • Create component inventory
  • Design in Figma (create component library)

2. Development Phase

  • Set up tooling (Storybook, TypeScript, testing)
  • Implement tokens (CSS variables or theme config)
  • Build atoms first, then compose upward
  • Document as you go

3. Adoption Phase

  • Create migration guide for teams
  • Provide codemods to automate migrations
  • Run workshops to train teams
  • Gather feedback and iterate

4. Maintenance Phase

  • Version semantically (major/minor/patch)
  • Define deprecation strategy
  • Maintain changelog
  • Monitor adoption across products

Integration with Agents

AgentUsage
Rapid UI DesignerUses tokens for consistent interfaces, references components
Frontend UI DeveloperImplements components following patterns
Code Quality ReviewerValidates design system adherence

Skill Version: 1.0.0 Last Updated: 2025-10-31 Maintained by: AI Agent Hub Team

Related Skills

  • a11y-testing - Automated accessibility testing to validate WCAG compliance of design system components
  • focus-management - Keyboard focus patterns for accessible interactive widgets in design systems
  • type-safety-validation - End-to-end type safety with Zod for design token schemas and component props
  • react-server-components-framework - React 19 patterns for server-rendered design system components

Key Decisions

DecisionChoiceRationale
Token FormatW3C Design TokensIndustry standard, tool-agnostic, supports theming
Component ArchitectureAtomic DesignScalable hierarchy from atoms to pages
Styling ApproachTailwind @theme directiveNative CSS variable integration, zero runtime
Variant ManagementCVA (Class Variance Authority)Type-safe variants, composable styles
DocumentationStorybookInteractive component playground, visual testing

Capability Details

design-tokens

Keywords: design tokens, css variables, theme, colors, spacing Solves:

  • Create design token system
  • Color palette
  • Typography scale

component-architecture

Keywords: component library, atomic design, atoms, molecules Solves:

  • Structure component library
  • Compound components
  • Variants

accessibility

Keywords: a11y, wcag, aria, keyboard navigation, focus Solves:

  • WCAG 2.1 AA compliance
  • ARIA attributes
  • Keyboard support

theming

Keywords: theme, dark mode, light mode, color scheme Solves:

  • Implement dark/light mode
  • Theme switching
  • CSS custom properties

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

26.75%
按下载量换算22

OpenCode

24.25%
按下载量换算20

Gemini CLI

18.78%
按下载量换算15

Antigravity

14.17%
按下载量换算12

windsurf

8.55%
按下载量换算7

Codex

3.95%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills