DESIGN.md: Google's Design System Format for Coding Agents
GitHub Repo
Apache-2.0
December 2, 2026 at 01:42 PM
0 views

DESIGN.md: Google's Design System Format for Coding Agents

@google-labs-codeProject Author

What DESIGN.md is

DESIGN.md is a file format, plus a small command-line tool, from Google Labs. The repository description calls it "a format specification for describing a visual identity to coding agents", and the README says the file "gives agents a persistent, structured understanding of a design system". In practice it is a Markdown file that sits in a project next to the code, in the same spirit as AGENTS.md: an agent reads it before it writes UI, and the file tells it which colours, type scale, spacing and component styles belong to the product and why.

The format has two layers. Machine-readable design tokens live in YAML, either as front matter at the top of the file or, in newer versions of the spec, as fenced yaml blocks inside each section. Human-readable rationale lives in ordinary Markdown ## sections. The README puts the split simply: "Tokens give agents exact values. Prose tells them why those values exist and how to apply them." The repository's PHILOSOPHY.md goes further and argues that the prose matters more than the numbers: "The quality of a generated design is determined less by the precision of its values than by how clearly the intent is described."

The second half of the project is the CLI, published on npm as @google/design.md. It lints a DESIGN.md file against the spec (broken token references, WCAG contrast on component colour pairs, section order, likely typos), diffs two versions of a file at token level, exports tokens to Tailwind and W3C Design Tokens (DTCG) formats, and prints the spec itself so it can be pasted into an agent prompt. All output is JSON by default, because the intended caller is an AI agent as much as a person. The CLI's own help line reads "Agent-first CLI for DESIGN.md — the hands and eyes for design system work."

The audience is front-end developers and designers who use coding agents for UI work and keep getting generic output, design-system teams who want one plain-text source that both people and agents can review in a pull request, and tool builders who want a documented format to read or write. The project's homepage points at Google's Stitch documentation, which suggests the format grew out of that product, but the repository itself is tool-neutral and the spec does not depend on any Google service.

How the format is structured

The full spec lives in docs/spec.md, which is generated from an MDX source and a TypeScript config inside the CLI package (the header says "Do not edit directly. Run bun run spec:gen to regenerate."). The spec version string is alpha. An abridged copy of the README's condensed token schema (group and omitted lines left out) shows the shape of the YAML layer:

version: <string>          # optional, current: "alpha"
name: <string>
description: <string>      # optional
colors:
  <token-name>: <Color>
typography:
  <token-name>: <Typography>
rounded:
  <scale-level>: <Dimension>
spacing:
  <scale-level>: <Dimension | number>
motion:
  <token-name>: <Motion>
components:
  <component-name>:
    <token-name>: <string | token reference>

The current spec on main also allows an omitted list (to silence warnings about sections left out on purpose) and optional nested groups inside colors, typography, rounded and spacing, which are flattened to dot-separated paths such as colors.light.surface. The value types are deliberately few:

  • Color: any CSS colour string. The spec lists hex (including 8-digit with alpha), named colours, rgb(), hsl(), hwb(), oklch(), oklab(), lch(), lab() and color-mix(in srgb, ...), and says all of them are converted to sRGB for contrast checks, while hex "remains the recommended default".
  • Dimension: a number with px, em or rem. Nothing else; pt and % are rejected.
  • Typography: an object with fontFamily, fontSize, fontWeight, lineHeight (a dimension or a unitless multiplier), letterSpacing, fontFeature and fontVariation.
  • Duration and Motion: added on main after the last npm release, a motion token has duration, delay and timingFunction.
  • Token reference: {path.to.token}, for example {colors.primary}. Outside components a reference must point at a single value; inside components it may point at a composite such as a typography token.

Components are flat maps from a component name to a fixed set of properties: backgroundColor, textColor, typography, rounded, padding, size, height and width. States such as hover or pressed are separate entries with a related name rather than nested variants. The README's example:

components:
  button-primary:
    backgroundColor: "{colors.tertiary}"
    textColor: "{colors.on-tertiary}"
    rounded: "{rounded.sm}"
    padding: 12px
  button-primary-hover:
    backgroundColor: "{colors.tertiary-container}"

The Markdown layer has a canonical order of ten ## sections on main: Overview (alias "Brand & Style"), Colors, Typography, Layout, Elevation & Depth, Shapes, Motion & Micro-interaction, Voice & Content Strategy, Components, and Do's and Don'ts. Any of them can be left out, but the ones present should appear in that order. Unknown headings such as ## Iconography are preserved rather than rejected. The spec's "Consumer Behavior for Unknown Content" table sets the rules a tool reading the file should follow, including two hard errors: a duplicate section heading and a duplicate top-level YAML key should both reject the file. The hands-on section below checks how the shipped linter handles those two cases.

The newest addition is external references. An inline code span whose whole content looks like @components/button.html or @guides/color.md#contrast points an agent at another file, resolved from the directory holding DESIGN.md. The spec says a leading / or a path that escapes that directory is an error, and a missing target is a warning. The README's example of the pattern:

## Components

- **Buttons** → `@components/button.html` — `button-primary`, `button-secondary`, `button-tertiary`, `button-icon`
- **Cards** → `@components/card.html` — `card-elevated`, `card-outlined`

Key features of the format and CLI

  • One file, two readers. YAML tokens give an agent exact values and the Markdown prose carries intent, so the same file can be reviewed by a designer and parsed by a tool.
  • Interleaved token blocks. Tokens can sit in the front matter or in a yaml block inside the section they describe. All blocks are merged into one tree, and each top-level key may appear only once.
  • Grouped tokens. Light and dark palettes or responsive type scales can be nested under group names such as light, dark, sm and lg. The spec says groups "carry no behavior" and can nest up to 20 levels.
  • Eleven lint rules. broken-ref (error), plus warnings for missing-primary, contrast-ratio, orphaned-tokens, missing-typography, section-order, unknown-key and token-like-ignored, and info-level token-summary, missing-sections and omitted-rules.
  • WCAG contrast check. Every component with both backgroundColor and textColor is checked against the AA minimum of 4.5:1, after converting any CSS colour format to sRGB.
  • Typo detection. A misspelled top-level key such as colours gets a "did you mean" warning, and a second rule warns when an unknown key holds values that look like tokens and would be dropped by exports.
  • Token-level diff. diff lists added, removed and modified tokens per category and flags a regression when the newer file has more lint errors or warnings, with exit code 1 for CI gates.
  • Exports. Tailwind v3 theme.extend JSON, a Tailwind v4 @theme CSS block, W3C DTCG tokens.json, and plain CSS custom properties on :root (the last one is in the CLI but not in the README).
  • Spec on demand. spec prints the full spec as Markdown, optionally with the rules table, or the rules alone as JSON, which is handy for injecting into a system prompt.
  • Library API. @google/design.md/linter exports a lint() function that returns findings, a summary and the parsed design system for tools written in TypeScript or JavaScript.
  • Offline by design. The CLI reads local files and writes to stdout. Nothing in the published bundle makes network requests, which the hands-on run confirmed at the system-call level.

Getting started

The CLI needs Node.js 18 or newer (the package declares "node": ">=18.0.0"). The README's quickest path runs the linter through npx:

npx @google/design.md lint DESIGN.md

Or install it into a project:

npm install @google/design.md

The package installs two binaries, design.md and designmd, that point at the same entry file. The README explains that on Windows the .md suffix collides with the Markdown file association, so PowerShell users should call the dot-free alias:

npx -p @google/design.md designmd lint DESIGN.md

The same advice applies inside package.json scripts, where the README suggests:

"design:lint": "designmd lint DESIGN.md"

A minimal file looks like the README's "Heritage" example. Its front matter starts like this, followed by ## Overview and ## Colors prose sections:

---
name: Heritage
colors:
  primary: "#1A1C1E"
  secondary: "#6C7278"
  tertiary: "#B8422E"
  neutral: "#F7F5F2"
typography:
  h1:
    fontFamily: Public Sans
    fontSize: 3rem

Comparing two versions of a design system:

npx @google/design.md diff DESIGN.md DESIGN-v2.md

Exporting tokens for a build:

npx @google/design.md export --format json-tailwind DESIGN.md > tailwind.theme.json
npx @google/design.md export --format css-tailwind DESIGN.md > theme.css
npx @google/design.md export --format dtcg DESIGN.md > tokens.json

Printing the spec for an agent prompt:

npx @google/design.md spec
npx @google/design.md spec --rules
npx @google/design.md spec --rules-only --format json

And from code, per the README's programmatic example:

import { lint } from '@google/design.md/linter';

const report = lint(markdownString);

console.log(report.findings);       // Finding[]
console.log(report.summary);        // { errors, warnings, info }
console.log(report.designSystem);   // Parsed DesignSystemState

The comment on the summary line is out of date; the hands-on section shows what the object actually contains. If the export target is Tailwind, Tailwind v4 vs Panda CSS and Tailwind CSS vs CSS Modules cover the styling side of that decision.

Hands-on: running the CLI on 2 December 2026

On 2 December 2026 the published package @google/design.md 0.4.0 (the npm latest tag, published 27 July 2026) was installed into an empty folder on an x86-64 Linux VM with Node.js 22.23.5 and npm 10.9.9. For comparison, the repository at commit db977b3 (17 November 2026, the last push on 18 November UTC) was built from source with Bun 1.4.4 using the package's own build script; that build reports itself as 0.4.1. Test inputs were the README's Heritage example saved as DESIGN.md, a deliberately broken file, several small edge-case files, the three files under examples/, and the DESIGN.md in the TypeUI extractor's repository. No browser, Stitch account or coding agent was involved.

Install and package contents

CheckObserved
npm install @google/[email protected]Finished in about 6.4 seconds; 94 packages audited, node_modules 16 MB, of which the package itself is 1.8 MB (npm reports 58 files, 1,608,973 bytes unpacked). Binaries design.md and designmd appeared in node_modules/.bin
npm audit"2 high severity vulnerabilities": zod <4.6.6, advisory GHSA-mrhx-c7xc-m3w5 ("Zod can exhaust memory while validating oversized constrained collections"), reported as "No fix available" because 0.4.0 depends on zod ^3.24.0. The source on main has moved to zod ^4.6.7, but that change is not published
npm view @google/design.md licenseEmpty. The published package.json has no license field, although a LICENSE file (Apache-2.0) is in the tarball
design.md --version0.4.0; the source build printed 0.4.1. npx -y -p @google/[email protected] designmd --version also printed 0.4.0, exit 0
design.md --helpExit 0. Commands lint, diff, export, spec. The export description names five formats, including css-vars

Linting the README example and a broken file

design.md lint DESIGN.md on the Heritage example exited 0 with a single info finding from token-summary: "Design system defines 4 colors, 3 typography scales, 2 rounding levels, 2 spacing tokens." The summary was errors: 0, warnings: 0, infos: 1. A larger file took about 0.12 seconds of wall time.

The broken file had a misspelled colours key, no primary colour, a 16pt font size, a component pointing at a non-existent {rounded.lg}, an unsupported borderColor property, grey text on grey (#888888 on #777777), and ## Colors placed before ## Overview. The linter exited 1 with 2 errors, 6 warnings and 3 infos:

SeverityRuleMessage (abridged)
error(none given)'16pt' has an invalid unit 'pt'. Only px, rem, and em are allowed.
errorbroken-refReference {rounded.lg} does not resolve to any defined token.
warningbroken-ref'borderColor' is not a recognized component sub-token, followed by the list of valid ones
warningmissing-primaryNo 'primary' color defined. The agent will auto-generate key colors, reducing your control over the palette.
warningcontrast-ratiotextColor (#888888) on backgroundColor (#777777) has contrast ratio 1.26:1, below WCAG AA minimum of 4.5:1.
warningsection-orderSection 'Colors' appears before 'Overview', which is out of order, followed by the expected order
warningunknown-keyUnknown key "colours" — did you mean "colors"?
warningtoken-like-ignored"colours" looks like a design-token map but is not a recognized schema key, and "will be silently ignored by export commands"
infotoken-summary, missing-sections (x2)Token counts, and no spacing or rounded section

The source build produced the same counts and exit code. The only differences were that its section-order and token-like-ignored messages include the new Motion and Voice sections and the motion key. One detail matters for anyone parsing the JSON: the invalid-unit error has no rule field, unlike every other finding.

Commands, exit codes and edge cases

Invocation (0.4.0)ResultExit
diff DESIGN.md DESIGN-v2.md (tertiary changed, accent added)colors.added: ["accent"], modified: ["tertiary"], five categories (colors, typography, rounded, spacing, components), regression: false. This matches the README sample0
diff DESIGN.md BROKEN.mddelta of 2 errors and 6 warnings, regression: true1
diff where only prose changed and ## Colors was renamedEvery token list empty, regression: false; nothing in the output mentions the prose0
export --format each of json-tailwind, tailwind, css-tailwind, dtcg, css-varsAll succeeded. Hex values were lower-cased. tailwind output was byte-identical to json-tailwind. css-vars wrote only colours, spacing and rounded (as --rounded-*), no typography. --prefix ds produced --ds-color-primary0
export --format svg{"error":"INVALID_FORMAT", ...} listing the five valid formats1
lint nope.md, export ... nope.md, diff nope.md ...Error: "nope.md" not found. Create a DESIGN.md file or pass "-" to read from stdin.2
cat DESIGN.md | design.md lint - (the README's stdin form)Printed the command's usage text and ERROR Missing required positional argument: FILE. The same happened for export and on the source build1
lint -- - or lint /dev/stdin with piped inputWorked, same output as the file path0
lint --format markdownA Markdown report ("# Lint Report", counts, a findings list). --format text and --format yaml silently fell back to JSON0 / 1 by findings
spec; spec --rules-only --format json378 lines of Markdown from 0.4.0 (625 from the source build); a {"rules": [...]} object with the same 11 rule names in both versions0
File with no front matter or YAML blocksOne warning: "No YAML content found. Expected frontmatter (---) or fenced yaml code blocks."0

Spec rules versus linter behaviour

Four small files tested the spec's "reject the file" rules and the newest features on both builds:

  • Duplicate ## Colors heading: no finding of any kind on 0.4.0 or the source build, exit 0. The spec says this should be an error that rejects the file.
  • colors in both the front matter and a yaml block: a single warning, "Section 'colors' is defined in both frontmatter and code block 1.", exit 0 on both builds. The spec calls a duplicate top-level key an error.
  • colors.primary-light next to colors.primary.light: an error on both builds, "Grouped colors token flattens to 'primary-light', which is already defined." That matches the spec.
  • External references @../secret.txt and @/etc/passwd.txt: ignored entirely by 0.4.0 (exit 0). The source build reported two broken-ref errors ("resolves outside the DESIGN.md directory") and exit 1, as the new spec text says.

A file using interleaved yaml blocks, grouped light/dark colours, an oklch() primary and a motion block showed where the published package lags the spec. 0.4.0 parsed the interleaved blocks and grouped colours, but warned that "motion" looks like a design-token map but is not a recognized schema key, and export --format css-tailwind failed with INVALID_TOKEN_NAME (Token name "light.surface" is not a valid CSS identifier for Tailwind v4 export), exit 1. The source build counted "1 motion token", exported --color-light-surface without complaint, and warned that @components/button.html did not exist. In both builds the oklch(62% 0.18 250) primary came out of every export as #0089ed, and its contrast against white was reported as 3.62:1. On the source build, motion tokens appeared in json-tailwind output as transitionDuration, transitionDelay and transitionTimingFunction, but not in css-tailwind, css-vars or dtcg, and diff did not report a changed motion duration at all.

Examples, API, tests and network behaviour

  • Bundled examples. paws-and-paths and totality-festival linted clean (one info each). atmospheric-glass, a glassmorphism system, produced four contrast-ratio warnings of 1.00:1 for white text on semi-transparent white backgrounds such as #ffffff1a. The check does not account for whatever sits behind a translucent surface, so glass-style palettes read as failures.
  • Library API. Importing lint from @google/design.md/linter in an ES module worked. The returned object had the keys designSystem, findings, summary, tailwindConfig, sections and documentSections, and the summary key is infos, not info.
  • DTCG output. 0.4.0 emitted typography with only fontFamily and fontSize when the source had nothing else. The source build adds a letterSpacing of 0 px, which the DTCG format requires, per a fix merged in November.
  • Test suite. bun test in packages/cli on the source checkout: 405 pass, 1 skip, 0 fail, 1,040 expect() calls across 40 files, in about 1.9 seconds. CI pins Bun 1.3.9; this run used 1.4.4.
  • Network and telemetry. strace on lint and export recorded no AF_INET sockets or connects. The same commands ran normally inside an unshare -n namespace with no network. With HOME pointed at an empty folder, nothing was written there. The only URL in the bundled JavaScript is the DTCG $schema string written into exports. No telemetry code was found.

Not exercised: Windows and the designmd workaround on PowerShell, any coding agent actually consuming a DESIGN.md (the point of the format, but not something a linter run can measure), the Stitch product on the homepage (unreachable from the test VM), Tailwind builds using the exported themes, and Figma or Style Dictionary imports of the DTCG file.

Where the README, spec, code and registry disagree

  • npm is four months behind main. The registry's newest version is 0.4.0 (27 July 2026). main has a "release: 0.4.1" commit dated 6 November 2026 and packages/cli/package.json says 0.4.1, but there is no 0.4.1 tag, GitHub release or npm version. Since then the spec gained Motion, Voice & Content Strategy, grouped tokens for all categories and external references. The README on GitHub documents all of this, so a reader following it with npx @google/design.md gets a CLI that warns about motion and ignores @-references.
  • The README inside the 0.4.0 tarball is older than 0.4.0. It says the linter "runs seven rules" while the CLI ships eleven, shows "info": 1 in the sample output, and describes colours as "# + hex (sRGB)". The 0.4.0 release notes say the README was corrected to infos and eleven rules, and the GitHub copy is.
  • Stdin does not work as documented. The README says "All commands accept a file path or - for stdin" and shows cat DESIGN.md | npx @google/design.md lint -. On 0.4.0 and the source build, a bare - is treated as a missing argument and the command exits 1. readInput() in utils.ts does handle "-", so the argument parser appears to drop it before it gets there; -- - works.
  • The README's lint sample cannot happen. It shows a contrast-ratio "warning" whose message says the pair "passes WCAG AA" at 15.42:1. In the run, a passing pair (the same #ffffff on #1A1C1E) produced no contrast finding at all, and the rules table describes the rule as flagging pairs "below WCAG AA minimum".
  • The diff does not look at prose. The README says diff detects "token-level and prose regressions". Changing prose and renaming a section produced no output difference, and diff.ts compares only token maps and lint counts. On the source build it also skips motion.
  • Original colour formats are not preserved on export. The spec says "The original format is preserved for display and export." An oklch() value was exported as a hex string by every format tested.
  • Duplicate headings and duplicate keys are not errors. The spec's consumer table says both should reject the file. The linter is silent on duplicate headings and only warns on a duplicated top-level key.
  • Undocumented options. --format css-vars with --prefix exists in the CLI, the help text and the 0.4.0 release notes, but not in the README's export table. lint --format markdown works while the README lists only json and the help says "json or text"; text returns JSON.
  • The summary comment in the API example says { errors, warnings, info }; the object has infos.
  • No licence in package metadata. The repository is Apache-2.0 and ships the licence text, but packages/cli/package.json has no license field, so npm shows none and automated licence scanners may flag the package as unlicensed.

Use cases

  • Keeping agent-built UI on brand. Commit a DESIGN.md at the repo root and point the agent at it the way an AGENTS.md is used. The README's claim is that an agent reading the Heritage file will produce "deep ink headlines in Public Sans, a warm limestone background, and Boston Clay call-to-action buttons". Whether a given agent honours it is up to the agent; the CLI only guarantees the file is well formed.
  • A CI gate on design-system changes. Run lint on every pull request (exit 1 on errors) and diff against the base branch (exit 1 when errors or warnings increase). For pipeline basics see CI/CD. Keep in mind that the diff ignores prose, so wording changes need human review.
  • One source for Tailwind and design tokens. Generate a Tailwind v4 @theme block or a v3 theme.extend object and a DTCG tokens.json from the same file, instead of keeping three hand-edited copies.
  • Prompt context for agents without file access. spec prints the spec so it can be inserted into a system prompt, and spec --rules-only --format json gives a machine-readable rules list.
  • Tools that write DESIGN.md files. Extractors, generators and design tools can call lint() from the library to validate what they produce before handing it to a user.
  • Handing off between design and code. The prose sections (Overview, Do's and Don'ts, and on main Voice & Content Strategy) give a reviewable written brief next to the values. Teams comparing design tools for that handoff may also want Figma vs Penpot.

How DESIGN.md compares

Several projects with pages on this site deal with telling coding agents how a UI should look. The table sticks to what each project's README and licence file say, checked on 2 December 2026. A blank in a README is described as such and does not mean the feature is missing.

DESIGN.md (Google Labs)AGENTS.mdTypeUI DESIGN.md ExtractorUI UX Pro Max
What it isA file format spec plus a lint/diff/export CLI"A simple, open format for guiding coding agents", described as "a README for agents"A Chrome extension that reads styles from the active tab and generates a DESIGN.md or SKILL.md"An AI skill that provides design intelligence" with a design-system generator driven by Python search scripts
ScopeVisual identity: colours, type, spacing, shapes, components, and on main motion and voiceGeneral project instructions: dev environment, tests, PR rulesVisual signals from one website (typography, colours, spacing, radius, shadows, motion)Product-category rules, styles, palettes, font pairings, landing-page patterns
StructureYAML tokens with a defined schema, ten canonical ## sectionsPlain Markdown; the README shows free-form sections and no schemaIts own "TypeUI DESIGN.md format" with sections such as Mission, Brand, Style Foundations, Accessibility and Quality GatesMASTER.md plus per-page overrides under design-system/, with optional tokens.json or tokens.css
Validation tooling11-rule linter with WCAG contrast check, token diff with exit codesNone described in the READMENone described for the output; the repo has its own testsPre-delivery checklist in the generated output; no linter for the output described
Token exportTailwind v3 JSON, Tailwind v4 CSS, DTCG, CSS variablesNot applicableNot described--tokens dtcg or --tokens css
LicenceApache-2.0MITMITMIT

AGENTS.md and DESIGN.md are complementary rather than rival: one says how to build and test the project, the other says how the result should look, and nothing stops a repository having both. The TypeUI extractor shares the file name but not the format. Its README lists sections that do not appear in Google's canonical order, and the spec says unknown sections should be preserved, so a Google-spec consumer would read such a file as mostly unrecognised prose. As a quick check, the linter was run on the DESIGN.md that sits in the extractor's own repository (a blueprint for skill files, not an extracted output): it returned one warning, "No YAML content found", and exit 0. UI UX Pro Max generates a design system rather than describing an existing one, and could feed a DESIGN.md, but its README does not mention the format. For documents rather than app UI, Kami gives agents layout rules and templates for PDF, PNG and PowerPoint output, and uses a similar pattern for its optional brand.md: YAML front matter for structured fields plus a Markdown body for free-form notes. Terminal agents that might read any of these files are compared in Claude Code vs Codex CLI vs Gemini CLI.

Limits and things to know before adopting

  • Alpha format, pre-1.0 tool. The README's status section says the format "is at version alpha" and to "Expect changes to the format as it matures." Two sections were added to the canonical order in November alone. Under semantic versioning, 0.x releases carry no compatibility promise.
  • Pin the CLI and read the README for that version. The npm package trails main by four months and the GitHub README describes unreleased behaviour. If you need motion tokens, external-reference checks or grouped tokens in Tailwind v4 export today, you have to build from source (the build uses Bun, see Bun) or wait for a release.
  • A known advisory in the published dependency tree. 0.4.0 depends on Zod 3, which npm audit flags as high severity with no fix available inside that range. The fix is on main only. The CLI parses local files you control, so exposure is limited, but audit gates in CI will fail.
  • Licence. Apache-2.0 is permissive: commercial use, modification and redistribution are allowed with attribution, the licence text and a notice of changes, and it includes an explicit patent grant. Contributions need Google's Contributor License Agreement, per CONTRIBUTING.md. The missing license field in the npm metadata is a paperwork gap rather than a different licence, but some compliance tools will report it. See open-source licences compared for how Apache-2.0 sits next to MIT.
  • Telemetry. None found. The CLI made no network connections in the test run and works offline.
  • The linter checks structure, not taste. PHILOSOPHY.md argues that prose is the most important part of the file, yet none of the eleven rules reads the prose beyond section headings, and diff ignores it. A file can lint clean and still give an agent nothing useful.
  • Contrast checks are simple. Only component backgroundColor/textColor pairs are checked, at the 4.5:1 normal-text threshold, and translucent colours are not composited. Glass-style systems will produce warnings that are noise, and contrast between, say, body text tokens and the page background is not checked unless a component pairs them.
  • A deliberately narrow component model. Eight properties per component, no borders, shadows or nested states. The spec says unknown properties are accepted with a warning, and the README notes the components spec "is actively evolving".
  • No vulnerability bounty. The README's disclaimer says the project "is not eligible for the Google Open Source Software Vulnerability Rewards Program."
  • Agent support is a convention. Nothing in the repository wires DESIGN.md into a particular agent. As with AGENTS.md, it works when the agent or the prompt is told to read the file.

Project activity

Checked 2 December 2026: npm @google/design.md 0.4.0 (latest, published 27 July 2026), latest GitHub release 0.4.0, source version 0.4.1 in packages/cli/package.json, licence Apache-2.0, last push 18 November 2026, 29,293 stars and 2,371 forks on GitHub.

The repository was created on 10 April 2026 and GitHub lists TypeScript as its language. Releases came quickly at first: 0.1.0 and 0.1.1 on 21 April, 0.2.0 on 26 May (Tailwind v4 export, CSS Color Module formats, the designmd alias), 0.3.0 on 15 June (nested tokens, unknown-key warnings, PHILOSOPHY.md) and 0.4.0 on 27 July (the omitted key, css-vars export, collision detection, cleaner exit codes). After that the pace slowed: one commit in October and eight in November, mostly spec additions. The 0.4.0 release notes credit eleven contributors by name, and the API reported 51 open issues and pull requests combined. The project homepage is Google Stitch's DESIGN.md specification page. For neighbouring topics see Spec-Driven Development vs Vibe Coding, shadcn/ui vs Material UI and the Gemini CLI write-up.

Enjoying this project?

Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.

Project
design-md-format
Created
December 2
Last Updated
December 2, 2026 at 01:42 PM

Maintain DESIGN.md: Google's Design System Format for Coding Agents? Add the badge to your README

Show that the project is featured on TechLogHub and send readers to this write-up.

Featured on TechLogHub
[![Featured on TechLogHub](https://techloghub.com/badge-neutral.svg)](https://techloghub.com/open-source/design-md-format?utm_source=techloghub_badge&utm_medium=referral&utm_campaign=readme)

Find more projects like this

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.