What is DESIGN.md?
TL;DR
A Markdown file with YAML front matter that combines machine-readable design tokens with human-readable design rules. AI agents read it from your project root to apply consistent visual standards across every generated component — colors, typography, spacing, constraints. No repeated prompts, no drift.
Your AI agent generates different UI every time because it has no memory of your design decisions. Different colors on Monday, different spacing on Tuesday, a completely new button style by Friday. You paste the same instructions into every prompt. It ignores half of them.
DESIGN.md fixes this. It's a single Markdown file — machine-readable design tokens in YAML front matter plus human-readable design rules in prose — that lives in your repo root. The agent reads it on every interaction. No repeated prompting. No drift. One file, consistent output. The official DESIGN.md specification is open-source (Apache 2.0), maintained by Google Labs, and has 26k+ stars on GitHub.
DESIGN.md is to visual design what AGENTS.md is to code conventions. Persistent context the agent checks every single time — not a one-off prompt that gets forgotten three messages later.
Created by
Google Labs
GitHub Stars
26k+ ★
License
Apache 2.0
Status
Alpha