Using AI as a design engineer
As a design engineer, a role that's all about craft, thoughtfulness and creativity, I should be skeptical of AI. By definition AI is not particularly great at those things, at least for now. But despite that, I kinda enjoy using it?
Preface
When I work on something, whether it's at Interfere or my personal projects, I like to experiment a lot. Design engineering is a lot about trial and error, and I often spend hours trying to find the “this feels right” moment.
This is where AI helps. Instead of spending hours on a concept that I'm unsure of, I try that concept out in a matter of minutes, and throw it away if it doesn't feel right.
There is an important distinction to make here though. I don't use AI to come up with ideas or to replace my own thinking. I use it to accelerate my workflow.
It's also very important to understand what the agent is doing. AI works best if the user is in charge and not the other way around. Don't just blindly follow whatever the agent gives you.
Setup
Whether you are using Claude Code, Codex, Cursor or any other agent, one of the most important things is the setup. I personally use Cursor for most of my work, so I'll use that as an example.
The first thing I do when starting a project is create a set of rules for the codebase.
You already have a pretty good idea of how you want to do certain things. Whether it's about using will-change, using the cn utility instead of template literals, design system usage or something else.
I like to keep rules short and to the point, often referencing other files too. This is something that is recommended by Cursor in their blog.
Copying someone else's rules and using them without understanding what they actually do isn't all that great. If you're going to copy rules, I'd recommend trying to understand what they actually do first.
Humans can remember a lot of context across many different conversations. When talking to AI we sometimes assume it thinks the same way, but it doesn't. That's why when I start a conversation with an agent, I always assume it has no context, and that tends to lead to the best results.
Depending on the project, I use different sets of rules. For this website, for example, I have a couple which are about animation performance, React Compiler, using the cn utility instead of template literals and the design system.
All of these save me a great amount of time, since I don't have to describe these things every time I talk to an agent and I can always reference them in my prompts.
Commands
In addition to rules, I also use a couple of commands. The first one is /deslop. Depending on the codebase, I also create custom ones.
For example, at Interfere we have a custom review command that compares a pull request against specific rules that we follow in the codebase.
Models
I'm not an expert on models by any means, but I've tried a bunch of them. For the majority of the things that I use them for, the strongest models do a great job.
Figma MCP
When it comes to building UI, the Figma MCP has been a game changer for me. I've always been hesitant to use AI for building out UI since I wanted to have full control over every little detail. I thought it would always take longer to build UI with AI and then polish it instead of doing it myself.
However, if your rules are set up well, the output is surprisingly good. It is not perfect by any means, but building the scaffolding for complex screens with a lot of components is much faster.
Once the scaffolding is built, I start tweaking, polishing and animating. I can't stress enough how important it is to actually understand what the agent is doing. If you don't understand, ask the agent to explain.
Agent modes and prompting
Plan mode is especially useful for bigger features. The difference between using it and not using it can be significant.
Another thing that helps a lot is structuring prompts. Splitting a task into multiple smaller prompts makes the output much better and is also easier to follow.
MCPs
Outside of the Figma MCP, context tools that fetch up-to-date documentation are useful. Library and framework information can be outdated in model training data, so current documentation matters.
CLI
I mix and match between using an IDE and a CLI, but I've been using the CLI more and more lately. I find CLIs to be much better at bigger tasks than IDEs or their web counterparts, so I mostly use them for that.
Code review
My code review setup is pretty basic. I use another agent to review pull requests. Not crucial by any means, but having another layer of code review is always nice.
Writing less code
Another part of my workflow where I leverage AI a lot is writing less code. Not in the sense that AI writes the code for me, therefore I write less code, but where less code is written to achieve the same thing.
Sometimes you write the same code multiple times across the codebase and it's difficult to keep track of all of these duplications. AI is great at finding them and extracting them into shared components and utilities.
These are the kind of tasks I like using AI for the most: tedious migrations, repeated imports, file cleanup and consolidating functionality without changing behavior.
Conclusion
AI has changed the way I work on a day-to-day basis. On one hand it's fantastic: you can get things done faster than ever and experiment more than ever.
On the other hand, there is also more slop than ever. Handing off everything you do to an agent and outsourcing your thinking can hurt you in the long run. That's why I always try to use AI to accelerate bits and pieces that are tedious or time-consuming, but never to replace my thinking.
With such a vast amount of knowledge at our fingertips and the barrier to entry being lower than ever, quality and craftsmanship will be more important than ever. Design and user experience will become the product.
If you have any tips or tricks—or want to collaborate on a brand or digital product—feel free to reach out.