SShortSingh.
Back to feed

design.md: If Your AI-Generated UI Keeps Drifting, You're Missing Google's design.md

0
·1 views

Have you ever done some Vibe Coding and noticed the AI's layout is always a little off? You keep saying "the spacing is wrong here, the colour is inconsistent there", and it still produces a slightly broken screen? If yes, the real reason is that you haven't given the AI the rules of your design system properly. To fix exactly that, this post walks through design.md, an AI design system spec released by Google Labs. The goal is to let AI Coding tools like Claude Code, Cursor, and GitHub Copilot actually read your design system and produce consistent UI — so you don't have to keep repeating "wr

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Fix GitHub Copilot Terraform Security Risks Before They Hit Prod

Originally published on kuryzhev.cloud Copilot just autocompleted your security group with port 0–65535 open to the world — and terraform validate said it was fine. That's the GitHub Copilot Terraform security problem in one sentence: the suggestions are syntactically valid, pass every local check, and still destroy your security posture on first apply. We've seen it happen across three separate teams in the last six months, and the pattern is always the same: nobody noticed until a compliance scan flagged it post-deploy. Symptoms The signs aren't loud. That's what makes this dangerous.

0
ProgrammingDEV Community ·

I Tracked Every API Dollar Across 184 Models: Here's The Data

I Tracked Every API Dollar Across 184 Models: Here's The Data I keep a spreadsheet. It's embarrassing, honestly. 184 rows, one per model, with columns for input cost, output cost, latency p95, error rate, and a personal "would I bet a Series A on this" rating. I started it two years ago when I was CTO at a seed-stage startup trying to figure out which LLM provider wouldn't bankrupt us before we hit PMF. I never stopped.

0
ProgrammingDEV Community ·

Replaced My App's Database With My Daughter's Google Drive Folder

My daughter takes a weekly music class. Every session, her teacher sends a voice clip of a bhajan over WhatsApp, plus a photo of handwritten notes. Sometimes we record her practicing it back. I wanted a simple way to listen to her practice takes over time — not just the latest one, the history. Day-1 Nyra sounds nothing like Nyra-six-months-later, and I didn't want that gap to just disappear every time a new recording overwrote the old one.