Your AI UI Looks Generic… This Fixes It (DESIGN.md)
BBetter Stack
Computing/SoftwareSmall Business/StartupsPhotography/ArtInternet Technology
Transcript
00:00:00AI coding tools are getting scary good. Cursor, Claude Code, V0. You can go from an idea to a
00:00:06working app in minutes, but then you open the UI and it just looks off. The code works, but the UI
00:00:12still feels really cheap. Now compare that to Stripe, Linear, Vercel, really any big platform.
00:00:17So what are they doing differently? It's just one simple file. It's called DesignMD,
00:00:22and Google just open sourced it. I'll show you how to inject this in your code in just a couple minutes.
00:00:30Now, DesignMD is a plain markdown file that tells AI agents how your product should feel
00:00:38and look. Colors, fonts, spacing, buttons, layout rules, accessibility notes, everything. So instead
00:00:45of guessing your brand, the AI reads the file and follows it. There's no Figma export, no JSON mess.
00:00:52There's no 10 paragraph prompt that I need to do every time to get perfect. Google open sourced it
00:00:57on April 21st, and within just a couple of weeks, it's already blown up on GitHub to well over
00:01:0270,000 stars. If you enjoy coding tools and tips that speed up your workflow, be sure to subscribe.
00:01:08We have videos coming out all the time. All right, now this is really cool. Let me show you why this
00:01:12actually modders. Okay, I'm going to go with the same prompt here. Build a modder and a dashboard.
00:01:18First, there is no DesignMD file. It generates, and yeah, this is a classic AI dashboard.
00:01:24Technically works, right? But it has default tailwind energy. It just looks like it. Random
00:01:30buttons. We have our generic cards here. There's no real identity to anything you're actually
00:01:35building out. Now, if I run the same prompt again, but this time I add a Stripe style DesignMD file,
00:01:42or really any DesignMD file you want for another brand, and look at the difference. The colors line
00:01:48up. The spacing feels cleaner. The buttons look like they actually belong together. The whole screen
00:01:54has a point of view. Same AI, same prompt, but now it's different context. Without DesignMD, the AI is
00:02:02guessing. What should the site look like? With DesignMD, the AI has rules based on other proven
00:02:08platforms that already look really good. So what's actually inside this file? Think of it like a
00:02:14design system the AI can read. At the top, you usually have structured tokens. Stuff like exact
00:02:21hex colors, font families, border radius, spacing. These are hard rules, but the important part is
00:02:27what comes after that. Markdown. This is where you explain the intent. Not just use this blue color,
00:02:34but this blue is the primary accent and it should feel clear and trustworthy. That matters because
00:02:40AI doesn't just need numbers. It needs judgment. A good DesignMD usually covers color palette,
00:02:47typography, components, layouts, accessibility. So the AI gets two things at once. The exact values
00:02:54and the reason behind them. And that is why the output stops drifting away from what we're
00:03:00actually trying to go for. Now the obvious question is, do we really need another design system format?
00:03:05We already have Figma, we already have JSON tokens, and we already have cursor rules and ClaudeMD.
00:03:11But each one of these solves a different problem. Figma is a UI. It's great for humans, but it
00:03:18usually lives outside the repo. JSON tokens are great for machines, but they do not explain our
00:03:25taste for the website or the intent we're going after. Cursor rules and ClaudeMD tell the agent
00:03:31how to behave, but they're not really a design system. DesignMD sits in all of this. It's human
00:03:38readable. It's also at the same time machine readable. It's version controlled and agent
00:03:44native. That's the big change here. Your design system is no longer trapped in a design tool.
00:03:49It lives right next to your code within this markdown file. And this is why it's blown up in
00:03:54just two weeks and devs are paying attention. The community repo is now over 70,000 stars,
00:03:59right? That's super fast. People are sharing DesignMD files for Linear, Stripe, Notion,
00:04:04and Vercel, and the reason behind it is simple. Nobody wants to keep typing, make it clean,
00:04:09make it modern, use better spacing, make it more like this website. Come on, that gets old so fast.
00:04:16With DesignMD, you stop repeating yourself. You give the AI the design rules once, then every screen
00:04:23starts from the same foundation. That's the real win here. The design across all screens speed.
00:04:29There's less rework. There's less fixing the same ugly button for the 10th time.
00:04:34All right, now honest take here. It's not perfect. It's a great start, right? But it is
00:04:39one file. It lives in your repo. It works across tools. It includes accessibility guidance and
00:04:44setup is basically zero, which is great. Super easy to drop in. Also, the file is only good at what you
00:04:51put in it. A weak DesignMD is obviously going to give you a weak output, but for solo devs,
00:04:57prototypes, AI heavy workflows, this is a really practical upgrade. So should you use it? Yeah,
00:05:02probably so. Especially if you're already building with cursor, Clod Code, V0. Start with a template
00:05:08from the awesome repo. It's in the description. Drop it in your project, then customize it for
00:05:13your own site, your own brand. Your goal is not to make the AI creative. Your goal is to stop making
00:05:20it guess because once the rules are clear, the UI is going to get more consistent and your app starts
00:05:25to feel less like an AI demo and more like a real product. If you enjoy coding tools and tips like
00:05:31this, be sure to subscribe to the Better Stack channel. We'll see you in another video.