ui-convert-token-miner

Installation
SKILL.md

Token Miner

Extracts design tokens (colors, fonts, spacing, shadows, radii) from project style sources. Produces tokens.json with normalized, deduplicated token values using short-key IDs.

Non-negotiable Rules

  1. Deduplicate — same hex color appearing in 3 files = 1 color token.
  2. Normalize — all colors to lowercase hex6 (#1a1a2e), all spacing to px numbers.
  3. Short IDs — colors: c1, c2..., fonts: f1, f2..., spacing: s1, s2...
  4. Trace source — every token records where it was found (file + property).
  5. Token table is additive — re-running adds new tokens, never removes existing ones.

Extraction Sources

CSS / SCSS / LESS

Related skills
Installs
1
First Seen
Apr 7, 2026