design-system

Create three-layer design token systems with CSS variables and Tailwind mapping.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/KumarAdi8/AgentKit --skill design-system-kumaradi8
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-system
Source: https://github.com/KumarAdi8/AgentKit/tree/main/skills/design-system
Command: npx skills add https://github.com/KumarAdi8/AgentKit --skill design-system-kumaradi8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a clear architecture and actionable guidelines to eliminate inconsistent styles, duplicate values, and fragile component theming by defining a three-layer token system and component token conventions.

Core Features & Use Cases

  • Token Architecture: Defines primitive, semantic, and component token layers to separate raw values from purpose-driven aliases and component overrides.
  • Scales & Systems: Supplies spacing and typography scales, radius, shadow, and color palettes for light and dark themes.
  • Integration & Handoff: Maps tokens to CSS variables and Tailwind theme entries and documents component state specifications and accessibility validation requirements.

Quick Start

Create a three-layer design token system with primitives, semantic aliases, and component overrides, export CSS variables for light and dark themes, and map core tokens into your Tailwind configuration.

Frequently Asked Questions about design-system

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

FAQPage Schema
How do I create a design token architecture for my UI component library?▼

Create a design token architecture by defining three layers: primitive tokens for raw values, semantic tokens for purpose-driven aliases, and component tokens for overrides. This structure separates raw values from UI meaning, ensuring consistent and themeable component styling across your library.

How do I map design tokens to Tailwind theme configuration and CSS variables?▼

Map design tokens to Tailwind by exporting CSS variables for light and dark themes and injecting core token values into your Tailwind configuration entries. This maps semantic aliases directly to Tailwind theme scales for spacing, typography, and color palettes.

What is the three-layer token system for design systems?▼

The three-layer token system separates design values into primitive, semantic, and component layers. Primitive holds raw values, semantic provides purpose-driven aliases, and component defines specific overrides, eliminating duplicate values and fragile component theming in web UIs.

Does this design token system support WCAG AA contrast validation for dark mode?▼

Yes, the design token system supports WCAG AA contrast validation. It defines light and dark theme color palettes and documents accessibility validation requirements to ensure component state specifications meet contrast standards.

Can I define spacing and typography scales for component state specifications?▼

Yes, you can define spacing and typography scales alongside radius and shadow values. The system supplies these scales and documents component state specifications, ensuring consistent styling across various interactive states within your UI components.