Agent-generated UI in product repos
Use DESIGN.md when coding agents regularly create pages or components and need a shared visual identity file.
Skip if:
You only use agents for backend code or one-off prototypes with no design-system expectations.

Open source alternative to Supernova
Last verified
Connect coding agents to design-system tokens and rationale through DESIGN.md files. Apache-2.0 licensed with an npm CLI for lint, diff, and export.
Use DESIGN.md when coding agents regularly create pages or components and need a shared visual identity file.
You only use agents for backend code or one-off prototypes with no design-system expectations.
Use it to turn brand rules and component choices into a file that engineering agents can lint and apply.
Your team requires designers to approve every pixel directly in a visual editor before implementation.
Use the diff command when design tokens change and you want agents to explain what shifted.
Your design tokens already have mature internal validation and no agent handoff gap.
Coding agents can generate usable interfaces, but they often lose visual consistency because design context lives outside the repo or inside one-off prompts. Teams need a source file that gives agents exact token values and the reasoning behind them, so every generated component follows the same visual system.
A DESIGN.md file combines YAML front matter for exact token values with markdown sections that explain the design intent behind those values.
The @google/design.md CLI validates DESIGN.md files and returns structured JSON findings that agents can act on during implementation.
The diff command compares two DESIGN.md files and reports added, removed, and modified token groups before UI regressions spread.
The CLI can export tokens to Tailwind-oriented JSON, Tailwind v4 CSS variables, and DTCG token JSON for downstream build systems.
Because the format is plain markdown plus YAML, teams can version it beside application code and update it through normal review flows.
Figma is the better place to explore layouts visually, collaborate on mockups, and hand off designed screens. DESIGN.md is better when the design direction already exists and coding agents need a durable file they can read inside the repo. Use Figma for visual creation; use DESIGN.md to preserve design-system rules during agent-assisted implementation.
DESIGN.md is a markdown-based specification for describing a design system to coding agents. It combines YAML tokens with prose rationale so agents know both the exact values and the design intent.
GitHub metadata reports the DESIGN.md repository as Apache-2.0 licensed.
The official README shows the @google/design.md CLI. Run npx @google/design.md lint DESIGN.md to validate a file and return structured findings.
No. DESIGN.md is a repo-friendly contract for agents and implementation workflows, not a visual design canvas.
Alternative to
Tailwind UI
Browse and install production-ready shadcn/ui components via CLI
Alternative toFlightradar24
Real-time global intelligence on a 3D globe
Alternative to
Refero
Real production sites as design reference for AI coding agents
Alternative to
remove.bg
Background removal that runs in your browser, never uploads
Alternative to
Remotion
Turn HTML and CSS into rendered MP4 videos, built for AI agents.
Production-ready agent skills for Claude Code, Cursor, and Codex
Featured
Alternative to
Grok Bot
AI teammates you own: your keys, your model, your machine.
Alternative to
Superhuman
AI email assistant that drafts replies and clears your inbox
Alternative toClaude Managed Agents
Open-source agent deployment API. Self-host or use Omnara Cloud.
The projects we add and every new guide. Free, unsubscribe any time.