design-tokens

Extract code-ready design tokens from DESIGN.md files into CSS, Tailwind, or theme objects.

5|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ItamarZand88/design-skills --skill design-tokens-itamarzand88
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/ItamarZand88/design-skills/tree/main/.claude/skills/design-tokens
Command: npx skills add https://github.com/ItamarZand88/design-skills --skill design-tokens-itamarzand88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually copying hex values, font sizes, and spacing scales from design documentation into code is tedious and error-prone. This Skill converts a DESIGN.md design system document directly into structured, code-ready design tokens in the format your project uses. ## Core Features & Use Cases - Multi-format token generation: Outputs CSS custom properties, Tailwind CSS config, JS/TS theme objects (styled-components, Emotion, Chakra UI), W3C Design Tokens JSON, or SCSS variables. - Complete token extraction: Pulls colors, typography scales, spacing, shadows, border radii, and breakpoints from the corresponding DESIGN.md sections with consistent naming conventions per format. - Partial and multi-design support: Extract only specific categories (e.g., just a color palette) or generate swappable token sets from multiple design systems for theme switchers. - Use Case: Ask for Stripe's design as a Tailwind config, and receive a tailwind.config.js with Stripe's exact colors, fonts, spacing, and shadows ready to drop into your project. ## Quick Start Ask the assistant to extract Vercel's design system as CSS custom properties from its DESIGN.md file.

Frequently Asked Questions about design-tokens

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Tailwind config from a design system?▼

Provide a DESIGN.md file or name a brand from the catalog, and request Tailwind output. The skill maps colors, font families, spacing, and box shadows from the document into Tailwind's standard theme keys in a tailwind.config.js or tailwind.config.ts file.

How to convert design tokens to CSS custom properties?▼

Request CSS custom properties as the output format, and each token is written as a --{category}-{name} variable inside a :root block, such as --color-primary or --shadow-lg. The output is saved to a tokens.css or variables.css file.

What output formats does design token extraction support?▼

Five formats are supported: CSS custom properties, Tailwind CSS config, JS/TS theme objects for styled-components or Chakra UI, W3C Design Tokens JSON, and SCSS variables. Each format follows its own naming convention.

Can I extract only colors from a design system?▼

Yes, partial extraction is supported. If you request only a specific category like a color palette or typography scale, only that subset of tokens is generated rather than the full token set.

Can I use tokens from multiple design systems in one project?▼

Yes, the skill can generate separate token sets from multiple design systems using a shared structure. This allows the token sets to be swapped at runtime, which is useful for building theme switchers.