rico-resource-article
Resource recommendation article generator with multi-turn workflow and domain adaptation. Creates structured articles with…
Create design system documents from any website URL. Use this skill for: DESIGN.md, preview.html, design tokens, CSS variables, style references, brand analysis, or format conversion between DESIGN.md/tokens.json/variables.css/theme.css. Trigger on: "create a DESIGN.md",
$ npx -y skills add ricocc/rico-skills --skill rico-design-md --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/rico-design-mdContext preview
The summary Claude sees to decide when to auto-load this skill.
Create design system documents from any website URL. Use this skill for: DESIGN.md, preview.html, design tokens, CSS variables, style references, brand analysis, or format conversion between DESIGN.md/tokens.json/variables.css/theme.css. Trigger on: "create a DESIGN.md",
name: rico-design-md description: > Create design system documents from any website URL. Use this skill for: DESIGN.md, preview.html, design tokens, CSS variables, style references, brand analysis, or format conversion between DESIGN.md/tokens.json/variables.css/theme.css. Trigger on: "create a DESIGN.md", "extract design tokens", "analyze [brand]'s design system", "reverse-engineer [url]'s visual style", "rico DESIGN.md", "rico tokens", "rico 全部输出". Covers: DESIGN.md, preview.html, tokens.json (DTCG), variables.css, theme.css (Tailwind v4).
Convert any website into design system documents, or convert between formats.
in `references/themes-github/` to match structure exactly. This prevents format drift.
appearance (vapor-white, charcoal-canvas) — unless the descriptive name is the brand's own.
not "subtle shadow". Downstream consumers need parseable values.
changes CSS properties. Missing states mean incomplete implementation.
gradient blends, and browser-specific rendering. Cross-check with visual evidence.
alternatives (Mona Sans, Inter, DM Sans) for anyone implementing the design.
explaining its intended use — this is the DTCG standard and prevents misuse.
describing the brand's visual personality, not a feature list.
(e.g., no shadows observed), skip it and note the gap. Fabricated values break trust.
user which to document. If the dark mode is visually distinct (e.g., Linear, Supabase), offer to generate a separate `dark/` subdirectory with its own 4 files. Never blend tokens from both themes into one document.
token or property. "Use good contrast" is useless; "Reserve accent-blue for hyperlinks and focus rings only" is actionable.
incomplete — tracking and leading define the brand voice as much as font-size.
must be preserved as-is, not simplified to a single `box-shadow`.
decisions. Without it, the document is just a token dump.
| Command | Output | |---------|--------| | `rico DESIGN.md [url]` | DESIGN.md + preview.html (default) | | `rico preview [url]` | preview.html only | | `rico tokens [url]` | tokens.json only | | `rico variables [url]` | variables.css only | | `rico theme.css [url]` | theme.css only | | `rico 全部输出 [brand]` | All 5 files (DESIGN.md + preview.html + tokens + variables + theme) | | `rico 把 DESIGN.md 转为 tokens` | Format conversion |
Natural language also triggers: "create a DESIGN.md for linear.app", "extract design tokens from stripe.com", "generate preview for [url]".
themes/{brand-slug}/
├── DESIGN.md # Full style reference (default)
├── preview.html # Visual design system preview (default)
├── tokens.json # DTCG format tokens
├── variables.css # CSS custom properties
└── theme.css # Tailwind v4 @theme**Default output:** `rico DESIGN.md [url]` generates both `DESIGN.md` and `preview.html`.
The `preview.html` is a self-contained, single-file design system reference page:
The `references/` directory contains template and example files. Read the matching file before generating — structure must be consistent:
Screenshot hero, nav, CTAs, cards, typography sections, footer. Inspect DevTools for CSS variables, `@font-face`, computed styles, box-shadow, border-radius, spacing.
**Why:** Screenshots capture decorative elements (gradients, glows, illustrations) that CSS inspection alone misses.
**Colors** — Map observed values to semantic tokens:
| Observed | Token | Type | |-
Claude Code Skills for content creation, design optimization, and resource curation.
Resource recommendation article generator with multi-turn workflow and domain adaptation. Creates structured articles with…
UI/UX design optimization toolkit with 20 built-in themes and custom theme generation. Applies design systems with color,…