In short
Podcast Episode Notes: Leveraging AI - Episode 274
Episode Overview
- Title: Stop Building AI Demos: How to Build Production-Grade AI Solutions with Joanna Stoffregen
- Host: Isar Meitis
- Guest: Joanna Stoffregen
- Focus: Transitioning from AI demos to production-ready AI applications.
Key Themes
- AI in Business: The rapid evolution of AI capabilities in creating software solutions.
- Execution Discipline: Establishing structured processes to move from ideas to scalable solutions.
Summary
- Introduction to AI Solutions
- AI can build complex software efficiently, emphasizing that the real challenge now is execution rather than access.
- Importance of identifying business bottlenecks and leveraging AI to address them.
- Common Pitfalls in AI Development
- Many prototypes look good but fail in production due to:
- Inconsistent design systems.
- Hardcoded chaos leading to unmaintainable code.
- Poor management of dependencies and component reuse.
- Joanna's Background
- Joanna has a decade of experience in product management, with a focus on AI applications in the last three years.
- Aims to provide a structured framework for creating production-ready AI solutions.
Key Steps to Building Production-Grade AI Solutions
- Start with Design and Requirements
- Understand the project scope and user needs.
- Create a Product Requirements Document (PRD) outlining:
- Overview of the product.
- Target users and core features.
- Technical specifications and dependencies.
- Utilize Figma for UI Design
- Use Figma to create UI designs and derive a design system.
- Extract design tokens to ensure consistency across components.
- Implement Storybook for Component Management
- Document and build components in isolation using Storybook.
- Enables multiple teams to use consistent components across different application parts.
- Refactoring and Planning
- Implement refactoring prompts to ensure code quality and adherence to best practices.
- Use planning mode in AI coding tools to install dependencies and build components effectively.
- Iterate and Scale
- Build the application iteratively using established components.
- Keep the code clean and maintainable for future scaling and updates.
Key Takeaways
- Execution Over Access: The bottleneck in AI projects is often the ability to execute ideas rather than the availability of AI technology.
- Structured Frameworks are Essential: A systematic approach to development helps ensure that AI applications are scalable and maintainable.
- The Power of AI Tools: With the right AI tools, even those without technical backgrounds can create functional and production-ready software.
Conclusion Joanna’s insights emphasize the shift from merely building flashy AI demos to creating structured, production-ready solutions that can be scaled and maintained. The use of frameworks, tools like Figma and Storybook, and the importance of clear documentation are crucial for business leaders aiming to leverage AI effectively.
Resources
- [Joanna Stoffregen's YouTube Channel](https://www.youtube.com/@AIBuilderSpace)
- [Isar Meitis on LinkedIn](https://www.linkedin.com/in/isarmeitis/)
- [Ultimate AI Course for Business People](https://multiplai.ai/ai-course/)
This episode serves as a valuable guide for business leaders looking to harness AI responsibly and efficiently in their organizations.
Written by AI. May contain mistakes. Listen to the episode to check what was said.
Chapters
Tap a time to open that second in VOThe Shifting Landscape of AI in Business
0:45 to 3:10
Discusses the transformation in business processes enabled by AI tools.
“And then based on that, decide what kind of software or tool or automation can solve for that problem.”
Introduction to Joanna Stoffregen
3:10 to 3:34
Introducing Joanna, an expert in AI product development.
“And the reason I'm saying that, because of what I said before, this is the real only limiting factor to be able to 3x, 5x, 10x your business, especially if most of your business is only knowledge work.”
Joanna's Journey and Approach to AI
3:34 to 5:14
Joanna shares her experience in product management and how AI has changed her approach.
“So yeah, as Sar mentioned basically, I have been a product manager working with companies for the past 10 years.”
From Idea to Prototype: The Role of AI
5:14 to 6:28
Joanna discusses the transition from prototype to production-level AI solutions.
“And much faster, instead of having one variation to present to the client, we can directly give three, five, ten unlimited essentially variations.”
Building Production-Grade AI Solutions
6:28 to 8:13
An in-depth look at the process to build production-ready software using AI.
“say where you're from, what's your background, what are you trying to get out of this session, and just introduce yourself so other people can get to know you and you can network as well.”
Creating Scalable UI Designs
8:13 to 9:10
Joanna explains how to create scalable user interfaces for AI products.
“So we will be looking essentially on the, on the, on, on, on the process of how to go from design to production ready code.”
Collecting Inspiration for UI Design
9:10 to 14:01
Joanna shares tips on gathering design inspiration for software interfaces.
“So as I mentioned before, there's a lot of tutorials out there that will tell you, okay, you have a screenshot pasted to AI and you get perfect code.”
Inspiration for UI Design
14:01 to 16:40
Learn how to gather and utilize UI inspiration from existing websites.
“Like you can find, for instance, how Revolut is doing their UIs, how Vice and so on from big companies can actually show you afterwards.”
Using Figma Make for UI Components
16:40 to 19:26
Discover how to use Figma Make to recreate designs and generate code.
“Yeah, that's actually a very good point.”
Figma's AI Capabilities
19:26 to 20:50
Figma can create user interfaces based on code inputs without prior inspiration.
“But what Figma generates, on the screen it just looks the same, but this is actual real live working components.”
Show all 31 chapters
Understanding GitHub for Version Control
20:50 to 22:15
Learn about GitHub and how it manages code history and collaboration.
“And then I actually tested it a couple of months ago.”
Generating a Design System in Figma
22:15 to 23:46
Understand how to generate a comprehensive design system using Figma.
“So it's really, really simple, but it's just a repository to save all your code and all the supporting documents, such as user interface capabilities and stuff like that.”
Efficiency of AI in UI Design
23:46 to 25:58
AI drastically reduces the time required to create detailed UI designs.
“I first copied essentially all the screens that I created from Figma Make.”
Transitioning to Code with Cursor
25:58 to 28:00
Explore how to use Cursor to transition from design to code effectively.
“I mean, okay, not 30 seconds, a bit more with the back and forth, but it's not weeks.”
Integrating Figma with AI Coding Agents
28:00 to 29:20
Learn how to connect Figma design components with AI coding agents like Cursor.
“And I use Cursor and I use Replit and I used to use some others.”
Understanding Product Requirements Documents (PRD)
29:20 to 30:40
Discover the importance and components of a Product Requirements Document for AI projects.
“We need a folder with this essentially documents here.”
Automating PRD Creation with AI
30:40 to 33:40
Explore how AI can simplify the process of creating detailed project requirement documents.
“So overview, what is the product that we are building?”
Defining User Stories and Specifications
33:40 to 36:30
Understand how to create user stories and specifications for UI components in software development.
“And again, I don't know how to write these documents.”
Connecting Figma and Cursor via MCP
36:30 to 39:40
Learn how to leverage MCP to integrate Figma with AI tools like Cursor seamlessly.
“So yeah, so here are the specs for each of these pages.”
The Importance of Design Tokens in Development
39:40 to 42:00
Discover how design tokens streamline coding and maintain consistency in software design.
“Well, you can do this manually by copying and pasting documents.”
Transitioning Figma Designs to Code
42:00 to 43:50
Learn how to convert Figma design systems into design tokens for code.
“And in code, it will look something like this.”
Building UI Components with Storybook
43:50 to 46:00
Discover the process of building and documenting UI components using Storybook.
“So now essentially, your AI coding agent is translated all of that design decisions here into code.”
The Importance of Consistency in Component Design
46:00 to 47:50
Understand why maintaining consistency in UI components is crucial for future scalability.
“that you need to use the components to keep it consistent.”
Refactoring Components for Best Practices
47:50 to 51:40
Learn how to refactor components to adhere to best practices in UI development.
“so you can actually know, right, this is my primary button, this is secondary button, This is how it looks like.”
Creating Production-Ready UI from Components
51:40 to 55:30
Explore the process of building a production-ready UI from components.
“That essentially is doing the same thing as the component refactoring prompt is essentially enforcing all our design styles.”
Granular Requirements Lead to Better Software
55:30 to 56:01
Discover how detailed requirements enhance the smoothness and maintainability of software.
“The more granular you're going to be with defining your requirements and the flows and the building blocks and so on, the better off your software is going to be.”
Improving Existing Applications with AI
56:01 to 56:36
Learn how to enhance existing applications using AI tools for redesign and functionality.
“it's going to run smoother, but it's also going to be easier to maintain and more scalable if more people need to work on it or you want to build more stuff on top of it afterwards.”
Rebuilding Applications and Creating New Software
56:36 to 58:08
Discover how to rebuild applications from scratch using AI, even without the original code.
“I mean, if you have the code in GitHub, you could open it in any AI coding agent and go through the same process and just rebuild it.”
The New Era of Software Development with AI
58:08 to 59:38
Understand how AI simplifies software development for everyone, regardless of technical background.
“Last night, I already have the requirements documents.”
Connecting with Joanna Stoffregen
59:38 to 1:00:29
Find out how to connect with Joanna for further learning and collaboration opportunities.
“If people want to learn from you, hire you, work with you, like these kind of things, what are the best ways to do that?”
Embracing Experimentation in AI Development
1:00:29 to 1:01:09
Explore the importance of experimentation in AI and its potential to enhance productivity.
“It's called AI Builder Space that I share actually all this kind of like interesting tutorials about how I build products.”
Transcript
Automatic transcript. May contain errors.0:00Joanna Stoffregen:Hello and welcome to another live episode of the Leveraging AI podcast, the podcast that shares practical ethical ways to leverage AI to improve efficiency, grow your business and advance your career. This is Isar Maitis, your host, and we have an incredible episode for you today. And I'll explain why. In the past two months, the world has literally flipped on its head. AI agents can now build more or less any knowledge business process you can imagine. That includes the agentic side, as well as creating actual software products to do anything you want the software to do. That means that you need to look at your business and figure out what are your biggest bottlenecks.
0:48Joanna Stoffregen:And then based on that, decide what kind of software or tool or automation can solve for that problem. And you can build it with no technical skills. That means that the world has moved from a world in which the limitation for companies to do things and solve problems was having more resources to a world in which you need three things. There are three limiting factors. One is great ideas. You need to know what is the thing that you can do in order to grow your business. The second thing is prioritization, because very quickly you will have a lot of these ideas and you need to decide based on the right balance between effort, ROI, and risk, which are the projects you want to go after.
1:33Joanna Stoffregen:And then the third one is having great requirements, documents, and frameworks that will allow you to go from an idea to an actual working solution that you can actually use in your business. Now, the first two are not that hard, right? Coming up with ideas, if you understand your business, is not that hard. Prioritizing, a little more difficult, but still, if you know what is the risk, what is the effort, and what's the potential ROI, it's still not that hard. The third component is tricky. How do you go from an idea in a structured, controlled way to a working product that actually delivers on the needs that you have?
2:12Joanna Stoffregen:Our guest today, Joanna Stoffergen, has been doing product development in software companies for a decade. In the last three years, she's been heavily focused on doing that with the assistance of AI, and she's absolutely brilliant at it. knowing how to take AI and apply it in a way that knows how to take an idea and create a product and a process that your company or other companies can benefit from in the most effective way. Now, in today's show, she's going to show you detailed framework on exactly how you can do the same thing. So she's going to walk you through all the different steps and all the different components that you need to go from an idea in your head or in somebody else in your company's head to a working product that actually delivers business value.
3:02Joanna Stoffregen:I find this to be potentially the most important skill in the business world today. And the reason I'm saying that, because of what I said before, this is the real only limiting factor to be able to 3x, 5x, 10x your business, especially if most of your business is only knowledge work. And so I'm really excited about this episode and I want to welcome Joanna to the show. Joanna, welcome to Leveraging AI.
3:33Hi everyone. Hi Sar, thanks for having me. So yeah, as Sar mentioned basically, I have been a product manager working with companies for the past 10 years. Just the past and now basically I own my own AI product development company and we essentially build AI-based products for companies And just that one year ago, my whole approach, how essentially we build products completely changed. So my approach, like even one year ago, working with design and engineering was that me as a PM. So I'm a product manager, right? I'm not an engineer. was to, we had the project brief. I will essentially create rough wireframes of the UI, of the product, essentially.
4:26Then I will give that into designers to actually come up with the creatives, with the UI designs on Figma. Then we had a lot of back and forth. We had also, so here you can imagine, we have also stakeholders, right? We have the client, we have the team of the client, we essentially have the engineers, we have the designers. So we have the designs from the design, then we will need to show it to the client. They will give some modifications back to the designer, loop, repeating, repeating. Then we would need to give it to a front-end developer to build essentially the whole UI and then the back-end.
5:09So this was my approach just one year ago. So today, what happens with the essentially with having Opus 4.6, we have in Figma Make and everything, all this that I described, I can actually do it myself. Right. And much faster, instead of having one variation to present to the client, we can directly give three, five, ten unlimited essentially variations. So my my whole like what I want to show today is not just OK, because everyone can can you see all these tutorials that say, yeah, just present a screenshot. AI will actually just one shot create it for you. Okay, fair enough. You can do that.
5:57However,
6:01basically, it's good for a prototype, right? But when you want to scale it, you need actually a system to have all the components and so on. So let me now already share my screen so we can get into it and show you the process.
6:16Joanna Stoffregen:Yeah, as you're doing that, I will say a few things about it. First of all, I want to thank all the people who are joining us live, whether you're joining us on LinkedIn or on the Zoom call. Thank you so much for being here. Go introduce yourself, say where you're from, what's your background, what are you trying to get out of this session, and just introduce yourself so other people can get to know you and you can network as well. If you're not here with us live, you should be. We're doing this every Thursday at noon Eastern time with amazing people like Joanna, and you can come and learn and ask questions and network with other people who are interested in AI.
6:51Joanna Stoffregen:But I will add two things to what Joanna said. As somebody who's been in this space as well, again, I ran software companies for 20 years, and now I've been running my AI consultancy for three years, and I do a lot of this kind of work. There is a huge difference between a prototype slash demo to a production level piece of software that other people can use effectively, consistently without issues. And you cannot one-shot a production-level solution unless it does something very, very basic. But if it's a more sophisticated, highly, yet, I agree, yet is a key word. But as of right now, you need to give AI the right environment, the right solution, the right tools, the right descriptions, the right requirements.
7:39Joanna Stoffregen:it's still magical it still happens in one percent of the time it used to happen a year ago but you still need to do these things if you want to get the right outcome yeah i agree with it with with the yet so i don't know if this will models are actually getting so much better i mean especially opus 4.6 i'm like wow magic you know like it's far ahead of any other model and i don't know what will happen in three months. So take this, maybe this, the whole thing that I will show you now, maybe it will not be valid anymore, but for now let's like look into the process. All right. So we will be looking essentially on the, on the, on, on, on the process of how to go from design to production ready code.
8:23I will actually show you, so I will just show you first, we will go over how essentially I build this UI, like a UI product, like a SaaS. And I will also show you actually the process, which is pretty much the same to how to build amazing premium looking websites like this. We don't build websites, but it's actually fascinating to see that actually I myself, like one person can build premium websites that normally you will probably pay 5k at least if like a year ago for a design agency, right? So yeah, this you could do it actually on your own. So yeah, let's go ahead with first with the UI. So as I mentioned before, there's a lot of tutorials out there that will tell you, okay, you have a screenshot pasted to AI and you get perfect code.
9:24As I mentioned, this actually could be okay for a prototype, but it's not actually production ready. If you do that in any AI coding agent, you will end up with spaghetti code. I don't know if you know the definition of spaghetti code. It's kind of like a term defining basically a code that is unstructured, unmaintainable, and you will have hard-coded values everywhere. So imagine basically, so what I mean by that is that basically afterwards, when you just screenshot it and let an AI agent to build it, when you want to scale it to actually give it to an engineer to add more screens and so on, it will not be essentially scalable because the code will be unmaintainable and there's kind of like this spaghetti code that is defined, the definition of it.
10:20So how do we solve that? I will actually now show you the process of how to go from design to production-ready code. And we will look into these six steps. So first, we will look into the foundations. Basically, what do we need to give to our AI coding agent to start designing? So our PRD, our screen specs, and so on. Then how do we take the designs that we created on Figma and extract design tokens? So essentially design tokens are variables that will essentially, it's kind of like translating our design style into variables. I will go into more detail about it in a few minutes. We will look into Storybook.
11:05So Storybook essentially is an open source tool, very handy. is open source tool that essentially lets you document your components, build them and document your components in isolation from the main app. And that's very handy when you actually, as I said, build products that you want to scale. So you have somewhere to document it. So anyone who will get that code base, they can actually use that, check the components in Storybook to verify them and to use them afterwards in the com. So we will get back into that. We will look basically how to take all the design tokens and start creating our components, then our screens, and eventually how actually to refactor.
11:56So before we actually start all of that, we actually need to have an idea. So the process starts essentially when we are building the UI. For us, it starts in Figma, right? You have at this point an idea about what you want to build, right? For instance, we are at the moment, this example is called Workforce. It's essentially a company management, an employee management, essentially software. So you will have, sorry, where are we? You will have an idea of what you want to build. And at this point, we would need to collect inspiration. So what I mean by inspiration. So we need to understand, okay, what screens, what pages our product will have, right?
12:50Let's say one of our screens will have, let's say, a table, right? So we would need to collect inspiration for how this table should look like. Then different buttons, the navigation bars, how it should look like. So anything that will be included in your essentially UI, you need to collect the inspiration as well as all the states. So basically how does the table looks like when things are selected, for instance, and so on and so forth. So I suggest where to gather inspiration. Dribbble is a very good website. So let's say if I want to collect inspiration about dashboards, I will go here. There's many, countless of dashboards that I can choose from, and I collect inspiration about the design, right?
13:42The same with Mobbin. Mobbin is actually a paid tool that has actually real UIs from real companies. So for instance, oh, why?
13:54Joanna Stoffregen:I'm actually not logged in.
14:00Sorry, but this is essentially like also like Mobbin, but has actual screens from real companies. Like you can find, for instance, how Revolut is doing their UIs, how Vice and so on from big companies can actually show you afterwards. So what I do at this point, here is my inspiration, right? So for instance, here is how, and I take screenshot, right? And paste them into Figma. So here is how I want my navigation bar to look like. Here, for instance, is how I want my table to look like. So this is the default state. So this is what I mentioned before about also capture the state. So this is the table looks like how a user bulks edit the table.
14:49And here how the table looks like with the check marks and so on and so forth. So yeah, so collect inspiration about how each of the screens are looking. So this is, for instance, like how a dashboard looks like. This is how a homepage could look like and so on and so forth. So at this point.
15:07Joanna Stoffregen:I want to pause just for one second. Two things that related to that. One, if you have a website that you really, really like of your competitors or Apple or whoever, like, oh, my God, I want my website or my tool to look like this. You can use that as well. You don't have to go and start searching through hours. The other thing that I will say is if you are building stuff for your company, your company has a website already. It probably has some kind of a brand guidelines, which means which fonts you're using, which colors you're using, are using square corners or round corners for your UI. What type of color is the background versus the foreground versus the headers?
15:47Joanna Stoffregen:Usually companies already have that in place. And then you can use either that as a starting point or, like Joanna is saying, the combination of these two things. You can say, okay, I don't have any table examples and I don't have any dashboard examples. I like the dashboards and the tables from this website that I found. But here are my brand guidelines and I want you to use them and apply it to the formatting on how I like on the other things. And it's actually really easy to do because that's all you need. Like you don't need any technical skills just to show it the examples. By the way, if you don't have any brand guidelines already, but you do have a website that you like, just ask AI, point it to your website and say, hey, I want you to build our brand guidelines based on our website.
16:32Joanna Stoffregen:And it will build you a very nice document with the definition of the fonts and the sizes and the spaces and the color coding and all of those kind of things. Yeah, that's actually a very good point. Thanks for mentioning that. So yeah, if you already have kind of like the screens of your product and so on, paste them as here. And for instance, what also Isar mentioned now about companies that they already have a design system, they will provide you something like this, right? So they will already have it. But in my process now, I will actually show you how to actually do it from scratch. But if you already have that from your company or your client that they provide you, this will make things actually much easier to build the UI afterwards in Cursor or in the Gravity or Cloud Code, whatever that will go afterwards to build the actual UIs.
17:29So what do we do next? Essentially next, I'm using Figma Make. So for you of, let me show you, for those of you who don't know Figma Make, it's actually a tool from Figma that is essentially lets you vibe code like designs that they will also give you the code and the design and so on. So it's essentially something like AI Studio. And I'm really, really impressed by it. So what I, because the designs are amazing. So what I do, I actually, let's say, sorry. So the next step essentially is to go to design a couple of these screens in Figma Make. So we can actually afterwards generate from the screens the design system.
18:23So how we will do that here, just send to Figma Make. you will send to Figma Make. I have it before designed already. It's here. And I send it with, as you saw, with the right click. And I just told it, recreate this pixel by pixel, okay? Just this prompt. And it recreated me exactly as you actually saw before my screenshots. With minimal, I went a bit back and forth to actually obviously like adjust it on how I need it. But as you can see already, we have a very, very similar design of our screenshots. So Figma Make...
19:09Joanna Stoffregen:I want to say something important about this because people may, first of all, people, some of you are listening to this and not watching this. So what we see on the screen is Joanna took screenshots of another website as inspiration, as she said, brought it to Figma Make and literally told it to recreate it. But what Figma generates, on the screen it just looks the same, but this is actual real live working components. Buttons are buttons, areas are areas, mouse solvers are mouse solvers, regions are regions, components are components. This is a piece of code that now needs obviously a backend in order to work, but the code exists.
19:47Joanna Stoffregen:It doesn't just look the same. It's a functional working capability. I will say something crazy about Figma and the really cool things they're building right now. Figma now has the capability to even do this on its own without any inspiration. So you can write code for what you want the application to do. so the functional aspect of the application, bring it to Figma, and it will give you X number, and you can pick what X number, of UI options to pick from, and they all look incredible and professional. So it looks at the code, it understands what the application is supposed to do, and it creates the user interface on the fly with five different options for you to pick from.
20:29Joanna Stoffregen:So let's say you're completely clueless and you don't know inspiration, you don't know any of that, you can still get ahead with Figma. So I agree with you. It's an incredible tool. And the stuff they've done since they started integrating AI into it is absolutely mind-blowing. Yeah, it's crazy. I tested it first. I think it came last year in May. And I was not really happy with it. And then I actually tested it a couple of months ago. And I was impressed. Because look at this. I mean, it's pretty decent, I would say, right? Yeah, very good. Yeah. Yeah, so basically why we are doing this step.
21:06So as also Sarah mentioned, here you have the code, right? It's everything built in the React framework. So you could actually go ahead and also push it to GitHub, actually. uh yeah so here you can actually push it to github and then open that if it's the framework that you're using the same you could actually from now on just open it in your ai coding agent and continue from there and pause you for just one second those of you who don't know what github
21:37Joanna Stoffregen:is so when it's by the way an amazing tool for for uh kind of like history management of anything but it's mostly used in the software world. It's a repository to save your code, your files, your supporting documents and so on with version control, right? So you can commit. That's when you bring in a new piece of information. It doesn't really override the old one. The old one is still there and you can roll back to it, but it creates it as the latest version. And that's how most software is being written. Again, it sounds fancy. It's just like a Google Drive. You go to GitHub, you create a new project, and then everything else happens automatically because the AI or the tools know how to do it.
22:22Joanna Stoffregen:So it's really, really simple, but it's just a repository to save all your code and all the supporting documents, such as user interface capabilities and stuff like that. So, yeah, so why we are doing this step. So my intention to do this step is actually to generate also the design system. And we will get in a minute why it's important, but how I generate the design system from all of that. So I create the first few of these pages of the software. And then I just tell it, please generate me a design system from that. I actually, afterwards, in the end of the show, I can actually share your resource with exactly the prompts and everything that I'm using.
23:07But the point here is that we use Figma Make to first recreate the screens. And then we also tell it to create for us the design system, which we will be able to copy afterwards and move it to our AI coding agent. So we can use the same design system that has all our components, the typography, all our kind of like visual rules that we want to use in our UI afterwards. So we can, you know, reference that. So what I do at this point, there is this nice button here, copy design. And then you can actually just literally copy the design here. Sorry, on your Figma. I mean, I copied it before. I first copied essentially all the screens that I created from Figma Make.
24:03And this is kind of like, it's not a screenshot, right? It's actually editable. Everything here is editable. So now let's say if you have stakeholders, if you have a team, if you have a client that you want actually to show now these results, you can now work and iterate on it, right? And you also have now, as I said, basically the design system here, which has all the components, all everything that you need to go now afterwards when we will go to our AI coding agent to move it there so we can start designing our UI there. So as you can see, pretty, pretty detailed. Everything is actually detailed, all the components, how everything is looking.
24:51it did an amazing, really amazing job in extracting all of that.
24:58Joanna Stoffregen:For those of you who don't understand, this is how the buttons are going to look like, how they're going to look like when they're pressed, how they're going to look like when the mouse is over it, how is it going to look like on dark mode versus light mode, how is drop-down menus going to look like, how tables are going to look like, how are icons, like all these things. That's the visual language of the entire software. So when people go from one page to the other, when they scroll down, everything looks and operates exactly the same. And it is a very critical document. And this used to take weeks to do.
25:28Joanna Stoffregen:And now you saw Joanna give it a very short prompt and she had everything ready to go. So it's nothing short of magic. Yeah, it's crazy. Like literally this whole process that I show, it will probably take weeks, if not months, actually. even one and a half, I would say, a year ago. Because someone actually really needed to go and just design all of that one by one, one by one. And now you saw it. It's like 30 seconds. I got everything done. I mean, okay, not 30 seconds, a bit more with the back and forth, but it's not weeks. It's just a couple of minutes, hours. It's in minutes. It's in minutes, yeah.
26:11All right. So how do we go from there? How do we actually go from here now to building it in our AI coding agent? So let me now bring you to, sorry, to cursor.
Read the full transcript
26:28Here is cursor.
26:34So I have been using cursor for, I would say now, a year or so. And I still actually prefer it. I mean, I use the cloud models and cloud code inside cursor, to be honest. But I still prefer it because I do a lot of front-end work. And I would say for front-end, it also has this kind of select elements that I can actually also change things like this. So I favor it for now for UI. But yeah, so now, how did I end?
27:11Joanna Stoffregen:Before we dive in, are you going to explain what cursor is or do you want me to do that? No, I mean, I did not have the intention, but feel free to explain it here. Yeah, so two cents about what is cursor. So developers write code inside a development environment. It's called an IDE. There were multiple IDEs before the AI space. This is how developers write and manage and share their code. However, in the recent two years and definitely in the last year, there's been a really hard push towards vibe coding inside of a developer environment, making it accessible to anyone. So while it sounds really scary and complicated and there's like all these menus and so on, literally all it is, again, it's just a user interface for you to be able to write code.
28:01Joanna Stoffregen:And I use Cursor and I use Replit and I used to use some others. The two I use the most right now are Replit and Cursor. And you don't need to know anything. Literally, you need to install it. So install Replit or Cursor. And then you click on Create New Project. And you're up and running. So nothing to be scared about. And in this particular case, all Joanna did is bring her code components. And I'm sure she'll show us in a second. She brought the user interface components that she didn't generate, Figma generated, into Cursor. So now cursor has access to how the user interface is supposed to look like.
28:38Yeah, and actually you will have a chat interface there. You could actually chat as you would chat with any, with chat GPT, cloud, doesn't matter. And then you just have your here, your files and the code and everything. So how did I go from Figma to this? So this, I did not, as I mentioned, we could have essentially saved our Figma make code into GitHub and actually open it here. But as I mentioned, we might code with a different essentially framework that we cannot use basically what Figma make provide us. So my here, like what I'm going to show you is actually how to rebuild what you have in Figma inside an AI coding agent to be production ready for, you know, giving it afterwards to your backend engineer to put the business logic, the backend and so on.
29:43So first, how do we start? So we actually need this. We need a folder with this essentially documents here. So first, the PRD. What is a PRD? Let me give a preview mode. PRD stands for Product Requirements Document. And if we go back to our UI screens, what we want to achieve with the Product Requirements Documents is that essentially all the context that we have about our UI, about what it does, what screens it contains, what is the problem that the product solves. All of that, we actually need to give the same context to the AI agent so it can understand what we are building and so on, so it can build it.
30:39So let me show you what is included in the product requirements document. So overview, what is the product that we are building? Who are the target users? What are the core features? You could add what is out of the scope of volume one. Very important to add the tech stack. So basically, I am building the UI with this Next.js framework. I will use Radix UI. So basically, what is Radix UI? It's the component library. It's a headless component library. So basically like a library that will enable us to style afterwards a component with our design tokens and with our styling from the design system, right?
31:25And I also told it that we need to install Storybook. So this is the tool to document the components that we will look into it in a minute. And the screen specs. So what screens are included in the software? You will see actually here design system, but this is added actually after we generate the design system here. I just updated it afterwards. But the most important thing to add is to be very simple. Like what is the product about? What are the core features, the tech stack that you will build with, and the screen specs. And I have actually the screens for like three of these screens here, as well as the separate files.
32:10So I want to add one more thing about PRDs and requirement documents.
32:16Joanna Stoffregen:I said before that I think the limiting factors today is good ideas, prioritization and requirement definitions. i one of the first things that i built with like multiple agent orchestration solution is a solution that interviews me for 30 to 45 minutes with multiple questions across multiple aspects and then it writes a 30 to 50 page prd so i don't have to do the heavy lifting i don't actually have to need to know everything but it's just going to ask me questions like who's the target audience what are they supposed to do with it uh is there another audience that is going to use it? Is it just you?
32:53Joanna Stoffregen:Are you going to distribute it to other people? Is it people in your company? Does it need to go outside? What tech stack do you have now? All the stuff I don't know, it will go and research. So if it asks me, okay, do you want to write this in this platform and that platform? Like, I don't know. Then there's another agent that does online research and will come back with recommendations. But he writes without me having to do anything other than being the subject matter expert, it's going to ask me questions and I will answer. He writes 30 to 50 pages document of requirements across everything it needs to know, including user interface, backend, what it needs to perform, blah, blah, blah, blah, blah.
33:28Joanna Stoffregen:And then I can allow AI to plan the project and plan the execution and define the components and so on, because the requirement document is that detailed. And again, I don't know how to write these documents. When I used to run software companies, I had people like Joanna, like product people who would figure it out. But now you don't have to. Like AI knows how to create incredible requirements documents that are extremely detailed. By the way, what I'm doing afterwards is every time I have a new idea, I tell the AI to go and update the PRD. So now I have PRD, you know, 3.7 as far as the version, because it keeps on updating it every time I have new ideas or things that I want to evolve.
34:07Joanna Stoffregen:But that's kind of like piggybacking on this idea of requirements documents are very, very important. yeah and totally you can do it with ai actually i also do it with ai don't write it on myself um but not 30 50 pages though yeah so yeah um where where we are left so we have also the links to the screen specs individual screen specs that our ui will have and i will show you these the screen specs pages Are these the code from Figma or is this just screenshots? No, no, no, no, no. This is just the specs. So here's essentially. Oh, got it, got it, got it. Yeah, yeah. So basically if we go here, the screen spec about the dashboard will be what are the user flows, you know, mainly like stories, like user stories.
35:01As a user, when I go into the dashboard, I actually want to see my people's growth rate, whatever, or all the flows that you're able actually to do in the specific screen. So let me actually show you.
35:18Joanna Stoffregen:And who writes the user stories? Who writes it?
35:24Like usually the product manager. No, no, no.
35:26Joanna Stoffregen:But in this particular case, like, are you having AI do this or like a person writes the user stories? I mean, when we when I when we work, for instance, with with a project, we we need to kind of define what it's what goes in each screen. right? So I know for instance that for instance in this screen that this screen should contain a dashboard like a table sorry of all the people that are working you know like in this company these are should be the columns what each column are so on. So once we get that kind of like specifications from the client, then we are able to either... Actually, sometimes they provided themselves, but sometimes the specs could be just very vague, as I said to you, just like, hey, I want a dashboard, a table here, what we need to do, and then we can just...
36:28Got it. Yeah. So yeah, so here are the specs for each of these pages. what is the purpose of this dashboard, so what I'm able to do in this dashboard, right? What are all the user flows and so on? What data is displayed? So again, you need the data, right? Like what is the content or, yeah, let's say, what will be included there, the components needed, different states, and you could also have some edge cases, right? So these are essentially, when you open Cursor or your AI coding agent, these are the main documents that you need to start, the PRD and the specs for each screen. So once you have that, the next step is actually to open your chat here, reference the PRD and tell it, please read the PRD and plan and install all dependencies for this project, right?
37:35And I always, always select plan mode. So when I do that, the agent will actually read the PRD. It understands what my product is. It understands what tech stack and everything to include. So it can actually install all the technologies or the dependencies, all the libraries that we would need to actually start developing the product. Then afterwards, once you actually have it planned, you will build it and will start installing all your dependencies. You will end up with something like this. And then you're actually ready to start. So at this point, what we do next, we actually need to extract the design tokens from our design system, right?
38:31So how you do that, I have actually a prompt. So what I do, I copy that, that screen here. Where is it? Copy. Copy link to selection. And I go back to cursor. By the way, for this to work, you need to have the Figma MCP installed. And I use this. Pause for a second.
38:56Joanna Stoffregen:Again, for those of you who don't understand what that means. So we're using, let me do a quick recap, right? We started with getting inspiration from other websites and potentially our internal tools. Brought it into Figma. Had Figma help us define, A, how the screens are going to look like, but B, develop a language. This is going to be the design language you're going to use across the different things. Then we want to create the actual code to make the software work. We do that in a tool called Cursor or any other IDE. We're bringing the requirements documents. We're bringing in the information from the design, from Figma, into that document, into the development environment, in this case, cursor.
39:41Joanna Stoffregen:How do we do this? Well, you can do this manually by copying and pasting documents. You can do this by allowing both software to use the same place it saves. So as Joanna said, you can do this in GitHub. You can do this with local folders. You can do this in a mix of two. or today there's a concept of an mcp what is an mcp an mcp allows any ai tool to access any software that has an mcp without any heavy lifting which basically means you can connect figma and cursor without knowing how to write apis and connectors and so on it just works because the tool both tools have an MCP back and forth. So the two software knows how to talk to one another, and you don't really need to know more than that on how it works.
40:31Yeah. So it essentially lets Figma communicate with your AI agent and back and forth. So what we need to do at this point is to extract from our design system, the design tokens, right? So we mentioned before that design tokens are essentially variables that translate our design styles into variables. So without design tokens, imagine when you would just screenshot that and give it to the AI coding agent without actually having proper variables, proper design tokens. In code, it will actually hard code that this is, for instance, like a black button. This is, for instance, what color is this? A green badge, right?
41:28With design tokens, with the variables, we will know that actually our primary button is black. Our secondary button looks like this. This is how our input field looks, right? So tomorrow, when, for instance, you would want to change this button, the primary button, to blue, let's say, you don't have to go into 50 different files to find where we hardcoded the black color to actually change it with blue. And in code, it will look something like this. So this is without tokens, right? We have, for instance, the color, the hard-coded color, that it might be repeated 50 times in your code. However, with tokens, you will just have that the black color is a primary color.
42:25So you know that the primary button is black. So you just need to actually change in one place what is my primary button now to blue. and it will change it everywhere. So how we do that to actually translate our Figma design system into design tokens, I have this prompt, read the PRD, then look at my Figma design system. Let me actually copy it here. So I will just show you exactly how I will do it.
43:00So read the PRD. Here I will just reference it again.
43:08To understand the project, then look at my Figma design system. So here I would just need to copy the design system.
43:22And because we have the Figma MCP installed, it will just go to Figma and just understand everything. and extract all design tokens and create the custom properties and so on and so forth. So this is when you actually just go and click plan. You will end up with, where are the design tokens? No.
43:48Here, the design tokens. It will look something like this. So now essentially, your AI coding agent is translated all of that design decisions here into code. So it can actually start, we can actually use that design systems, the design tokens to actually start building our product. So once we actually have that ready, now we are ready to start building our components. And how we do that, again, I don't suggest that you take the whole UI and just start building it. Because actually, we would need to build first the components so we can use those components to actually build afterwards our screens.
44:43So how I will do that, I will just take, let's say we will start building the button components. I will take this essentially, the button components here, or you can actually just directly take it from here and start opening another chat and actually start telling it to build the button component. What it will do that now, if you remember, we actually installed Storybook. So Storybook, when I will start building the components, it will start saving all the components that we build here. So this is kind of like the tool that you will have all the components isolated from the main code. So here, as you can see, I have the avatar component with all the states, everything, how it looks like.
45:45Like I have the badges, how all the badges are looking, all the banners, how the banners are looking. So here I can actually modify them and so on and so forth. I can even have the code here and everything. So it's essentially a very useful tool when you are working, I would say, on a bigger project that has a lot of components, a lot of dependencies, a lot of screens. that you need to use the components to keep it consistent. So I go through -
46:17Joanna Stoffregen:Yeah, I want to pause you just for one second because I think it is critical for people to understand. Can you ask AI to just vibe code the thing that you wanted to vibe code? The answer is yes, and it will create it and will be consistent. But let's say it's something that will need to have 30 other pages in the next year. And let's say you're not working alone, you're working with two other people that are going to be working in parallel in order to build those pages and those additional functionalities. what this is doing the infrastructure that joanna is showing you is what makes everything consistent afterwards so it's not the first kind of like oh just write this thing for me and have it work it's write this thing for me but i know i will need to add other pages and other functionalities and other capabilities in the future and instead of going and figuring it out afterwards this is building if you want it's the difference between trying to build a lego car versus trying to build the Legos first.
47:12Joanna Stoffregen:And what we're doing is we're building the Legos. So after that, we can use the Legos for whatever we want to build afterwards versus just building the car because I can build the car. But then if I want to add a trailer to the car, well, now I don't have the pieces. I don't have the way to do this. And it's not going to look the same and consistent like the car that I built. And so being able to build these components in a way that are centralized, consistent and well-documented allows you and other people who work on this thing to build it in a consistent way that will look and work exactly the same.
47:48Yes, exactly. So it's mainly about consistency and to have a central place to document everything so you can actually know, right, this is my primary button, this is secondary button, This is how it looks like. As you can see, all the components that we actually have, that we will use in our UI, everything is clearly documented here for everyone to use. This happens automatically because when you would install the dependencies and everything, when you start building the components as I showed you here, it will actually show it in Storybook automatically. You don't need to do anything. So once we actually have all the components built, now we are, before we go to build the screens, I actually have also a command that refactors each component.
48:46So command, like I would say, like a rule or like a prompt, I would say, that refactors the components. and afterwards the screen. Why we actually need that is essentially to enforce all our basically senior UI engineer best practices so everything can be consistent and everything is saved and essentially the code is clean to start building. So I have essentially this refactoring command that I use after I build each component. And I suggest you also to have in the middle like a refactoring steps that enforces essentially rules and best practices of how I would say a senior UI engineer will do to build like the components.
49:43So yeah, so once actually we have our components built, how we end up with this is very simple from this point because what we will need to do, we will just need to, again, And let's say now if we want to build our home screen, you will just copy the link from Figma. Go to your chat agent. And what I say, I say, sorry, read again the PRD and also the specs from the particular screen, so the dashboard. So if you remember in the dashboard, in the specs, we actually describe all the user flows, all the data that we need to include, all the components needed. So now, for instance, it will have an idea about what components to use from Storybook and it will build it.
50:48So if I click and also the spec. So if I basically now let's finish the prompt. So read the PRD and also the specs from the dashboard screen specs here. and build the page. So I usually always, as I said, click plan mode, Opus will create now a plan and you will end up with the screen built afterwards. That it looks pixel perfect because actually we made all the preparation we build in advance our components. So we can now with one prompt build like a pixel perfect pages afterwards. So yeah, this is essentially the system. What I do afterwards, again, once I have the screen builds, I use the screen refactoring prompt.
51:40That essentially is doing the same thing as the component refactoring prompt is essentially enforcing all our design styles. Components are correct. Nothing is hard-coded. So essentially how a senior UI engineer will code it without the AI, we want actually to enforce all of that with the refactoring prompt. So yeah, this is essentially my process. Now we have production-ready code UI that can be handed over to engineers, to backend engineers, to add the business logic, the backend, and all of that. And also in case now another engineer want to come along and build the rest of the screens, everything is essentially built, defined.
52:37So it's easy now just to go from Figma to actually code just with one prompt and with like, you know, as I showed you before with the Figma MCP.
52:49Joanna Stoffregen:Amazing. I want to add a few things. First of all, a quick recap of everything we talked about. So the idea here is how to go from an idea in your head to a functional working interface in code. And the steps were, first of all, to be able to get the style that you want. For that, we used inspiration, like other sources, other examples that we want to use. The second step was to create Figma design. What is Figma? It's a design tool. It always has been a design tool. But until AI, people, graphic designers would design the designs. And now AI can do it for you. And we can do it, as Joanna showed, with one line.
53:30Joanna Stoffregen:Copy this design, and then you have it. Using this, you can create the design language, basically the overall how everything is going to look like. And based on that, you can define every single component. What could be a component? A button is a component. A drop-down menu is a component. a field that you can put your name in is a component. Each and every one of these things is a component, and there's hundreds of them in a website. But then this is where it gets really cool. In order to have this consistent across the board, what Joanna did is she said, instead of just taking the design as a design, I will allow my coding platform, in this particular case, Cursor, or Claude inside of Cursor, to build each and every one of those components as a library.
54:18Joanna Stoffregen:So now any future thing that I built has these reusable Legos, these reusable components that any person that adds more pages can use to build exactly the same stuff that I or can build new things that will look and operate exactly like all the other things. So again, there's a very, very big difference between building a quick and dirty app that you want to build and you can just let the AI incursor go and say, build this for me. And it will. And it will actually work versus something that you want to scale and maintain over time. And then the process that we did here of thinking about it in a very structured, organized way will pay off tenfolds in the long run.
55:03Joanna Stoffregen:And as you've seen here, it's not such a crazy investment in time. Like we just literally took you through the entire process, including explaining everything that needs to happen in about 45 minutes. Meaning without explaining, you can probably do the whole process in 20 to 30 minutes. And now you have a repository of well-defined components that sit inside your development environment that can be shared with other people who are working on the process all in one place. When I talked about the requirements document, the ones that I build that are much longer, they also have the functional requirement and the business requirements built into them, which means now the agents can actually go ahead and start writing the backend and the process and everything, and not just the front end.
55:48Joanna Stoffregen:And it goes back to the same thing. The more granular you're going to be with defining your requirements and the flows and the building blocks and so on, the better off your software is going to be. Both things means it's going to run smoother, but it's also going to be easier to maintain and more scalable if more people need to work on it or you want to build more stuff on top of it afterwards. There was an interesting question in the chat earlier that I want to mention. So the question was, can I use an existing piece of application that I have and improve it or update it with a similar process?
56:27uh do you mean basically like really redesign how it looks like so if you have an existing
56:35Joanna Stoffregen:application that you own the code for so you have the code for it somebody developed it for you can you now go in and say oh i want to rebuild it because i want the user interface to now be mobile friendly and i want it to look more like uh 2026 versus 2005 when it was originally built and I want to add this and that functionality to it. Yeah, 100%. I mean, if you have the code in GitHub, you could open it in any AI coding agent and go through the same process and just rebuild it. Yeah. It's actually also very common, right? That you have already your product and then you might want to change the design, you might want to change the components.
57:20and so yeah totally possible it's very common yeah yeah and i and i've i've done this multiple
57:26Joanna Stoffregen:times like actually open something that i had before again all you need is the code like if you have access to the code you can do this by the way if you don't have access to the code and you're not trying to rebuild salesforce but you're trying to rebuild a specific application that works in your business and it's 15 years old and you don't have the code and you don't even have support for it anymore, you can do that as well. You can take the software, explain to it what it does, show it the user interface, explain what you want it to do differently, explain what other things you want in the user interface, have it write a requirements document, have it write the user interface, and then go through the process we just defined.
58:05Joanna Stoffregen:And you can rebuild the software from scratch, but to your needs. And I've done that as well. I'm actually doing a project like this right now that I'm very, very excited about, that is combining several different ideas and several different pieces of things that I had before into one unified solution that is just tailored to my needs. And I thought about it yesterday. Last night, I already have the requirements documents. Most likely by the end of today, I will have version one. Most likely by beginning of next week, it will be fully functional and running. And this is the world we live in. Anything you want to build that can help you in your day-to-day, you can build with zero knowledge.
58:44Joanna Stoffregen:And again, Joanna has been doing product management for 10 years. I've been running software companies for X number of years. None of us have actually done everything we just showed you. This wasn't a product manager scope. This is not a CEO of a software company scope. This is stuff that other people, professionals in this used to do. And now there's AI tools who know how to do this. They know how to do the design. They know how to break the components. They know how to save it in the right place. They know how to write the codes to make it work. You don't need to know any of that. It sounds, the reason we want to show you, the reason I like these kind of episodes is I show you that literally anyone can write, not just create new software.
59:27Joanna Stoffregen:Again, today it's easy. Like with one prompt, you can create a piece of software, but create a piece of software correctly, professionally, in a way that will be scalable and that will work well in a production environment for lots and lots of people. Joanna, this was fantastic. Thank you so, so much. If people want to learn from you, hire you, work with you, like these kind of things, what are the best ways to do that? Yes, sure. So basically, you can contact me here from my company, labspit.ai uh we have a form or whatever if you want to work with us or just add me on my linkedin let me see here uh i probably will have the link there but yeah i will put the link in the show notes yeah feel free to add me on linkedin and we can continue the conversation there but yeah that's that's all and i also have a youtube channel that actually just launched uh to relaunched, I would say two months ago.
1:00:29It's called AI Builder Space that I share actually all this kind of like interesting tutorials about how I build products. So yeah, feel free to also subscribe there. Yeah.
1:00:43Joanna Stoffregen:So people in the chat really love this and I did too. So thank you so much. Thank you all of you for joining us and being active in the chat and asking questions and do these kinds of things. Like this is the age of experimentation. And if you're going to allow yourself the time and the energy to experiment, you'll be able to do significantly more things. Now, the cool thing, this sounds like a lot of work, but actually it's not. And once you figure it out, you'll be able to build software that's going to save you time every single day and every single week in things that you're doing, you or other people in your company on the day to day.
1:01:21Joanna Stoffregen:That's it for today. Thank you so much. Thank you so much, Joanna. have an awesome day. Thank you everyone.
From the publisher
Most AI projects look impressive… right until you try to use them in production.
A flashy demo? Easy.
A scalable, structured, production-ready solution? That’s a different game.
Over the past year, we’ve seen teams build incredible AI prototypes in days. But when it comes to:
• Maintaining consistent design systems
• Avoiding hardcoded chaos
• Managing dependencies properly
• Creating reusable components
• Refactoring for scale
• Enabling multiple teams to collaborate
Things start to fall apart.
That’s exactly what we’re addressing in our upcoming live session of Leveraging AI with Joanna Stoffregen. She recently published a YouTube walkthrough on building websites with AI that reached 26,000+ viewers. But what makes her approach different isn’t the tools.
In this session, she’ll break down how to move from “vibe coding” and experimentation to production-grade AI solutions, the kind that organizations can actually ship, maintain, and scale.
If you’re a business leader driving AI initiatives, this conversation is for you. The bottleneck in 2026 isn’t access to AI.
It’s execution discipline.
About Leveraging AI
- The Ultimate AI Course for Business People: https://multiplai.ai/ai-course/
- YouTube Full Episodes: https://www.youtube.com/@Multiplai_AI/
- Connect with Isar Meitis: https://www.linkedin.com/in/isarmeitis/
- Join our Live Sessions, AI Hangouts and newsletter: https://services.multiplai.ai/events
If you’ve enjoyed or benefited from some of the insights of this episode, leave us a five-star review on your favorite podcast platform, and let us know what you learned, found helpful, or liked most about this show!



