Tony GorbProduct Designer & Builder

Token foundations

Build or audit semantic design tokens in OKLCH, light and dark.

Install for
$ npx skills add tonygorb/skills --skill token-foundations

Pick your agents from a list.

Your agent uses it when you say

  • “set up design tokens”
  • “audit the token foundation”
  • “OKLCH colour scales”

What it does

Build the token layer a product's UI stands on, or audit the one it has. Colour in OKLCH, a semantic layer over raw scales, light and dark from day one, small scales for type, space and radius. Structure stays boring so every screen built on it comes out consistent.

How it works

  1. 1Look before you write
  2. 2Ask for the brand inputs
  3. 3Generate the colour primitives in OKLCH
  4. 4Set the other primitive scales
  5. 5Map the semantic layer
  6. 6Add component tokens only where needed
  7. 7Write the theme
  8. 8Audit: compute contrast, then score
  9. 9Report