Decision
Why not pick colors manually
Agents drift when tokens are vague. A machine-readable palette with Figma variable names gives both humans and AI the same source of truth.
Eliminating manual color picking from the workflow

Overview
I paired Claude and GPT to automate HEX extraction from Figma variables into a project-ready design token document — removing a repetitive step that slows down AI-assisted implementation.
The problem
When matching Figma exactly, every color must be named, hex-coded, and mapped to CSS variables. Doing that by hand for each project is error-prone and breaks flow when directing AI agents.
Approach
I used GPT to parse and normalize color lists from Figma variable exports, then Claude to structure them into a design-system document with semantic names, hex values, and Figma variable cross-references.
The output became docs/design-system.md — a stable reference agents and I could both cite during the portfolio build.
Decision
Agents drift when tokens are vague. A machine-readable palette with Figma variable names gives both humans and AI the same source of truth.
Learning
Small automation wins compound: token extraction took minutes instead of an hour, and downstream prompts became more precise.
Outcome
The portfolio build referenced Primary dark (#333333), Page cream (#f4f0e5), and Text secondary (#626c81) consistently — because they were documented once and reused everywhere.