name: design-system-creation model: reasoning description: Complete workflow for creating distinctive design systems from scratch. Orchestrates aesthetic documentation, token architecture, components, and motion. Use when starting a new design system or refactoring an existing one. Triggers on create design system, design tokens, design system setup, visual identity, theming.
Complete workflow for creating distinctive design systems with personality.
npx clawhub@latest install design-system-creation
1. Aesthetic Foundation → Document the vibe before code 2. Color Token System → CSS variables + Tailwind + TypeScript 3. Typography System → Font stack + scale + patterns 4. Surface Components → Layered primitives with CVA 5. Motion Tokens → Consistent animation timing 6. Loading States → Skeleton + shimmer patterns7w4.net小蔥技能站,你的AI助手技能庫。
Read: ai/skills/design-systems/distinctive-design-systems
Before writing CSS, document the aesthetic:
## The Vibe
[1-2 sentences describing the visual feel]
## Inspirations
- [Reference 1 - what to take from it]
- [Reference 2 - what to take from it]
## Emotions to Evoke
| Emotion | How It's Achieved |
|---------|-------------------|
| [X] | [specific technique] |
| [Y] | [specific technique] |
| Aesthetic | Characteristics |
|---|---|
| Retro-futuristic | CRT textures, glow effects, monospace fonts |
| Warm cyberpunk | Tan/beige base, emerald accents, glass panels |
| Magazine financial | Bold typography, dark theme, gradient text |
Read: ai/skills/design-systems/distinctive-design-systems
Create the three-layer token system:
/* 1. CSS Variables (source of truth) */
:root {
--tone-primary: 76, 204, 255;
--primary: 200 90% 65%;
--success: 154 80% 60%;
--destructive: 346 80% 62%;
}
// 2. Tailwind Config
colors: {
primary: 'hsl(var(--primary))',
tone: { primary: 'rgb(var(--tone-primary))' },
}
// 3. TypeScript Tokens (optional)
export const colors = {
primary: 'hsl(var(--primary))',
};
Read: ai/skills/design-systems/distinctive-design-systems
Define fonts and scale:
:root {
--font-display: 'Orbitron', system-ui;
--font-mono: 'Share Tech Mono', monospace;
--font-sans: 'Inter', system-ui;
--typo-scale: 0.88; /* Mobile */
}
@media (min-width: 640px) {
:root { --typo-scale: 1; }
}
/* Magazine-style numbers */
.metric { font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* Labels */
.label { text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
Read: ai/skills/design-systems/design-system-components
Build layered surface primitives with CVA:
const surfaceVariants = cva(
'rounded-lg backdrop-blur-sm transition-colors',
{
variants: {
layer: {
panel: 'bg-tone-cadet/40 border border-tone-jordy/10',
tile: 'bg-tone-midnight/60 border border-tone-jordy/5',
chip: 'bg-tone-cyan/10 border border-tone-cyan/20 rounded-full',
},
},
}
);
export function Surface({ layer, children }: SurfaceProps) {
return <div className={surfaceVariants({ layer })}>{children}</div>;
}
Read: ai/skills/design-systems/distinctive-design-systems
Define consistent animation timing:
// tailwind.config.ts
keyframes: {
'shimmer': { '0%': { backgroundPosition: '200% 0' }, '100%': { backgroundPosition: '-200% 0' } },
'pulse-glow': { '0%, 100%': { opacity: '1' }, '50%': { opacity: '0.5' } },
'slide-in': { '0%': { opacity: '0', transform: 'translateY(10px)' }, '100%': { opacity: '1', transform: 'translateY(0)' } },
},
animation: {
'shimmer': 'shimmer 1.5s ease-in-out infinite',
'pulse-glow': 'pulse-glow 1.8s ease-in-out infinite',
'slide-in': 'slide-in 0.2s ease-out',
}
Read: ai/skills/design-systems/loading-state-patterns
Create skeleton components that match your aesthetic:
export function Skeleton({ className }: { className?: string }) {
return (
<div
className={cn(
'rounded-md bg-muted animate-shimmer',
'bg-gradient-to-r from-muted via-muted-foreground/10 to-muted bg-[length:200%_100%]',
className
)}
/>
);
}
| Skill | Purpose |
|---|---|
distinctive-design-systems |
Aesthetic foundation, tokens |
design-system-components |
Surface primitives, CVA |
animated-financial-display |
Number animations |
loading-state-patterns |
Skeletons, shimmer |
financial-data-visualization |
Chart theming |
styles/
├── globals.css # CSS variables, base styles
├── design-tokens.ts # TypeScript exports
└── theme.css # Component patterns
tailwind.config.ts # Token integration
components/
├── ui/
│ ├── surface.tsx # Surface primitive
│ ├── skeleton.tsx # Loading states
│ └── button.tsx # Variant components
質量中等偏上。結構清晰、步驟分明,提供了實用的程式碼示例和避坑指南。主要缺點是安裝說明有錯誤,可能導致安裝失敗;另一個問題是它依賴其他技能才能完整使用,獨立使用可能不完整。適合有經驗的開發者,對新手不太友好。修復安裝問題後會更好用。