dtcg-format

Generate, validate, and transform DTCG JSON design tokens.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/thrillmade/agent-skills --skill dtcg-format
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dtcg-format
Source: https://github.com/thrillmade/agent-skills/tree/main/skills/dtcg-format
Command: npx skills add https://github.com/thrillmade/agent-skills --skill dtcg-format

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps in the authoring, validating, and transforming of W3C Design Tokens Format (DTCG) JSON, ensuring consistency across your design system.

Core Features & Use Cases

  • Authoring: Create DTCG files from scratch.
  • Validation: Check DTCG files against the latest specification.
  • Transformation: Convert DTCG to other design system formats like CSS variables or Tailwind.
  • Use Case: For a designer migrating an existing design system to DTCG or a developer implementing design tokens in their application.

Quick Start

Run 'dtcg-format generate my-design-system.json' to create a DTCG file for your design system.

Frequently Asked Questions about dtcg-format

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

FAQPage Schema
How do I validate my design tokens against the W3C DTCG specification?

To validate design tokens against the W3C DTCG specification, this Skill checks your DTCG JSON files for compliance. It ensures your tokenization adheres to the latest standards, supporting aliasing, inheritance, and the UDTS schema.

What is DTCG tokenization and when do I need it for my design system?

DTCG tokenization is authoring design tokens in the W3C Design Tokens Format. You need it to maintain consistency across your design system, allowing designers and developers to share a single source of truth for styling properties.

How do I convert DTCG JSON tokens to CSS variables or Tailwind?

You convert DTCG JSON tokens to CSS variables or Tailwind formats using the transformation feature. This translates validated DTCG files into other design system formats for direct integration into your applications.

Can I generate a DTCG JSON file from scratch for a new design system?

Yes, you can generate a DTCG JSON file from scratch for a new design system. The Skill provides authoring capabilities to create DTCG files, establishing your foundational design tokens with proper aliasing and inheritance.

Do I need prior knowledge of design token standards to use DTCG format validation?

Yes, you need prior knowledge of design token standards and DTCG specifications to use this Skill effectively. It targets designers and developers who are already integrating design tokens and need robust format validation.

What is the best way to migrate an existing design system to DTCG JSON?

The best way to migrate an existing design system to DTCG JSON is by authoring and validating your tokens through this Skill. It helps translate your current properties into compliant DTCG format, ensuring proper aliasing and inheritance.