design-tokens

Validate design token structures and generate CSS custom properties via Style Dictionary.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/kimen-dev/kimen --skill design-tokens-kimen-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/kimen-dev/kimen/tree/main/.agents/skills/design-tokens
Command: npx skills add https://github.com/kimen-dev/kimen --skill design-tokens-kimen-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill resolves the complexity of managing design tokens by providing expert guidance on the DTCG specification, ensuring consistent visual values across your design system while preventing hardcoded values in components.

Core Features & Use Cases

  • DTCG Compliance: Expert advice on token structure, color spaces, and aliasing following the Design Tokens Community Group specification.
  • Style Dictionary Integration: Streamlined build configuration for transforming tokens into CSS custom properties using the Kimen pipeline.
  • Use Case: When you need to migrate raw CSS variables into a structured primitive-to-semantic token hierarchy, this skill provides the exact validation steps and build configurations to ensure your components consume tokens safely.

Quick Start

Use the design-tokens skill to validate the structure of my primitive.tokens.json file and generate the corresponding CSS variables using the Style Dictionary build configuration.

Frequently Asked Questions about design-tokens

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

FAQPage Schema
How do I migrate raw CSS variables into a structured design token hierarchy?

To migrate raw CSS variables into a structured design token hierarchy, you validate primitive token JSON files and generate CSS custom properties using the Style Dictionary 5 build pipeline, ensuring safe component consumption without hardcoded values.

What is the DTCG specification for design tokens?

The DTCG specification provides a standardized format for design token structure, color spaces, and aliasing. This approach ensures consistent visual values across your design system while managing tokens effectively.

Can I use Style Dictionary 5 to transform design tokens into CSS custom properties?

Yes, you can use Style Dictionary 5 to transform design tokens into CSS custom properties. This skill provides streamlined build configurations that facilitate the transformation following the DTCG specification and Kimen pipeline.

What's the best way to validate design token structure before building CSS variables?

The best way to validate design token structure is to check primitive token JSON files against the DTCG specification. This ensures primitive-to-semantic token layering adheres to architectural constraints before running the build pipeline.

Does the design-tokens skill enforce accessibility standards during token transformation?

Yes, the token transformation process enforces accessibility standards. It ensures adherence to architectural constraints regarding token layering and accessibility standards throughout the validation and build process.