Fenny Lie

Behind the Scenes: Designing with AI

How I've structured my design workflow around AI, from establishing the design system to exploring, iterating, and working directly in code.

Screens from Yunshu, QueryOn, Kavio and PAL, tilted in a grid: design-system pages, consoles and back-office dashboards

A look inside my workflow

Most of my design work now happens in Claude Code.

The biggest change isn't having AI generate interfaces. It's being able to work with actual components, explore different directions, and refine the implementation within the same environment.

Over time, I've built a workflow around it. Here's how I use it.

Foundation

Establishing the foundation

I still begin by defining the visual direction. That part hasn't changed.

What changed is what happens next.

Instead of building the entire component library manually in Figma, I document the product context, design direction, and references, then use Claude Code to establish the initial system.

When working on an existing product, I first have Claude inspect the codebase and map out the existing design system: components, variants, typography, spacing, and styling patterns.

This gives me a foundation to work from rather than starting over.

I use established systems like Tailwind and shadcn/ui, with shared design tokens and documented rules for consistency.

The system isn't something I finish once and leave untouched. Components are developed and refined alongside the actual screens.

The Yunshu design system, rendered from the website's real components
Studio DS, the QueryOn design system

Exploration

Making room for exploration

One thing I don't want is every new iteration replacing the previous design.

Design isn't linear. I need to compare different directions, revisit earlier ideas, and sometimes combine them.

For this, I have Mobbin MCP connected to Claude Code.

I use it to research relevant interface patterns, then have Claude generate different layout options using the same components and design system.

These explorations live on separate temporary pages, away from the working design.

This lets me see multiple directions side by side without constantly rebuilding or overwriting screens.

I review them based on the workflow, information hierarchy, and interaction requirements. Sometimes one direction works. Sometimes the final design comes from combining several.

For more complex explorations, I'll still work in Figma first.

Once the direction is decided, I refine it in the working design and remove the temporary explorations.

Three Billing directions for the Yunshu console side by side: balance first, top up in place, and spend and runway
Three directions on one temporary page, built with the console's real components

Fine-tuning

Solving the fine-tuning problem

Prompting works well for exploring ideas and making larger changes.

But it becomes less practical when the changes are very specific.

Say I want to compare different card paddings, corner radii, or typography sizes. I don't necessarily want to go through several rounds of prompting just to find the right value.

I recently came across a workflow from a senior product designer that solved this quite nicely. He had Claude build a temporary configuration panel directly into the prototype.

I adopted the same approach.

Now I can adjust the visual properties directly, see how they affect the interface, and settle on the values before applying them to the design.

I also made the controls follow the design system. For spacing and typography, the panel uses predefined token values instead of unrestricted sliders. I want the freedom to experiment without introducing values that don't belong to the system.

This also works alongside the layout rules I follow, from proximity and spacing hierarchy to relationships between padding and nested corner radii.

Once the details are finalized, the temporary panel can be removed.

A temporary tuning panel on the Yunshu console. Every option is a design-system step

Guardrails

Keeping the codebase under control

Working with AI in code comes with another challenge.

It's very easy to generate a new component when a similar one already exists, introduce one-off styling, or gradually move away from the original design system.

So I've built guardrails into the workflow.

I use coding-standard skills and documented conventions to guide how Claude builds and modifies components.

Shared styles belong in tokens. Recurring patterns should reuse components. Changes should follow the existing architecture rather than create unnecessary new structures.

I also run AI agents to audit the implementation after redesigning.

They review the screens for duplicated components, inconsistent styling, unnecessary hardcoded values, and deviations from the design system.

I review the findings and corrections before preparing the work for engineering handoff or integration.

A coding-standards review of the Yunshu website: each finding with its file, rule, issue and fix
A coding-standards review: every finding names the rule and the fix
The Yunshu website re-audit: open and new findings per page group, with spacing and component issues
The re-audit after fixes, checked by a second agent

Where my time goes

Where I spend my time now

A large part of my work is still exploration and iteration. The difference is how quickly I can move between them.

I can establish a component foundation, explore several directions in the actual interface, adjust details directly, and check the implementation without separating every stage into a different tool.

But generating more options isn't the same as designing better.

I still need to know what I'm looking for, recognize what isn't working, and make the decisions that shape the final result.

That's where I spend my time.

www.yunshurouter.com ↗
www.kavio.tech ↗