De-slopping agent-built UI: seven practical rules
- Source
- x.com
- Date
Here's my advice for engineers looking to up their design game. https://t.co/oBFur0Izaf
Context
Matt Dailey, founder of the startup Ref, traces generic -built interfaces to a failure: teams let an AI agent patch whatever confused the last user instead of deciding what the design has to satisfy. In his seven-rule guide, he borrows a loop from Christopher Alexander's Notes on the Synthesis of Form: list the constraints (font and sizing rules, workflows the product must support, business-logic states), consider several solutions that meet them, and revise the constraints when one should be added or removed. Skipping that revision step produces what he calls design whack-a-mole. Prompts such as "Make X more prominent" fix one complaint at a time, and the result is a patchwork that prioritizes some interactions over others at random. Ref, which has no full-time designer, fixes obvious problems quickly and logs minor papercuts in a document so a later redesign can address them together.
Two of his rules respond to habits he sees in agents. They add things, such as extra copy, lines and icons, much as they add redundant try-catch blocks to code, so he goes through every element of a design and asks whether it is needed. And when an agent builds the first version inside the real codebase, refining it starts to feel easier than exploring alternatives, a pull he calls prototype gravity. His answer is to iterate in a meant for design, such as Figma, Cursor Design Mode, Claude Design or HTML prototypes, and to have the AI generate three or four variants of everything.
Once a direction is chosen, the remaining rules move the checks closer to real use. Ref has agents build each UI component on a /showcase page before connecting it to the main app, so the product reuses one set of components instead of a patchwork of re-implemented buttons. It also splits frontend and backend pull requests: unit and integration tests verify the backend, while a person judges the frontend in a preview deploy, a separate deployment of the new design connected to the real backend and its data.
- Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
- Process — A running instance of a program, with its own working memory, open files and identity.
- Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.
Checking sign-in…
Loading comments…

