AI Product Design · 4 min read
Your Design System Is the Prompt
Coding agents build interfaces from whatever context they get. A design system written only for people now has a second reader that needs its rules spelled out.
Most developers now write code with AI. Figma's AI report found that 68 percent do. The same report found that only 32 percent of designers and developers trust what comes out. That gap is a design problem, not a model problem. An agent, meaning an AI tool that reads files, calls other tools and writes code for a person, builds from whatever context it is given. Give it nothing, and it guesses. Give it your design system, and the system becomes the brief for every screen it writes.
The new builder
The tools now exist to hand that brief over. The Model Context Protocol (MCP) is an open standard that lets an AI tool connect to other software. Figma's MCP server uses it to pass design context to coding agents.
Ana Boyer, a designer advocate at Figma, sets out what travels. When an agent inspects a frame, the server sends the components, styles and variables behind it. If the team has set up Code Connect, which maps each Figma component to the real component in the codebase, the agent can use the code that already exists instead of writing a lookalike. Annotations about accessibility, interaction behavior or content carry into the generated code. The server can also scan a codebase and write a rules file: token definitions, component libraries, style hierarchies and naming conventions, in a form an agent reads.
Her summary is one line: "Design systems are the lingua franca between design and AI."
Why agents drift
An agent without context does what a capable newcomer does on day one. It writes plausible code from scratch. A new button that looks almost like yours. A hex value typed by hand. An icon pulled from a generic set because its name matched the request.
Each choice looks fine alone. Together they are drift: the slow spread of near-copies that makes a product feel stitched together. People spent years building design systems to stop drift between human teams. Agents can produce it faster than any team, because they never get tired of starting over.
The trust gap in Figma's report is what drift feels like from the inside. The code runs. It just doesn't belong.
Cyborg literacy
Design systems were written for people, and people infer. A designer sees three examples and gets the rule. An engineer knows that the team never uses red for information, even though no page says so.
A coding agent infers too, but from what is written down. It reads names, mappings and explicit rules. What a person absorbs from examples, an agent needs stated.
That is the real shift. A design system now has three readers: the person, the agent, and the person working with an agent. The skill of writing for all three is cyborg literacy: writing a system that each reader can use without the others in the room. Unwritten rules were always a weakness. With agents building, they become defects.
The case against
The strongest counterpoint goes like this. If an agent can generate any interface on demand, why keep a design system at all? Let it build a fresh, fitted interface for each task. Generative UI is moving that way already.
It is a fair point, and part of it is right. Not every screen needs a permanent component. But it misses why systems exist. People learn a product by its patterns. A button that moves, a status that changes color, an icon that means one thing here and another there: each one makes the person relearn the product. Fresh generation without constraint gives you something that works once and fits nothing.
A system also makes review possible. You can check an agent's output against a rule. You cannot check it against a feeling. As more code is written by agents, the rule is the only scalable form of review you have.
What to write down
Start with the rules people carry in their heads:
- **One name, one meaning.** If two components share a name, or one has two names, the agent will pick wrong.
- **Map design to code.** Every component in the design file should point to its component in the codebase.
- **Write rules as rules.** "Warnings use the Severity frame and never rely on color alone" is a rule. "Keep warnings subtle" is a mood.
- **Say why.** An annotation that explains the reason lets the agent handle the case you didn't foresee.
- **Put icon meaning in the manifest.** The name of the file is not enough.
Icon lens
An agent picks icons the way a novice does: by keyword and surface look. Ask for "assign" and it finds a person glyph. Ask for "blocked by" and it finds a chain. Digital Sanskrit gives a better path. The manifest names the root a glyph belongs to, what it means, and which compounds it may join, such as Assigned Task (niyojita) or Dependency (apeksha). With that written down, icon choice stops being a search and becomes grammar. The agent doesn't need taste. It needs the rules the taste came from.
Try this
**Goal:** Make your icon set readable to a coding agent.
**Steps:** 1. Pick ten icons your product uses most. 2. For each one, write its single meaning, the root it belongs to, and one case where it must not be used. 3. Put that text in the manifest or rules file your agent reads. 4. Ask an agent to build one screen twice: once without the file and once with it. 5. Count how many icons in each version match their written meaning.
**Check:** With the rules in place, every icon matches its documented meaning, and the agent invents no new glyphs.
**Reference:** Appendix B.7, Headless architecture (the manifest); Vol. IV closing chapter.
Sources
- [Design Systems and AI: Why MCP Servers Are the Unlock | Figma Blog](https://www.figma.com/blog/design-systems-ai-mcp/)