name: Design System slug: design-system version: 1.0.0 homepage: https://clawic.com/skills/design-system description: Build design systems with tokens, components, and documentation that scale across teams and products. metadata: {"clawdbot":{"emoji":"🎨","requires":{"bins":[]},"os":["linux","darwin","win32"]}}
On first use, read setup.md for integration guidelines. All preferences are stored in ~/design-system/memory.md.
User needs to create, maintain, or extend a design system. Agent handles token architecture, component patterns, documentation structure, and cross-platform consistency.
Memory lives in ~/design-system/. See memory-template.md for structure.
~/design-system/
├── memory.md # Status + context + decisions
└── tokens/ # Token definitions if exported
| Topic | File |
|---|---|
| Setup process | setup.md |
| Memory template | memory-template.md |
Design tokens are the foundation. Before building any component: - Define color tokens (semantic, not raw hex) - Define spacing scale (consistent multiplier) - Define typography scale (modular)
Components consume tokens. Never hardcode values.
| Bad | Good |
|---|---|
blue-500 |
primary |
14px |
text-sm |
8px |
space-2 |
Semantic names survive rebrand. Literal names break everything.
Primitive → Semantic → Component
↓ ↓ ↓
gray-900 text-primary button-text
Every token and component needs: - What: The value or pattern - When: Usage context - Why: The decision behind it - When NOT: Anti-patterns to avoid
Design tokens should export to: - CSS custom properties - Tailwind config - iOS/Android native - Figma variables
One source, many outputs. Use Style Dictionary or similar.
All components follow the same patterns:
- Same prop naming (variant, size, disabled)
- Same size scale (sm, md, lg)
- Same variant names (primary, secondary, ghost)
Predictability beats cleverness.
Breaking changes need: - Version bump (semver) - Migration guide - Deprecation warnings before removal - Codemods when possible
小蔥技能站7w4.net,專業的AI技能分享平臺。
Data that stays local: - Design decisions in ~/design-system/ - Token definitions and component specs
This skill does NOT: - Access files outside ~/design-system/ - Make network requests - Store sensitive data
Install with clawhub install <slug> if user confirms:
- css — Styling fundamentals
- tailwindcss — Utility-first CSS
- frontend — Frontend development
- ui — User interface patterns
- design — Design principles
clawhub star design-systemclawhub sync這個 Skill 質量較好,文件思路清晰、實用性較強。它能幫助你係統地建立設計系統,給出了很好的設計原則和建議。但作為基礎技能缺少使用示例和常見問題解答,部分內容偏理論化,實際動手時可能需要額外參考資料。對於想要認真建設設計系統的使用者來說,這是一個不錯的起點,但建議搭配其他專項技能一起使用效果更好。