Stop AI Guesswork with Structured Design Rules
AI tools like Cursor, Claude Code, v0, and Stitch build functional apps quickly, but outputs default to generic Tailwind-style UIs: mismatched buttons, inconsistent spacing, and no brand identity. Compare to polished products like Stripe, Linear, or Vercel. The fix is DESIGN.md, Google's open-source markdown format (released April 21, gained 70,000+ GitHub stars in weeks). It injects exact design tokens—hex colors, font families, border radius, spacing—plus explanatory markdown on intent, like "this blue accent feels clear and trustworthy."
Live demo proves it: Same prompt ("build a modern dashboard") without DESIGN.md yields random cards and default energy. Add a Stripe-style DESIGN.md, and results align: cohesive colors, cleaner spacing, unified buttons. AI shifts from guessing to following proven rules, reducing drift across screens and rework on ugly elements.
Tokens + Intent Outperform Raw Specs
A strong DESIGN.md covers palette, typography, components, layouts, and accessibility. Hard rules (e.g., exact hex values) pair with judgment calls (why use them), enabling AI to apply taste consistently. Version-controlled in your repo, it's human- and machine-readable—no Figma exports or JSON parsing needed.
Unlike Figma (human-focused, repo-external), JSON tokens (machine-only, no intent), Cursor rules/Claude MD (behavior guides, not full systems), DESIGN.md bridges gaps. It lives natively with code, works across tools, and scales for prototypes or AI-heavy workflows.
Trade-offs and When to Adopt
Pros: Zero setup (drop in repo), includes accessibility, community templates for Stripe/Linear/Notion/Vercel (awesome repo at 70k stars). Cons: Output quality matches input—a weak file yields weak UIs; not for full creativity.
Use it if building with Cursor/v0/Claude: Grab a template from https://github.com/VoltAgent/awesome-design-md, customize for your brand. Result: Less prompting (no more "make it clean, like Stripe"), faster consistency, apps that feel like real products, not demos. Ideal for solo devs/prototypes; skip if you need bespoke design tools.