Skip to content
FossShelf
Home / Categories / For Designers

design.md

Generate UIs effortlessly with AI.

Replaces Supernova

28.90K starsApache-2.0reviewed 29 Jun 2026last commit 6 Nov 2026
Screenshot of design.md

Who it's for

Agent-generated UI in product repos

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.

Design-system handoff

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.

Token regression review

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.

The problem

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.

How it works

Token and rationale format

A DESIGN.md file combines YAML front matter for exact token values with markdown sections that explain the design intent behind those values.

Agent-ready linting

The @google/design.md CLI validates DESIGN.md files and returns structured JSON findings that agents can act on during implementation.

Design drift detection

The diff command compares two DESIGN.md files and reports added, removed, and modified token groups before UI regressions spread.

Export paths for implementation

The CLI can export tokens to Tailwind-oriented JSON, Tailwind v4 CSS variables, and DTCG token JSON for downstream build systems.

Portable markdown contract

Because the format is plain markdown plus YAML, teams can version it beside application code and update it through normal review flows.

Features

  • Token and rationale format
  • Agent-ready linting
  • Design drift detection
  • Export paths for implementation
  • Portable markdown contract

Recommended for this setup

Strengths

  • Clear fit for agent workflows: The project is built specifically for coding agents, which makes it more direct than asking agents to infer design rules from screenshots or broad brand docs.
  • Readable by people and tools: Designers can explain choices in prose while engineers and agents consume exact token values from the same file.
  • Permissive license: Apache-2.0 licensing keeps adoption straightforward for internal tools, commercial products, and agency workflows.

Trade-offs

  • Specification, not a design app: DESIGN.md does not replace Figma, Sketch, or a design review process. It documents implementation rules for agents after design direction exists.
  • Early format discipline required: Teams need to maintain the file as the design system changes, or agents will faithfully follow stale tokens.
  • Best with tokenized systems: The format works best when a team can express its visual identity through named colors, typography, spacing, rounding, and component tokens.

Tech stack

Languages
TypeScript, MDX
Frameworks
—
Databases
—
Tooling
—

FAQ

What is DESIGN.md?

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.

What license does DESIGN.md use?

GitHub metadata reports the DESIGN.md repository as Apache-2.0 licensed.

How do you validate a DESIGN.md file?

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.

Does DESIGN.md replace Figma?

No. DESIGN.md is a repo-friendly contract for agents and implementation workflows, not a visual design canvas.

Similar tools

More in Designers