
Description
Every time you ask an AI to change a UI you re-explain the brand colours, type sizes and corner radii, and a different agent means starting over. DESIGN.md is a file format from Google Labs that puts machine-readable design tokens and human-written rationale in one Markdown file, so any coding agent knows what the design is and why.
YAML front matter holds exact values for colour, typography, radius and spacing; the prose explains the choices. Apache-2.0, built alongside Google Stitch but usable with any agent.
Exact tokens: Colours, type scale, radii and spacing as YAML, so agents get values instead of vague descriptions.
Rationale in prose: Explains why each choice was made, so agents can reason the same way in new cases.
Persistent: One file in the project keeps the design brief across sessions and tools.
Open format: A public specification tied to no single agent or editor.
YAML front matter holds exact values for colour, typography, radius and spacing; the prose explains the choices. Apache-2.0, built alongside Google Stitch but usable with any agent.
Features
Exact tokens: Colours, type scale, radii and spacing as YAML, so agents get values instead of vague descriptions.
Rationale in prose: Explains why each choice was made, so agents can reason the same way in new cases.
Persistent: One file in the project keeps the design brief across sessions and tools.
Open format: A public specification tied to no single agent or editor.
