Design system

From jjongguet/oh-my-product · View interactive version

Design system is an AI agent skill from the GitHub repository jjongguet/oh-my-product. Activate when the user wants to extract, sync, or manage design system tokens. Pulls color palettes, typography scales, spacing tokens from URLs or existing code and updates DESIGN.md.

How to use this skill

Skill file

Design System Skill (oh-my-product)

Use this skill when the user wants to extract, create, or synchronize design system tokens.

Capabilities

  1. Token Extraction — Extract design tokens from:
  1. DESIGN.md Sync — Update DESIGN.md sections:
  1. Token Format Generation — Output tokens as:

Workflow

  1. Source — Identify where tokens come from (URL, file, image, manual spec)
  2. Extract — Parse and normalize token values
  3. Map — Assign semantic roles (primary, secondary, accent, surface, etc.)
  4. Write — Update DESIGN.md and/or generate token config files
  5. Verify — Check contrast ratios, validate completeness

Token Categories

| Category | Required Tokens |

|----------|----------------|

| Colors | primary, secondary, accent, background, surface, text, border, error, success, warning |

| Typography | heading (h1-h6), body, caption, overline font specs |

| Spacing | scale from 4px base (4, 8, 12, 16, 24, 32, 48, 64, 96) |

| Elevation | shadow-sm, shadow-md, shadow-lg, shadow-xl |

| Radius | sm (4px), md (8px), lg (16px), full (9999px) |

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.