# 安装 design-system

- 类型: Skill 技能
- 说明: Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.
- 仓库: https://github.com/anthropics/knowledge-work-plugins

## 方式一 · 一键代装（复制提示词让 AI 代劳）

### Claude Code
```
请帮我安装 askskill 上的 "design-system" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md
2. 保存为 ~/.claude/skills/design-system/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Codex
```
请帮我安装 askskill 上的 "design-system" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md
2. 保存为 ~/.codex/skills/design-system/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

### Cursor
```
请帮我安装 askskill 上的 "design-system" 技能：
1. 下载 https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md
2. 保存为 ~/.cursor/skills/design-system/SKILL.md
3. 装好后重载技能，告诉我可以用了
```

## 方式二 · 命令行安装（原生命令与配置）

### Claude Code
```bash
mkdir -p '~/.claude/skills/design-system' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md' -o '~/.claude/skills/design-system/SKILL.md'
```

### Codex
```bash
mkdir -p '~/.codex/skills/design-system' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md' -o '~/.codex/skills/design-system/SKILL.md'
```

### Cursor
```bash
mkdir -p '~/.cursor/skills/design-system' && curl -fsSL 'https://raw.githubusercontent.com/anthropics/knowledge-work-plugins/main/design/skills/design-system/SKILL.md' -o '~/.cursor/skills/design-system/SKILL.md'
```
