DEVELOPMENT AND DESIGN
DS4Agents
Role & scope
Ideation, research, content curation, UX/UI Design. Open web guide to documenting a Figma design system and connecting it to AI agents, so they use its components, tokens and rules instead of making them up.
Stack in context
Built on the designtokens101 design system: Figma variables exported in DTCG format and transformed with Terrazzo into CSS variables and the Tailwind CSS v4 theme. Developed in Next.js and TypeScript, with all 53 pages in MDX so content is written and versioned as files, and next-intl to keep it ready for more languages. GitHub Actions checks tokens, build and content on every change, and Vercel handles deployment. All repository work is done with Claude Code, applying the same methodology the guide teaches.
Technologies
Context & problem
AI agents already generate interfaces, but if the design system isn’t documented in a way they can read, they ignore its components and tokens and reinvent them. Figma, Anthropic and Storybook each explain their own tool, many in beta and changing every few months, but none covers the full path from the system to the agent.
- Web guide
- Design system teams
- AI agents
- Figma to code
The problem came up when I finished designtokens101. I had a system with DTCG tokens and components in code, and I wanted Claude Code to use it when building screens. Each source solved one piece: Code Connect on one side, the Figma MCP server on another, library guidelines and design systems in Claude still in beta, and almost nothing on how to fit them together or in what order. That’s where I saw the opportunity: turn that research into a structured guide, with every claim linked to official documentation, my own judgement marked as recommendation, and the methodology tested on my own system before publishing it. Without that path, teams connect an agent to their Figma and get screens with hard-coded values, duplicated components and rules nobody ever explained to it.