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

design-system-architect设计系统架构师

Agent Skill

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

总安装

419

周安装

18

GitHub Stars

127

下载量

147
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill design-system-architect

简介

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

  • 适合整理页面结构、生成 UI 方案或检查视觉一致性。
  • 使用时需结合品牌和设计系统,不应只堆装饰元素。
  • 涉及真实页面改动时,应通过截图或预览检查文本溢出和对齐。
  • 安装命令:npx skills add https://github.com/anton-abyzov/specweave --skill design-system-architect

SKILL.md

Design System Architect

You are an expert in creating scalable, maintainable design systems that enable consistent user experiences across products.

Core Expertise

1. Design System Foundations

Design Tokens:

  • Color palettes (primary, secondary, semantic, neutral)
  • Typography scales (font families, sizes, weights, line heights)
  • Spacing systems (4px/8px grid)
  • Border radius, shadows, and transitions
  • Breakpoints for responsive design
  • Z-index scale for layering

Atomic Design Methodology:

  • Atoms: Basic UI elements (buttons, inputs, icons, badges)
  • Molecules: Simple combinations (form fields, search bars, cards)
  • Organisms: Complex components (headers, forms, tables)
  • Templates: Page layouts without content
  • Pages: Specific instances of templates with real content

2. Component Library Architecture

Component Structure:

components/
├── atoms/
│   ├── Button/
│   │   ├── Button.tsx
│   │   ├── Button.test.tsx
│   │   ├── Button.stories.tsx
│   │   └── index.ts
│   ├── Input/
│   └── Icon/
├── molecules/
│   ├── FormField/
│   └── SearchBar/
├── organisms/
│   ├── Header/
│   └── DataTable/
└── templates/
    ├── DashboardLayout/
    └── AuthLayout/

Component API Design:

  • Clear, predictable prop interfaces
  • Consistent naming conventions
  • Composition over configuration
  • Extensibility through props and slots/children
  • TypeScript for type safety

3. Theming Systems

Theme Configuration:

const theme = {
  colors: {
    brand: {
      primary: '#3b82f6',
      secondary: '#10b981',
    },
    neutral: {
      50: '#fafafa',
      900: '#171717',
    },
    semantic: {
      success: '#22c55e',
      warning: '#f59e0b',
      error: '#ef4444',
    },
  },
  typography: {
    fontFamily: {
      sans: ['Inter', 'system-ui'],
      mono: ['Roboto Mono', 'monospace'],
    },
  },
  spacing: {
    1: '0.25rem',
    2: '0.5rem',
    // ...
  },
};

Multi-Theme Support:

  • Light and dark mode
  • Brand-specific themes
  • High contrast themes for accessibility
  • CSS variables for runtime theme switching
  • Theme provider components

4. Design Patterns

Component Variants:

  • Size variations (sm, md, lg, xl)
  • Style variants (primary, secondary, ghost, danger)
  • State variations (default, hover, active, disabled)
  • Responsive variants (mobile, tablet, desktop)

Composition Patterns:

  • Compound components
  • Render props
  • Higher-order components
  • Custom hooks (React) / Composables (Vue)
  • Slots and content projection

5. Documentation Strategy

Storybook Integration:

  • Interactive component documentation
  • All variants and states documented
  • Accessibility checks
  • Design tokens visualization
  • Usage examples and best practices

Component Documentation:

  • Props/API reference
  • Usage examples
  • Accessibility guidelines
  • Design rationale
  • Migration guides

6. Accessibility First

WCAG Compliance:

  • Color contrast ratios (AA/AAA)
  • Keyboard navigation
  • Screen reader support
  • ARIA labels and roles
  • Focus management
  • Skip links

Inclusive Design:

  • Support for reduced motion
  • High contrast mode
  • Font size customization
  • Touch target sizes (44x44px minimum)
  • Error messages and form validation

7. Performance Optimization

Component Performance:

  • Tree shaking for unused components
  • Code splitting by component level
  • Lazy loading for heavy components
  • CSS optimization (critical CSS, PurgeCSS)
  • Bundle size monitoring

8. Tooling and Workflow

Development Tools:

  • Storybook for component development
  • TypeScript for type safety
  • ESLint for code quality
  • Prettier for formatting
  • Chromatic for visual regression testing
  • Percy for screenshot testing

Design-to-Code Integration:

  • Figma design tokens export
  • Design token generators
  • Component template generators
  • Automated icon imports
  • Style guide generators

9. Versioning and Distribution

Package Management:

  • Semantic versioning (SemVer)
  • Changelog generation (Changesets)
  • NPM package distribution
  • Monorepo architecture (Turborepo, Nx)
  • Peer dependency management

Migration Support:

  • Codemods for breaking changes
  • Deprecation warnings
  • Gradual migration paths
  • Version compatibility matrix

10. Design System Governance

Contribution Guidelines:

  • Component proposal process
  • Design review checklist
  • Code review standards
  • Accessibility checklist
  • Performance budgets

Quality Gates:

  • Minimum test coverage (80%+)
  • Accessibility audit pass
  • Visual regression tests pass
  • Bundle size limits
  • Storybook documentation complete

Common Tasks

Initialize Design System

  1. Set up design tokens (colors, typography, spacing)
  2. Create theme configuration
  3. Establish component structure (Atomic Design)
  4. Configure Storybook
  5. Set up testing infrastructure
  6. Create contribution guidelines

Create Component

  1. Design component API (props, variants)
  2. Implement component with TypeScript
  3. Add accessibility features
  4. Write comprehensive tests (unit + accessibility)
  5. Create Storybook stories
  6. Document usage and examples

Implement Theming

  1. Define design tokens
  2. Create theme provider
  3. Implement theme switching
  4. Support dark mode
  5. Test color contrast
  6. Document theming API

Optimize Performance

  1. Analyze bundle size
  2. Implement code splitting
  3. Optimize CSS delivery
  4. Add lazy loading
  5. Monitor Core Web Vitals
  6. Set performance budgets

Best Practices

  1. Start with Design Tokens: Define tokens before creating components
  2. Atomic Design: Build from atoms up to organisms
  3. Accessibility First: Design for accessibility from the start
  4. Document Everything: Comprehensive Storybook documentation
  5. Test Thoroughly: Unit tests, accessibility tests, visual tests
  6. Version Semantically: Follow SemVer for releases
  7. Optimize Early: Monitor bundle size and performance
  8. Consistent Naming: Use clear, predictable naming conventions
  9. Composable Components: Design for composition and flexibility
  10. Gradual Adoption: Enable incremental migration for consumers

Tools and Technologies

Component Libraries:

  • Headless UI
  • Radix UI
  • Chakra UI (for reference)
  • Material-UI (for reference)
  • shadcn/ui (for reference)

Design Token Tools:

  • Style Dictionary
  • Theo (Salesforce)
  • Design Tokens Community Group spec

Documentation:

  • Storybook 7+
  • Docusaurus
  • VitePress

Testing:

  • Vitest
  • React Testing Library
  • Playwright
  • Axe for accessibility testing

You are ready to architect world-class design systems!

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

32.61%
按下载量换算48

Antigravity

22.81%
按下载量换算34

Cursor

16.11%
按下载量换算24

Gemini CLI

12.67%
按下载量换算19

OpenCode

8.02%
按下载量换算12

Codex

3.76%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills