Quickstart
Go from zero to an agent-ready DESIGN.md in five minutes.
Step 1: Get a DESIGN.md file
Choose the fastest starting point for your project:
-
Pick an existing system from DesignMD Pro — open Discovery, select a site, and copy the format tailored for Claude Code, Cursor, or Stitch from the Use this design card. For free-tier entries you can also fetch the raw file directly:
curl -fsSL https://designmdpro.app/websites/linear.md -o DESIGN.md -
Pull inside your agent via MCP — connect
https://designmdpro.app/mcp(see MCP Server Setup) and ask your agent to callsearch_websitesandget_design_md. -
Author your own — copy the Complete Example as a starting template, or extract a baseline palette from any live URL with the Color Palette Extractor.
Step 2: Save and reference it in your repo
Place DESIGN.md at your repository root (or inside the UI package root in a monorepo), then wire it into the tool your team uses:
- Claude Code: add
@DESIGN.mdtoCLAUDE.md— Claude Code guide - Cursor: save as
.cursor/rules/design-system.mdcwithalwaysApply: trueor component globs — Cursor guide - GitHub Copilot & VS Code: reference
DESIGN.mdfrom.github/copilot-instructions.md— Copilot guide - Windsurf: reference
DESIGN.mdin.windsurf/rules/design-system.md— Windsurf guide - OpenAI Codex: point
AGENTS.mdtoDESIGN.md— Codex guide - Kiro: reference
DESIGN.mdvia.kiro/steering/design-system.md— Kiro guide - Vercel v0: convert with v0 Prompt Generator — Vercel v0 guide
- Google Stitch: copy the Stitch export from any website detail page — Google Stitch guide
- Bolt: add
DESIGN.mdwith.bolt/prompt(or Project Knowledge) and CSS tokens — Bolt guide
Step 3: Validate the file
Before committing, verify that YAML parses cleanly, all {token} references resolve, and foreground/background pairs meet WCAG contrast:
-
In the browser: paste your file into the DesignMD Pro Validator (runs locally in your browser).
-
In the terminal: run the official CLI:
npx @google/design.md lint DESIGN.md
For every check both validators perform, see Validator & Lint Rules.
Step 4: Export framework tokens (optional)
If your codebase uses CSS custom properties, Tailwind v4, or shadcn/ui, generate stylesheet primitives from the same DESIGN.md so styles are enforced in CSS as well as in prompts:
- Tailwind v4 Theme Generator — outputs
@themeand.darkblocks - CSS Variables Generator — outputs
:rootand.darkcustom properties - shadcn/ui Theme Generator — maps semantic tokens (
--background,--primary,--foreground,--radius)
Step 5: Prompt your agent
Ask your agent to apply the spec explicitly on your next UI task:
Read DESIGN.md in the repository root before writing code.
Build the pricing page using only the tokens defined in DESIGN.md
and follow its Layout, Components, and Do's and Don'ts sections.Next steps
- Installation & CLI — CI checks, Windows CLI alias, and MCP setup
- Frontmatter & Structure — understand every YAML key and prose section
- Writing for AI Agents — replace vague adjectives with observable constraints