About DESIGNmd

What is DESIGN.md?

DESIGN.md is a portable, plain-text format for describing a design system to coding agents. Tokens live in YAML front matter; rationale lives in markdown sections. The spec is published by Google at github.com/google-labs-code/design.md (currently alpha).

Drop a DESIGN.md into your project root and any spec-aware agent can read your tokens, follow your component patterns, and generate UI that matches your brand — without Figma, without a custom design-tokens build step.

A spec-compliant DESIGN.md has two parts:

---
name: Heritage
colors:
  primary: "#1A1C1E"
  secondary: "#6C7278"
typography:
  body-md:
    fontFamily: Public Sans
    fontSize: 16px
    fontWeight: 400
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "#ffffff"
    rounded: 8px
---

## Overview
Architectural minimalism meets journalistic gravitas.

## Colors
- **Primary (#1A1C1E):** Deep ink for headlines and core text.
- **Secondary (#6C7278):** Slate for borders, captions, metadata.

Canonical body sections (in order, omit if not applicable): Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, Do's and Don'ts.

DESIGNmd lints every uploaded kit against the official spec. Validation, Tailwind export, and DTCG export are all available via the REST API and the MCP server.

Install the skill

For Claude Code, Cursor, Antigravity and other agents, DESIGNmd ships two installable skills that teach the agent how to work with the format:

  • designmd-author — triggers when you're authoring a DESIGN.md. Bundles the spec, an example kit, and runs npx @google/design.md lint on the draft.
  • designmd-library — triggers when you want to find an existing design system. Wraps the DESIGNmd MCP server so the agent can search, preview, and install kits straight into your project.

For Claude Code, drop them into ~/.claude/skills/:

git clone https://github.com/designkit-md/designkit.md
cp -r designkit.md/packages/skills/designmd-author ~/.claude/skills/
cp -r designkit.md/packages/skills/designmd-library ~/.claude/skills/

Other agents read SKILL.md from a known directory — copy the same folders to your agent's skill location.

How to use DESIGNmd

DESIGNmd is the community library for DESIGN.md files. Browse, search, and download design systems created by the community.

1

Browse and find a design system

Search by style, color scheme, use case, or framework. Filter by tags, sort by popularity.

2

Download or copy the DESIGN.md

One click to download the file or copy the content to your clipboard.

3

Drop it into your project

Place the DESIGN.md in your project root. Your AI coding tool will use it automatically.

MCP Setup Guide

The DESIGNmd MCP server lets your AI coding tool search, browse, and download design systems directly — without visiting the website. It works with any MCP-compatible tool.

Claude Code

Add to your Claude Code MCP configuration (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "designmd": {
      "command": "npx",
      "args": ["designmd-mcp"]
    }
  }
}

Cursor

Add to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "designmd": {
      "command": "npx",
      "args": ["designmd-mcp"]
    }
  }
}

Antigravity

Add to your Antigravity MCP configuration (~/.gemini/antigravity/mcp_config.json):

{
  "mcpServers": {
    "designmd": {
      "command": "npx",
      "args": ["designmd-mcp"]
    }
  }
}

With API Key (for uploading)

To upload kits via MCP, generate an API key and add it to the config:

{
  "mcpServers": {
    "designmd": {
      "command": "npx",
      "args": ["designmd-mcp"],
      "env": {
        "DESIGNMD_API_KEY": "dk_your-key-here"
      }
    }
  }
}

How to Upload & Contribute

Anyone with a GitHub account can contribute design systems to the community.

1

Sign in with GitHub

Click "Sign In" in the header to authenticate with your GitHub account.

2

Create your DESIGN.md

Write a markdown file with your design tokens: colors, typography, spacing, and component patterns.

3

Upload and publish

Drag and drop your file on the upload page. Add a name, description, tags, and license.

4

Your kit goes live

After a quick automated review, your design system is published and available for the whole community.

Ready to share your design system?