design-tokens

Create semantic color, spacing, and component design tokens for frontend UI development.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/djimontyp/task-tracker --skill design-tokens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-tokens
Source: https://github.com/djimontyp/task-tracker/tree/main/.claude/skills/design-tokens
Command: npx skills add https://github.com/djimontyp/task-tracker --skill design-tokens

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates design inconsistencies and technical debt by providing a centralized design system with strict enforcement rules for colors, spacing, and components.

Core Features & Use Cases

  • Semantic Color System: Pre-defined color tokens for success, warning, error, and info states.
  • Strict Spacing Grid: Enforced 4px-based spacing system to maintain visual consistency.
  • Component Patterns: Ready-to-use patterns for badges, cards, and other UI elements.
  • Use Case: When building a new dashboard component, use this Skill to ensure all colors, spacing, and interactive states follow the established design system standards.

Quick Start

Use the design-tokens skill to create a connected status badge with proper semantic colors and spacing.

Frequently Asked Questions about design-tokens

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

FAQPage Schema
How do I enforce consistent spacing and colors across React components?

Design tokens provide a centralized system of predefined semantic colors, spacing values, and component patterns that enforce consistency across your React UI. This Skill creates and maintains those tokens—colors for success, warning, error states; a 4px-based spacing grid; and patterns for badges and cards—with integrated ESLint rules that block raw Tailwind colors and non-standard spacing.

Can I use design tokens with Tailwind CSS?

Yes. This Skill integrates with Tailwind by defining semantic color and spacing tokens, then enforcing their use through ESLint rules that prevent raw Tailwind colors and odd spacing values. It works within your existing Tailwind setup to maintain design system compliance.

What's the best way to eliminate design inconsistencies in a dashboard UI?

Use a design token system to centralize colors, spacing, and component patterns in one place, then enforce adoption through linting rules. This Skill supplies ready-to-use patterns for badges and cards, semantic color states, and a strict 4px spacing grid to keep all dashboard components aligned.

How do I set up a 4px spacing grid for my UI components?

This Skill defines and enforces a 4px-based spacing grid as part of its design token system. It integrates ESLint rules that block spacing values that don't align with the grid, ensuring visual consistency without manual calculation or review.

Do I need to manually enforce design system rules, or can this be automated?

Design tokens can be enforced automatically through ESLint rules. This Skill includes built-in rules that block raw Tailwind colors, misaligned spacing, and non-standard heroicons, removing the need for manual code review to catch design system violations.

What happens if my team uses colors or spacing outside the design system?

The integrated ESLint rules will flag violations—raw Tailwind colors, non-4px spacing, and unauthorized icons—during development. This prevents inconsistencies from reaching production and helps your team stay within the defined design system boundaries.