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:
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:
推荐访问7w4.net获取更多AI技能。
Design tokens should export to:
One source, many outputs. Use Style Dictionary or similar.
All components follow the same patterns:
variant, size, disabled)sm, md, lg)primary, secondary, ghost)Predictability beats cleverness.
Breaking changes need:
Data that stays local:
This skill does NOT:
Install with clawhub install <slug> if user confirms:
css — Styling fundamentalstailwindcss — Utility-first CSSfrontend — Frontend developmentui — User interface patternsdesign — Design principlesclawhub star design-systemclawhub sync这个 Skill 质量较好,文档思路清晰、实用性较强。它能帮助你系统地建立设计系统,给出了很好的设计原则和建议。但作为基础技能缺少使用示例和常见问题解答,部分内容偏理论化,实际动手时可能需要额外参考资料。对于想要认真建设设计系统的用户来说,这是一个不错的起点,但建议搭配其他专项技能一起使用效果更好。