Documentation
Everything you need to know about DESIGN.md and design extraction for AI coding agents.
What is DESIGN.md?
A DESIGN.md is a plain-text design system document that AI coding agents read to generate consistent UI. Think of it as the design counterpart to AGENTS.md orREADME.md — humans and agents can both read it, edit it, and enforce it.
Under the hood, DESIGN.md has two layers:
- YAML front matter — machine-readable design tokens (colors, typography, spacing)
- Markdown body — design rationale explaining how and why to apply the tokens
What's Inside
A DESIGN.md typically includes eight canonical sections:
How to Get One
Extract from URL
Get design system from website URLs instantly using our online extraction tool.
Extract now →Chrome Extension
Use our design.md generator Chrome extension directly in your browser toolbar.
Get extension →Browse Catalog
Find pre-analyzed specs like Airbnb design system, Vercel design system, and Geist design system.
Browse catalog →Write Your Own
Follow the spec below to create a DESIGN.md from scratch.
See best practices →Using with AI Agents
Three simple steps:
- 1Get or create your DESIGN.md file
- 2Place it in your project root or
docs/folder - 3Tell your AI agent: “Use DESIGN.md as the style guide”
# Tell your AI agent:
"Read DESIGN.md and use it as the style reference
for all UI components in this project."Supported Tools
Any AI coding tool that reads markdown files can use DESIGN.md:
Best Practices
- Keep DESIGN.md in the project root for easy discovery
- Update it when your design changes — it's a living document
- Use it as the single source of truth for visual decisions
- Pair with AGENTS.md for behavior rules + style rules
- Include both tokens (YAML) and rationale (markdown prose)
- Reference it in your AI prompts explicitly