Design and UI
Give your AI a design guide to follow
Every new page comes out in a slightly different style.
- What you get
- A DESIGN.md built from sites you like and what your project already uses.
- Paste it into
- Your AI tool, in your project
The prompt
Create a DESIGN.md for this project so every new screen matches. I like the look of these sites: [3 to 5 links or screenshots]. Study what they share and what this project already uses. Write down, with exact values: the fonts and the size and weight for each kind of text, the spacing steps, the colors and what each is for, corner radius, borders and shadows, how buttons, inputs and cards look in each state, and how much goes on one screen. Add a short list of things never to do here. Then list where the current pages break the guide, worst first, and point to the file from the project's instructions so it's read before any interface work.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in. Replace the parts in [brackets] with your own details first.
More in Design and UI
Design the states the demo never shows
Screens only look right when data loads fast, lists are full and nothing fails.
Check every page on a phone
You built on a laptop, and most visitors arrive on a phone.
Make the whole app look like one product
Six shades of gray, four button styles and spacing chosen by eye.
Fix the accessibility basics
The site can’t be used with a keyboard, and some text is too faint to read.