DESIGN.md Generator

DESIGN.md Generator

Create AI-ready DESIGN.md files for Google Stitch, Claude Code, Cursor, and Copilot — define colors, typography, spacing, and components for AI tools.

Updated May 2026

Project Basics

Name your project and describe its overall visual intent.

Describe the intended visual feel. AI agents use this to set the tone.

How the DESIGN.md generator works

9-section wizard, download in seconds

1. Fill in the basics and the color palette

Project name, tagline, visual theme in plain language, and colors by semantic role (primary, error, success).

2. Configure typography, layout, and components

Fonts, modular type scale, spacing, border-radius, shadows, and component variant patterns.

3. Download and commit

Copy or download the complete DESIGN.md file and drop it in your project root.

What this DESIGN.md generator does

All 9 sections of the official spec, guided step by step

Step-by-step wizard

Walks through the 9 sections of the Apache 2.0 spec so you don't have to memorize the file structure.

Colors by semantic role

Primary, surface, error, success — for light and dark mode, not just loose hex values.

Modular type scale

Minor third, perfect fourth, golden ratio — mathematically consistent font sizes generated for you.

Accessibility included

Target WCAG level, minimum contrast ratios, focus ring color, and touch target size.

The 9 sections of the spec

What each part of the generated file covers

Section
What it defines
Visual Theme & Mood
Aesthetic intent described in plain language
Color Palette & Roles
Semantic colors plus their dark mode equivalents
Component Styling
Buttons, cards, form fields, and their variants
Platform Guidelines
CSS custom property naming, dark mode strategy

When you'll use this

The most common scenarios among people using this tool

Starting a new project with AI

Drop DESIGN.md in the root before the first component — every UI the agent generates follows your rules.

No more repeating specs in every prompt

Write your primary color, font, and border-radius once instead of retyping them in every new prompt.

Google Stitch workflows

Export tokens from Figma into DESIGN.md so every Stitch generation matches your system automatically.

Switching between AI coding tools

DESIGN.md travels with the project when you move between Cursor, Copilot, and Claude Code.

Common mistakes

Assuming it replaces Figma

They're complementary — DESIGN.md covers the specification and AI handoff, not visual collaboration.

Skipping the accessibility section

Without a minimum contrast ratio and WCAG level defined, AI agents have no constraint pushing them toward accessible UI.

Confusing it with design tokens

DESIGN.md goes further than tokens — it includes visual intent in natural language and component patterns, not just named values.

Why use this generator

The wizard walks you through the 9 sections of the official spec with sensible defaults, instead of you writing the markdown by hand from a blank page.

It's natively compatible with Google Stitch and doubles as a context file for Claude Code, Cursor, and Copilot — all of them read files in the project root automatically.

DESIGN.md vs. README.md vs. Design Tokens

Complementary formats, different purposes

DESIGN.md
README.md
Design Tokens
Who it's for
AI agents
humans and tooling
build systems
Content
visual intent + component rules
code documentation
named values (color, spacing)
Format
structured markdown
free-form markdown
JSON, CSS vars, Figma plugin

Frequently asked questions

It's a markdown file that stores a project's visual rules — colors, typography, spacing, and components — in a structured format AI agents can read and follow. It was created by Google Labs for Stitch and released open source under Apache 2.0.

Resources

Related Tools