JIMDRURY.
Jim Drury
An AGENTS.md file (how to build: prefer our patterns, don't invent APIs, run the checks) and a DESIGN.md file (colour tokens with roles, a four-step type scale, radius 8 and a Dont list striking out gradients, stacked shadows, glassmorphism and a second primary button) both feed an agent, which produces a plain checkout screen with one flat Pay now button; a crossed-out 'make it look less AI' prompt sits to one side
agents

AGENTS.md tells them how to build. DESIGN.md tells them how it should look.

5 MIN READ
- Victor (@victor_explore), on agents, clean code, and ugly UI
- sitinDev (@sitin_dev), on AGENTS.md vs DESIGN.md

We've been writing half a playbook

A brief confession

Design constraints are the TypeScript of UI

DESIGN.md (agent-readable stub)
# DESIGN.md
## Intent
This file is for coding agents. Read it before you invent UI.

## Tokens (roles, not vibes)
- primary: brand action colour (buttons, links)
- surface: page background
- border: hairline only, never decorative glow
- radius: 8px default, 4px for dense controls

## Type
- One sans family. Two weights. No display font for body copy.
- Scale: 14 / 16 / 20 / 28. Do not invent a fifth size mid-PR.

## Spacing
- Base 4. Prefer 8 / 16 / 24 / 40. No 13px "optical" gaps.

## Dont
- Dont add gradients unless this file already defines one
- Dont stack box-shadows to "make it pop"
- Dont invent a second primary button style
- Dont use glassmorphism, neon borders, or AI-glow cards
- Dont "improve" spacing that matches an existing screen

Where it sits next to AGENTS.md


Thoughts

Similar Articles