So to recap, the Blade AI server will talk to Figma and get as much design context as possible. It will talk to an LLM, it will pass all the instructions, design and component context and get the actual UI code that's written with our design system. So when we build both of these tool calls, we realize that we are not just building for engineers, we're also building for non-engineers who are now builders at Razorpay. So we didn't just stop at these two tool calls. We built a tool call that gives you an overview of what Blade is, a tool that helps create cursor rules, a tool that gives you general documentation of Blade, a tool that gives you documentation for patterns of Blade, a tool that helps you scaffold a new project using Blade. And the best part is that all of this is available in the open source.
Since Blade is open source, our Blade MCP is also open source, so you can go to this link and check out all of these tools and how we've built them. And the real magic happens when all of these tools work together to build something beautiful. Let's see it in action. So here I am asking Cursor to build a simple dashboard using Blade. It's making a tool called scaffold a new project. It's inserting some cursor rules and actually starting the project. Now it knows that because this is a simple dashboard, a dashboard needs a top navigation and side navigation, as per Blade's guidelines. So I'm trying to build this dashboard out, figuring out where to place this, fixing some basic errors that it finds, and now spinning up the server.
And we actually have an interactive dashboard with proper top navigation and side navigation that aligns with Razor based design philosophy. But the main content area is still empty. Let's try to fill up the main content area. Let's actually pick up a Figma design, copy a link to this design, and let's ask Cursor to build this design and put it in the main content area. Now Cursor is making a call to get Figma to code tool call. We've got the UI code, Cursor is figuring out where and how to place this in the main content area. Awesome, we actually have the design already placed there. We're going to ask it to put a heading in the main content area. What we realize is that the button is still not interactive, it does nothing. It's an add additional website button, but it's non-functional. So let's ask Cursor to actually make that button functional and add additional website flow. And this flow needs to adhere to Razor's design language. It needs to have a stepped form group. So it's reaching out to Blade's pattern docs tool call, and it's getting patterns for creation view and form groups. It's got the documentation for these, now it needs to contextualize it to add additional website flow. It's doing a bunch of stuff, figuring out how to create a form group.
Comments