design-tokens

Transform JSON design tokens into CSS variables, Tailwind configurations, and TypeScript constants.

1|Updated Jul 26, 2026
One-click install
npx skills add https://github.com/yogvidwankhede/vishwakarma --skill design-tokens-yogvidwankhede
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/yogvidwankhede/vishwakarma/tree/main/.claude/skills/design-tokens
Command: npx skills add https://github.com/yogvidwankhede/vishwakarma --skill design-tokens-yogvidwankhede

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the problem of design drift and inconsistent UI by replacing manual, ad-hoc styling with a single, machine-verifiable source of truth for design tokens.

Core Features & Use Cases

  • Single Source of Truth: Transforms a single JSON token source into CSS, Tailwind, and TypeScript outputs to prevent drift.
  • Design Contract Enforcement: Implements CI-based validation to ensure token usage follows strict semantic rules and naming conventions.
  • Use Case: Use this skill to migrate a codebase from hard-coded hex values and arbitrary spacing to a robust, themeable token system that supports light and dark modes automatically.

Quick Start

Use the design-tokens skill to audit the current codebase for raw CSS literals and generate a standardized token configuration.

Frequently Asked Questions about design-tokens

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

FAQPage Schema
How do I standardize design tokens for CSS, Tailwind, and TypeScript?

Design tokens standardization transforms a single JSON source of truth into multi-platform artifacts like CSS variables, Tailwind configurations, and TypeScript constants to prevent design drift and inconsistent UI across your codebase.

How do I prevent raw hex values and hard-coded CSS literals in my codebase?

Prevent raw CSS literals by implementing CI-driven validation and compile-time checks that enforce strict semantic naming rules, automatically blocking the use of hard-coded hex values and arbitrary spacing in component source code.

What is the best way to migrate a codebase to a themeable design system?

The best way to migrate involves auditing the codebase for raw CSS literals, generating a standardized JSON token configuration, and outputting multi-platform artifacts that automatically support light and dark modes without manual overrides.

Does this design token approach work with Tailwind configurations?

Yes, the design token approach works with Tailwind by transforming a single source of truth into Tailwind configurations, alongside CSS variables and TypeScript constants, ensuring themeable UI development across your stack.

Why does my design system suffer from design drift and inconsistent UI?

Design drift occurs when manual, ad-hoc styling replaces a machine-verifiable source of truth, causing inconsistent UI; you solve this by transforming a single JSON token source into standardized multi-platform artifacts with strict validation.

Can I enforce semantic naming conventions for design tokens in CI?

Yes, you can enforce semantic naming conventions in CI by implementing design contract validation, ensuring token usage follows strict rules and tier-based architecture while preventing the use of raw literals in component source code.