A curated collection of DESIGN.md files, templates, and resources for AI coding agents.
DESIGN.md is a plain-text design system file that tells AI coding agents (Cursor, Claude Code, Codex, Windsurf, Bolt, v0, Lovable, Kiro) how to generate UI with consistent visual direction instead of generic defaults.
Browse the full directory → designmd.directory
Maintained by Dima Braven, creator of DesignMD Directory.
Install any DESIGN.md in one command
npx designmd-cli install stripe
npx designmd-cli install linear
npx designmd-cli install vercel
Or install globally:
npm install -g designmd-cli
designmd-cli install <slug>
CLI commands
| Command |
Description |
designmd-cli install <slug> |
Download a DESIGN.md into your project |
designmd-cli list |
Browse all available files |
designmd-cli search <query> |
Search by brand, style, or category |
designmd-cli install <slug> --path ./my-design.md |
Custom output path |
After installing, tell your agent: “Follow the design system in DESIGN.md”
→ designmd-cli on npm
Example files in this repo
Ready-to-use DESIGN.md files you can copy directly into your project:
Brand-inspired references
Hand-authored DESIGN.md references based on publicly observable design signals from popular products.
- Stripe design reference — fintech, data-dense, indigo on white
- Linear design reference — dark, compact, keyboard-first
- Vercel design reference — monochrome, Geist, developer-native
- shadcn/ui design reference — Tailwind tokens, Radix primitives, composable components
- Notion design reference — document-native, warm, editable
- GitHub design reference — utility-first, Primer system
- Figma design reference — canvas-first, creative tools
- Supabase design reference — open-source, dark green
- Resend design reference — minimal, developer email
- Cal.com design reference — scheduling, clean, open-source
→ Browse all 200+ brand references
Templates
What makes a good DESIGN.md?
A useful DESIGN.md should include:
- Color tokens with clear roles (primary, surface, border, muted) and exact hex values.
- Typography scale with font families, weights, sizes, and usage context.
- Spacing and radius rules that map to real UI decisions.
- Component guidance for buttons, cards, forms, navigation, and empty states.
- Layout principles covering density, rhythm, responsive behavior, and hierarchy.
- Do / don’t rules that prevent common AI-generated UI mistakes.
- Agent instructions that tell the model exactly how to apply the file.
Example structure
---
name: Product Design System
colors:
primary: "#635BFF"
background: "#FFFFFF"
surface: "#F6F9FC"
border: "#E3E8EE"
text-primary: "#0A2540"
text-secondary: "#425466"
typography:
heading: "system-ui, sans-serif"
body: "system-ui, sans-serif"
mono: "SFMono-Regular, monospace"
spacing:
base: "8px"
radius:
card: "12px"
button: "8px"
input: "8px"
---
# Product Design System
## Visual Direction
Describe the visual personality, density, and hierarchy in 2–3 sentences.
## Color System
| Token | Value | Usage |
|-------|-------|-------|
| --primary | #635BFF | CTAs, links, focus rings |
| --bg | #FFFFFF | Page background |
| --surface | #F6F9FC | Cards, panels |
| --border | #E3E8EE | Borders, dividers |
## Components
Define buttons, cards, forms, navigation, and common states with inline Tailwind or CSS.
## Agent Instructions
Tell the model exactly how to apply this design system. Be specific about typography, spacing, and color usage.
## Don't
List the top 4–6 anti-patterns to avoid for this specific visual style.
Learn more
Contributing
Suggestions are welcome. Open an issue with a link to a useful DESIGN.md resource, example, or template.
Include:
- URL
- Short description
- Why it is useful for people writing DESIGN.md files
License
MIT
评论