The DESIGN.md

· 3 min read

For years, we designed in static images: frames with no motion, no data and no real behaviour. As designers working on the web, we need to understand behaviour. How a layout responds when the screen changes. What happens while data loads, when it fails, when it's empty, or when there's too much of it. How an interaction feels at the speed it really runs. None of that shows up in a static frame. A potter has to understand clay, and we have to understand our medium.

What changed

We can now prototype and iterate incredibly quickly. Building something realistic used to mean HTML and CSS, React components or FramerJS, and a lot of time. Now we can build one in hours, which lets me test an idea properly, myself and with users, before anything is committed.

For interaction-heavy work, this matters a lot. I'm working on an infinite canvas, chat with an LLM, and AI updating the interface live in response to that conversation. You can represent those moments in Figma, but you can't understand the experience there.

You need to use it.

The consequence

Speed has a cost. Without context on the design system, the models produce slop: inconsistent components, invented patterns, and designs that look fine but don't hold together. Teams end up going around in circles, correcting the same things repeatedly.

What a DESIGN.md solves

I've always thought a good interface can be described, not just drawn. For a long time we expected engineers to inspect Figma frames to work out the padding, sizing, states and intent behind a screen, reverse-engineering reasoning from pixels. That never made sense to me. If you can describe an interface clearly in words, someone can build it, review it and question it without guessing. A DESIGN.md does that. It gives people and agents the rules and reasoning behind the interface, not just the outcome.

There are two kinds. The core DESIGN.md for the design system holds the shared rules behind the components: tokens, sizing, typography and the other primitives. The feature DESIGN.md captures what we learned from a prototype, so the decisions don't live only in my head.

I write the feature one by walking through the prototype and describing what's happening. What is the user trying to do? What changes immediately, and what changes later? What should they understand at each point? What happens when something goes wrong? Doing this helps me catch things I might not have noticed. I'm thinking out loud, which is what we ask people to do during usability testing. I dictate it and turn it into a DESIGN.md that goes into Linear for the team to review.

What it makes possible

Once the rules were written down, things got better quickly:

  • We noticed that prototyping and what we're building both got noticeably stronger, because agents work from the rules instead of recreating consistency from examples.
  • Anyone on the team can spin up high-fidelity prototypes that follow the design system.
  • Engineers get the reasoning behind a decision rather than inferring it from pixels, which makes reviewing easier.
  • Figma comes afterwards. Once an interaction has been tested through making, the DESIGN.md and prototype are enough to create the Figma work, as a shareable representation of a decision that's already been made.

What designers should protect

The work to protect isn’t the busywork of reproducing screens. It’s the thinking that happens before the screen exists: understanding the problem, exploring the interaction, noticing what’s unclear, and deciding what a person needs at each moment.

A DESIGN.md is one way of making that thinking visible.

More writing