So let's imagine some of you are not using Kiro, but you're just using some other coding assistant. How would you do that inside your coding editor? Well, you can do this manually. There's also some nice open source projects out there, but essentially what you do is you tell your coding assistants, you tell the AI, build a user requirements document, and have it what I specify exactly in there. Then you tell it to take that requirement, you add it into the context, and then you have it build a design document. So take kind of those high-level requirements and let's build a design around it. And then finally, let's create a task list, steps one through 10 of how to build this feature. You can do this all manually, just going back and forth and creating these documents.
So let's see an example of that in just in my slides here. We can give it a prompt here. We would choose spec mode, build a full stack application for my company's dashboard. Now that's pretty vague, but the coding assistant, in this case Kiro, would try to take that prompt and break it down into three parts, the three parts I just mentioned. So in this case, it would come up with a requirement phase. So this has all like an introduction, requirements one, acceptance criteria, and it has a very detailed, and you would go through this and double check to make sure it looks okay, that it didn't hallucinate anything. You'd also probably add some information into your context even before you start creating these files, so it understands better what you're trying to do.
Those are things called like rules files or steering files. Then it would create a design based off that requirement where it would basically explain the whole architecture. What are we using in the backend? Are we using PHP? Are we using like a meta framework like Next.js or Nuxt? And it would break all those down, and then you can go back and forth with the coding editor, coding assistant, and refine this or just update or delete things. And then of course, at every single part, you would review the markdown files for inconsistency, hallucinations, errors, any problems that you see. And then it would come up with a step-by-step guide on how to implement this feature or this larger task.
Comments