AI agents now help build our product, in Figma and in code. They follow what they are given to the letter, so a vague guideline quickly turns into inconsistent UI. I teach them our design system: principles, foundations and the real components, in Markdown files and skills we extend whenever the work needs it.
The AI applies our system based on the Markdown files and skills we create. This is work in progress: we add new files and skills as the need comes up. A glimpse into some of them.
Connected to Figma, the agent works from structure, not screenshots. It names the layers after our components and checks our designs for design system consistency: variables and tokens applied, and only components used on the page.
“Name the layers after our components.”
Layers · afterCardCardHeaderTitleMetaCardFooterButton“Check this page for design system consistency.”
Consistency checkThat work in Figma pays off when we develop with AI. With named layers, tokens and only our components on the page, the agent knows what it is looking at, and with copies of our repositories it builds with the real components.
“Build this card with our components.”
PublicationCard.tsx<Card> <CardHeader title={publication.title} /> <MediaGallery items={publication.figures} loop /> <CardFooter> <Button variant="accent">Read</Button> </CardFooter></Card>A trained agent only helps if people know how to work with it. Product designers learn to hand off so agents read their designs correctly, there is documentation on how designers use AI skills, and our foundations and design system skills are shared with designers and developers. Along the way, I keep pushing for tooling that links design and code more thoroughly.