design-tokens

Define and validate reusable design tokens for colors, typography, and spacing.

7|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/dmlguq456/agent_setting --skill design-tokens-dmlguq456
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/dmlguq456/agent_setting/tree/main/adapters/claude/skills/design-tokens
Command: npx skills add https://github.com/dmlguq456/agent_setting --skill design-tokens-dmlguq456

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the challenge of creating inconsistent or undocumented visual systems by defining reusable design tokens for colors, typography, spacing, radius, shadows, and motion.

Core Features & Use Cases

  • Token Definition: Establish structured design decisions for palettes, type scales, spacing systems, component foundations, and semantic styles.
  • Visual Validation: Generate specimens and verify contrast, typography, spacing, and visual harmony before components consume tokens.
  • Use Case: Help a product team migrate an existing application's scattered CSS values into a canonical token system while preserving current design patterns.

Quick Start

Use the design-tokens skill to analyze my app design files and create a verified token system for colors, typography, and spacing.

Frequently Asked Questions about design-tokens

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

FAQPage Schema
How do I convert scattered CSS variables into a structured design token system?

To convert scattered CSS variables into a design token system, analyze existing design files and codebase patterns to extract, define, and verify canonical tokens for colors, typography, and spacing. This process preserves current visual patterns while consolidating fragmented values into a unified, documented structure.

What is the best way to validate color contrast and typography before building components?

The best way to validate color contrast and typography is by generating visual specimens and verifying visual harmony directly from your design tokens. This visual validation ensures spacing, type scales, and contrast meet accessibility and design standards before components consume the tokens.

Can I use this to generate Tailwind configuration from existing design specifications?

Yes, you can generate Tailwind configuration from existing design specifications by defining reusable design tokens for spacing, color palettes, and typography. The extracted tokens are structured to map directly into Tailwind's configuration and CSS variables for consistent implementation.

Does this design token workflow support version tracking and canonical design file updates?

Yes, this design token workflow supports version tracking and canonical design file updates. It manages token extraction and documentation by updating canonical design files with verified token structures, ensuring consistent implementation and version control across the application design workflow.

How do I migrate an existing application's visual system to reusable design tokens?

To migrate an existing application's visual system to reusable design tokens, analyze the codebase to extract scattered CSS values and map them into structured categories for colors, typography, spacing, radius, shadows, and motion. This creates a canonical token system while preserving current design patterns.

When do I need to define reusable design tokens for my visual system?

You need to define reusable design tokens when you face the challenge of managing inconsistent or undocumented visual systems. Establishing structured design decisions for palettes, type scales, and spacing solves fragmented visual system management and ensures consistent implementation across application design workflows.