Claude Skill

design-system-generator

Create design systems with tokens, components, and documentation. Use when building design systems, creating component libraries, or establishing design tokens.

LLM Mart · 0 points · 1 views 0 listing impressions 0 install-command copies
Download onewave-ai-claude-skills-design-system-generator-97b5147.zip · 4 KB

Install

skills CLI npx skills add https://github.com/OneWave-AI/claude-skills/tree/main/design-system-generator
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install onewave-ai-claude-skills@llmmart
Git git clone https://github.com/OneWave-AI/claude-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole onewave-ai/claude-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Design System Generator

Generate a token-driven design system: tokens, base components, build config, and documentation.

Contents

  • references/design-tokens.md — color, typography, spacing, shadow, and radius token files plus CSS variable setup.
  • references/components.md — Button, Input, Card implementations and the component barrel index.
  • references/config-and-utilities.md — Tailwind config and the cn class-merge helper.

Workflow

  1. Define design tokens. Create tokens/ with colors, typography, spacing, and effects (shadows, radii) per references/design-tokens.md. Replace the reference values with the project brand palette.
  2. Add CSS variables. Set up :root and .dark custom properties in globals.css using the variable block in references/design-tokens.md.
  3. Wire the build. Add the cn helper and extend the Tailwind theme from the token files following references/config-and-utilities.md.
  4. Build base components. Implement Button, Input, and Card from references/components.md, then extend the set as the product requires.
  5. Export a barrel. Re-export every shipped component from components/ui/index.ts (see references/components.md).
  6. Document usage and variants. For each component, note its variants, sizes, props, and accessibility behavior so consumers apply it consistently.
Files (claude-skills)
  • references
    • components.md 4.2 KB
      Loading…
    • config-and-utilities.md 970 B
      Loading…
    • design-tokens.md 3.5 KB
      Loading…
  • SKILL.md 1.5 KB
    ---
    name: design-system-generator
    description: Create design systems with tokens, components, and documentation. Use when building design systems, creating component libraries, or establishing design tokens.
    ---
    
    # Design System Generator
    
    Generate a token-driven design system: tokens, base components, build config, and documentation.
    
    ## Contents
    
    - `references/design-tokens.md` — color, typography, spacing, shadow, and radius token files plus CSS variable setup.
    - `references/components.md` — Button, Input, Card implementations and the component barrel index.
    - `references/config-and-utilities.md` — Tailwind config and the `cn` class-merge helper.
    
    ## Workflow
    
    1. Define design tokens. Create `tokens/` with colors, typography, spacing, and effects (shadows, radii) per `references/design-tokens.md`. Replace the reference values with the project brand palette.
    2. Add CSS variables. Set up `:root` and `.dark` custom properties in `globals.css` using the variable block in `references/design-tokens.md`.
    3. Wire the build. Add the `cn` helper and extend the Tailwind theme from the token files following `references/config-and-utilities.md`.
    4. Build base components. Implement Button, Input, and Card from `references/components.md`, then extend the set as the product requires.
    5. Export a barrel. Re-export every shipped component from `components/ui/index.ts` (see `references/components.md`).
    6. Document usage and variants. For each component, note its variants, sizes, props, and accessibility behavior so consumers apply it consistently.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.