| Every time you ask an AI coding agent to build UI, it invents everything from scratch. Colors. Fonts. Spacing. Button styles. All of it - made up on the spot, based on nothing. You'd never hand a designer a blank brief and say "just figure out the vibe." But that's exactly what we've been doing with AI agents for years. Google Stitch introduced a concept called DESIGN.md - a plain markdown file that sits in your project root and tells your AI agent exactly how the UI should look. Color palette, typography, component behavior, spacing rules, do's and don'ts. Everything. The agent reads it once. Then it stops guessing. I took this concept and built a library of 27 DESIGN.md files extracted from popular sites - GitHub, Discord, Shopify, Steam, Anthropic, Reddit, and more - so developers don't have to write them from scratch. The entire library was built using Claude Code. The AI built the tool that fixes AI. MIT license. Free. Open source. The wild part: this should have existed two years ago. [link] [comments] |
AI agents have been blindly guessing your UI this whole time. Here's the file that fixes it.
Reddit r/artificial / 4/6/2026
💬 OpinionSignals & Early TrendsTools & Practical Usage
Key Points
- AI coding agents often generate UI elements (colors, typography, spacing, styles) by inventing them from scratch without a reliable source of design guidance.
- The article highlights Google Stitch’s idea of a root-level plain markdown file (DESIGN.md) that specifies UI look-and-behavior rules so the agent can follow a concrete design system rather than guessing.
- It claims the author created an open-source library of 27 prebuilt DESIGN.md files extracted from popular websites, allowing developers to reuse consistent UI specifications quickly.
- The library was reportedly built using Claude Code, and the project is released under an MIT license to be free and adoptable.
- The post argues this approach should have existed earlier, framing it as a practical fix for a longstanding AI-agent UI problem.
💡 Insights using this article
This article is featured in our daily AI news digest — key takeaways and action items at a glance.




