Those things are very, very important. Again, you want to keep your agent as focused as possible on the task and not make your agent kind of like, in a way, like think too much or like try to understand things. If you know things, you like share the information with the agent. And this is like the best way to actually prepare like a list of rules that then the agent can actually consume and understand. And those files tend to be like long because usually there's a lot of rules based on like the size of your repository, but can be like quite a lot of stuff. But we also say like, you know, AI can actually help you to write those rules. Like if you have a repository, you can ask your agent, okay, go through the repository, write a set of rules based on how I write components, how I structure my folders. That could be like a starting point, and then you can continue on that.
So, you know, I was showing up at the MCP, you connect one application, like Figma, to your agent, and you feel like, you know, a science, you're putting things together. Kind of like feel like a magician, like, you know, taking like a white rabbit from a hat. But, you know, like we also like think like, you know, it's important to understand like from the design side, what you have to do. You want to kind of like break down the screen in small bits because, you know, in the example I was showing you, I just selected like one simple section. You know, if you want to build a full page, don't select the whole page. Just do like section by section. It's way more important. You keep like the knowledge, kind of like short and focused, for your agent via the MCP server. And yeah, as I was saying before, like once you do this connection and things work, you feel like a bit of a magician, right? But you only are doing, dealing with one, like one MCP, one server. It's, you're a magician, but not a very good one. You're just juggling one thing.
Like, you know, what if like we combine like other context, other information from other sources, right? So let's have a look. In this like second demo, this is like continuation of what I was showing you before. So now we have something built, and I want to check like how does it look. So it's running localhost, and actually I'm asking to the agent like resize the window and check if actually on mobile, it's actually on one column layout because we want to be responsive. As you can see, it went there, took a screenshot. It's understanding like that doesn't look like the way we want it, and it's going like to change, like the actual file with the code, taken out the screenshot again. And now it's telling us, okay, I fixed that. Now it's actually one column layout. And you can see I'm accepting the file, and now you can see it's like fully responsive. And now it's so much better, right? You're actually using like multiple MCP, multiple context together to actually help your agent to build things in the best ways possible. What I was showing before like that knowledge, the ability to actually go into a browser, open a window, like moving, resizing the screen, taking screenshot, there was actually, there was like the Google Chrome like DevTools MCP as an MCP that really helps you to interact with a live page, and actually you can take screenshots, you can resize browser, you can even click on things, you can go like an entire flow.
Comments