design-system-tokens

Manages W3C DTCG design tokens with three-tier hierarchy and Style Dictionary transformations.

217|20|Updated Dec 31, 2025
One-click install
npx skills add https://github.com/yonatangross/orchestkit --skill design-system-tokens-yonatangross
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-system-tokens
Source: https://github.com/yonatangross/orchestkit/tree/main/plugins/ork/skills/design-system-tokens
Command: npx skills add https://github.com/yonatangross/orchestkit --skill design-system-tokens-yonatangross

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and management of design tokens, ensuring consistency across your design system and codebase, and simplifying theme management, including dark mode.

Core Features & Use Cases

  • W3C DTCG Compliance: Adheres to the W3C Design Token Community Group specification for maximum interoperability.
  • Three-Tier Hierarchy: Organizes tokens into global, alias, and component layers for scalability and theming.
  • OKLCH Color Space: Utilizes perceptually uniform OKLCH for accurate color definitions and accessible shade generation.
  • Style Dictionary Integration: Transforms tokens into various platform outputs (CSS, Tailwind, iOS, Android).
  • Theming & Dark Mode: Enables easy theme switching and dark mode implementation.
  • Use Case: When building a new component library, use this Skill to define all foundational design tokens (colors, spacing, typography) in a standardized format that can be consumed by both designers and developers, and easily themed for different brand variations.

Quick Start

Create a new design token file following the W3C DTCG specification for a primary color.

Frequently Asked Questions about design-system-tokens

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

FAQPage Schema
How do I create design tokens that follow the W3C specification?

To create W3C-compliant design tokens, define your foundational properties in a standardized JSON format. This Skill structures tokens into global, alias, and component tiers, ensuring maximum interoperability and scalability across your design system.

How do I manage dark mode theming using CSS variables and design tokens?

Managing dark mode theming with design tokens involves structuring your color tokens into alias and component layers. This Skill utilizes the OKLCH color space for perceptually uniform definitions and handles transformations to output CSS variables for easy theme switching.

Can I use Style Dictionary to transform W3C design tokens into platform-specific outputs?

Yes, you can integrate Style Dictionary to transform W3C design tokens. This Skill maps the three-tier token hierarchy through Style Dictionary to generate platform-specific outputs like CSS, Tailwind, iOS, and Android formats from a single source.

What is the best way to organize design tokens for a scalable component library?

The best way to organize design tokens for a scalable component library is a three-tier hierarchy. This Skill structures tokens into global, alias, and component layers, separating foundational design properties from component-specific styles for maintainable theming.

Why use OKLCH color space for generating accessible color shades in a design system?

Using the OKLCH color space ensures perceptually uniform color definitions for your design tokens. This Skill leverages OKLCH to generate accurate, accessible color shades that maintain visual consistency across different themes and brand variations.

Does this approach to design token management work without external dependencies?

Yes, this design token management approach works without external dependencies. The Skill operates independently to create W3C DTCG compliant token files, though it outputs formats ready for integration with tools like Style Dictionary in your build pipeline.