token-validator

Community

Enforce design tokens in code.

Authorkaelig
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and flags hardcoded visual values (like colors, spacing, and typography) in UI code, promoting the consistent use of design tokens.

Core Features & Use Cases

  • Hardcoded Value Detection: Scans code for direct use of colors, spacing, typography, and border-radius values.
  • Token Suggestion: Recommends appropriate design token replacements with confidence scores.
  • Use Case: A developer is writing new UI components and accidentally uses a hardcoded hex color like #333333 instead of the design system's color.text.primary token. The Token Validator flags this, suggests the correct token, and provides a confidence score.

Quick Start

Scan the project for hardcoded values and suggest design token replacements.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: token-validator
Download link: https://github.com/kaelig/react-craft/archive/main.zip#token-validator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.