cyberneticlibrary

Build token platform artifacts

token-buildskillsetup L2211
plugin87/ux-ui-agent-skills
What it does

Transform DTCG tokens into platform-ready artifacts for multiple targets

Best for

Maintaining a single source of truth for design tokens and auto-generating all platform outputs.

Inputs
  • · tokens/*.json in DTCG format
  • · Style Dictionary or Tokens Studio config
Outputs
  • · CSS :root vars
  • · Tailwind @theme
  • · typed JS/TS
  • · iOS Asset Catalog
  • · Android theme
Requires
  • · Style Dictionary or Tokens Studio
  • · scripts/validate_tokens.py
Preconditions

DTCG tokens/*.json authored and validated, token-build config in place

Failure modes

Alias resolution fails, dark/brand outputs are full duplicates instead of deltas

Trust signals
  • · CI gate prevents stale committed artifacts
  • · no unresolved aliases after validation