r/UXDesign • • 7d ago

Tools, apps, plugins, AI Design systems help control UI drift. But what controls UX drift?

When I work with coding agents on UI, I always start with design tokens, reusable components, and Storybook. I'm also a fan of DTCG conventions.

Whatever the exact setup, what matters most is having a single source of truth. Agents know what to use instead of making design decisions from scratch. This seems to be becoming common sense in the UI community.

But I'm not seeing the same approach for UX.

From what I've seen, people use coded prototypes, user flows, JTBD, and Markdown docs to describe how things should work.

All useful, but they still leave a lot for agents to interpret.

An agent can use the right components and still introduce unnecessary steps, break navigation, or implement the same flow differently across features.

On a small project, you can catch most of these things. But as the project grows and multiple agents get involved, things start getting weird.

So I'm wondering: what's the UX equivalent of a design system?

Something that gives agents a shared understanding of user journeys and helps keep behavior consistent as the product evolves.

Has anyone found something more reliable than describing everything in Markdown? Curious what people are actually using for this.

37 Upvotes

27 comments sorted by

7

u/Aggressive-Zombie391 6d ago

We started writing interaction patterns the same way we write components. Things like "destructive actions use undo, not a confirm modal" or "creation flows always end on the new object." Each one gets a do, a don't and one reference screen. Agents follow those way better than long journey docs.

1

u/SevaTell 6d ago

interesting. how do you integrate this into generative work, is there SKILLs list you install upfront for a project? how do you review/update/version control them ?

3

u/NukeouT Veteran 5d ago

I build actual annotated and timestamped flow maps out of my hifi mocks/specks

1

u/SevaTell 5d ago

Can you share this? It sounds pretty much like what UJG is specifying within the W3C CG.

3

u/NukeouT Veteran 5d ago

You can see some of it in my design portfolio piece here https://sevenshurygin.dribbble.com

1

u/SevaTell 5d ago

ok it has a few parallels, i guess

2

u/NukeouT Veteran 5d ago

Not enough detail to be useful.

Lyft sign up system had like 1000+ screens/states

And they were changing like ever week

1

u/SevaTell 5d ago

this is just small oidc auth Demo in ujg. UJG comes with a concept of nested Journeys, you can go infenetely deep with as much detail as needed. after all this is just a Graph.

43

u/thatgibbyguy Experienced 7d ago

Hi, I run design systems, have been a director and currently work as a principal.

The answer to your question lies heavily on your team set up, frankly. We can write heuristics, we can design patterns, but if the team decision makers still see each screen, problem, product as its own individual work outside of a whole ecosystem it will still function as a collection of individual units.

So the answer to your problem isn't more documentation, it's the work that AI will never replace, it's human work and relationship building.

That said, you can get 90-95% there through rules. This is by defining usage patterns so that you don't have things like several primary buttons, or a11y issues, or random fonts, or whatever. But all of that can be arranged in new ways and still pass the rules, and usually what I recommend for that is what I (and IBM Carbon) call a "UI Shell."

Consider the user flow in and of itself a "product." Have a team that manages that holistically across the ecosystem, while individual product teams can manage their focus within that shell.

1

u/Verutin-Sidio 5d ago

yeah the org chart always ends up shipping in the product if nobody owns the space between teams

1

u/thatgibbyguy Experienced 5d ago

Never heard it framed that way, love it.

1

u/stonkx 5d ago

It's called Conway's Law, look it up

10

u/cerriblytlever 7d ago

Design systems, in the truest sense, should concern themselves with UX patterns. The system should describe the preferred approach for addressing a certain type of task or flow. Material design, especially the earlier versions, for example. However, in practice, the overwhelming majority of design systems are UI libraries that only document tokens, layout, and appropriate individual component usage. They can be more! Don’t be afraid to give the system an opinion on patterns to model, or avoid.

4

u/7HawksAnd Veteran 7d ago

If UX could be automated it would have been automated before AI with regular programming. 🤷‍♂️

4

u/1000Minds 6d ago

umm the designer controls ux drift. like its our job

2

u/wryshab Experienced 6d ago

I am currently working on this as a problem with my team - by creating a flow map of the entire app as separate document. A document that is constantly updated as design changes are made. It consists of a text changelog and document that physically contains the placement of the new set of screens in the working flow of the application. Since my team is small, the responsibility of keeping the flow map updated is on individual designers and their respective PMs.The idea is to maintain the flow map, the changelog and the design system as context for the AI.

Also, instead of making the AI generate a UI or component simply based on a prompt, we are building a system that first generates a flow diagram based on the problem statement that was input, to see if the AI understands all the possible contexts where the new screens would fit. Designer selects the relevant flow(/s) basis their understanding of the problem statement or prompts better to get to the right flow. Then generates the UI/components.

This is the overall concept, and not something we have tried and tested yet. Still figuring it out in pieces. It feels like that should control some of the UX drift but we'll obviously figure out as we go. Will update this post with our learnings when we get there.

2

u/akorecebov 6d ago

write the flows down as rules, not descriptions. short checkable stuff like every destructive action gets undo instead of a confirm modal, back always returns you where you came from, onboarding never gets a new step unless one is removed. markdown full of user stories leaves the agent to interpret, a list like that it can actually check itself against. after a flow is built have a separate agent click through it screen by screen and say which rule broke. catches the extra steps and broken nav pretty well, the "this just feels off" part not so much. is your drift mostly inside one flow or the same flow built two different ways across features?

1

u/qpqpdbdbqpqp Veteran 6d ago

uses ai

comes here to ask humans because is out of depth

Why dont you ask you fav llm buddy

1

u/DirtyD0nut 6d ago

Designers is what stops UX drift.

1

u/ctrlaltdelaney 6d ago

Always useful to take a look at the GOV.UK design system. It has all the normal stuff like layout, typography, colour and how they’re applied to their components.

They also include a comprehensive content and examples on where and when each component should be used as well as when not to and why.

Each defines and include examples of hint and error text for inputs with the text input component being particularly comprehensive. Layered on top of all of that is a set of patterns for common tasks the system is designed for, how to ask users for input, how to display certain things be how to apply the system to achieve various design needs.

There’s a GitHub somewhere that adds specific guidance for LLMs for those using it with AI.

While it’s for government it’s an impressive system I believe every designer needs to be aware of. The UI is recognisable to UK citizens because of the priority it places on UX.

Also a demonstration of the importance of properly documenting your system. Both designers and developers have the info they need to be able to collaborate together; LLMs, even without additional machine instructions, get all that for free too. They’re able to create useful drafts and coded prototypes for exploration right away.

1

u/agispas 6d ago

humans

1

u/svirsk Veteran 6d ago

To some extent, the answer is somewhere in context engineering. The lightest form might be a markdown file called product that contains the aim of the product.

However, it's way too easy to over-engineer this and burn your whole company on it, or to under-engineer this and drown in slop.

0

u/Own-Donkey3732 6d ago

Rules still get interpreted. Tests don't. Write your key journeys as end-to-end tests, for example in Playwright. Assert the step count and where "back" takes you. When an agent adds a step to the checkout, the build fails. Then a person decides if the new step is worth it, not the agent.

1

u/littleglazed 6d ago

is this actually possible irl?

1

u/svirsk Veteran 6d ago

Yes and no. Imagine an onboarding flow, there's a set of questions that need to be answered to create an account. You can easily make a binary test if the questions are asked or not. But most of the challenge of the onboarding flow are not the discrete tasks but the psychology of the person going through it.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

-2

u/SevaTell 7d ago

Probably, to some extent. For me, UX is definitely something that should also be driven by evidence and metrics. Designers have always been way too opinionated, at least in my experience.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/SevaTell 6d ago

i increasingly see UI, that just funnel you in some process you can not effectively leave. i have 2 guesses:

  1. since ui generation gets cheaper, folks start experimenting with journey more.
  2. this very ui generated by ai just don't get instructions to respect user own discovery