Skip to content

[GitHub Trending] google-labs-code/design.md

8 relevance
Score Breakdown
technical depth
8
novelty
9
actionability
8
community
7
strategic
6
personal
9

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

Novel format for design system persistence in coding agents, highly actionable and aligned with AI-assisted development.

AI/ML github.com
A format specification for describing a visual identity to coding agents. DESIGN.md gives agents a persistent, structured understanding of a design system. - google-labs-code/design.md
Summary

Google's DESIGN.md specification introduces a structured format that combines YAML front matter for machine-readable design tokens with Markdown prose for human-readable rationale, enabling coding agents to persistently understand and apply a visual identity. The spec includes a linting tool (`npx @google/design.md lint`) that validates tokens, checks WCAG contrast ratios, and outputs structured JSON findings, plus a diff command for regression detection. Token types cover colors, typography, spacing, and component references, with a defined section order and support for CSS color formats like hex, `rgb()`, and `oklch()`.

Author

google-labs-code