How to Generate Production-Ready PRDs with AI (Then Build the App)
Generate a product requirements document for a no-code job board and turn the result into an inspectable implementation plan.
Watch on YouTube ↗Follow the walkthrough
1. Give the PRD generator a defined job
Set up the planning mode around product requirements. Save the result as a project file so different tools and models can use the same brief.
Watch at 00:00:002. Describe a narrow product
Amir supplies a job board for no-code roles as the example. Name the audience and one core workflow so the agent can derive concrete requirements.
Watch at 00:04:293. Make the deliverable a file
If the agent returns its answer in chat, ask it to save the PRD to the workspace. Check the features and technical assumptions before asking for implementation.
Watch at 00:06:124. Review the flow diagram
Request a Mermaid diagram of the primary user journey and data flow. Inspect the steps and revise mismatches while the design is still easy to change.
Watch at 00:07:51
Keep the PRD and flow diagram together so the builder and reviewer can work from the same decisions.
Read the transcript
All right, now let's actually put this custom mode into use. This is probably the most foundational custom mode for anytime I'm building a specific app. I always start with the product requirements document or the PRD. This custom mode is perfect because it's a perfect balance between a product manager and a technical architect or engineer. It brings a hybrid between how the product should be built and the technical aspects of it that go behind
the scenes. Now the most important thing is when you're using this PD generator, ensure you have all the right settings in place. I always just make sure that I have tools enabled, advanced options, prompt is right, and we have the set model in place as well. We're using a thinking model here, 03, which is really good at sequential thinking. And the most important thing is that we have all those check marks in place. You'll see that I have MCPS enabled. We're not
going to use MCPS in this instance here for this purity generator, but I'll show you what that looks like in another example. Just to be quick, you can use it for example like a PEX search MCP where you'll do a search on a specific topic, use that as research or context and then pull that in to actually inform and generate a PRD based on whatever research the MCP brought back for you. But we're not going to be doing that in this case because it's just not
necessary. Now, the most important thing is that once you have the prompt and the settings in place, we're going to get started with building our first initial PRD. We're going to keep these simple. We're going to call this PRDMD. Now you'll see I use MD files quite a bit. This is just a personal preference. You can use text files or MD. I use MD because I can then just interchange all these files or I guess they're very interoperable. I can use this in
Obsidian or other tools. Markdown is very broad and universal. It's accepted and used everywhere. It's just a personal preference. I recommend you probably stick with the MD file format. Now in this prompt specifically, this PRD generator is not only going to give you from a product aspect of what the persona should look like, the core stories or the ICP or the key features, but it gives you a breakdown of the app scaffolding. It gives you an idea of
what the schema structure will look like. It gives you an idea of the system architecture diagram and a detailed task breakdown. This is important because it's putting together a plan that's considering all of this and a full breakdown of this because it's giving you a full breakdown of the database schema, the scaffolding. The thinking model is doing all this for you. So that when you switch to agent model as a developer to execute on this, it doesn't
have to use a lot of context and input to actually make those decisions because it's already thought out for. Now you'll see that this PRD already has some recommendations on the technical stack and what it should use in most common apps. React is used as the framework. It's a JavaScript framework. If you're not familiar with this, I do recommend you actually just get a an overview or primer on just programming languages and how apps are built. Maybe I'll do a
separate module on this and just give you a highle overview of all the different languages. But commonly used programming languages are JavaScript with React and TypeScript. sometimes Nex.js swalt. Now React is important because it's so commonly accepted and used by a lot of developers but also if you're building in bold or lovable they also use React and if sometimes you'll see people actually build in lovable and then migrate to cursor with their
codebase to keep building on it and it's just a very universal like programming language. Also the back end the database subabase is very common. So people typically build in React they use Subabase and they use a framework called Nex.js JS which is a package that helps kind of the co all together from a lot of the things you would need to make an application functional and then they use superbase as a database to connect real information on the database to the front
end and then host it on something like versol or versell in this instance we are going to be using react we are going to be using superbase I'll show you where you can deploy some of this codebase in later modules as we build this kind of MVP app but for now just think about the fact that we're going to be using react and then also using tailwind as the utility styling class a lot of apps that have styling. They use something called CSS. You can write CSS
directly in there or you can use a package like Tailwind which is a set of utility classes that you can apply to your codebase quickly build designs and quickly build the front end without having to actually write it yourself. Again, this is not a Tailwind or programming deep dive. I'll provide some resources for that, but I'll cover in maybe a separate module just going through what that actually looks like. So we have our purity file and I usually
just like to write down what my end outcome is or what I like to do which is create a simple job board creating no code jobs like for web flow framer make.com nan and similar roles for the MVP I want to keep it simple I only want to have mock data on the front end and no database now the key thing here is I always want to when I'm building a product is to just isolate what the minimum bio product looks like what is just initial version of this product
without having to connect to a backend or a server and I just want to get up and trying to see what it looks like. So, what I wrote down is keep it simple. Mock data on the front end, no database connection, and typically job boards have three roles. People that can view jobs on the main page, employers to post jobs, and the admins to review, approve, delete jobs. For MVP, just focus on the public facing jobs, job board with mock
data. This just keeps things simple so we can get things going and then we'll work backwards to connect the database. We just want to make sure that we get the MVP where we can just see the jobs and see what it looks like and then we'll think about how we connect the database. So what we're going to do is in the chat interface here we're going to reference the PRD. You can drag it over or ultimately you can go prd.md and add this as context or if you wanted to
you can actually go at prd and I'll write here make sure I have the mode selected say based on this initial prd please complete it and make it comprehensive comprehensive all right we're going to hit send and what's going to happen is two things sometimes the thinking models Again, we talked about how they're difficult to make tool calls. Sometimes it may actually make the tool call and edit the file or give you the response
like it is right now in the chat and then you have to prompt it to say, "Hey, add it to the actual file." So, I'm glad this happened because I want to show you sometimes how to call and fails if you're not very explicit. If I were to revise this prompt and I'm going to do it to show you, I would actually say make sure you add it to prd.mmd. That happens and it's completely normal. But what's really special about this PRD generator is it's going to give you the
scaffolding and also memory diagrams on how you would build out the flow or the data flow between entire architecture of the app itself with the database schema which is insane because it is all the thinking for you. It's very comprehensive from a feature standpoint as well. So it failed a tool call. it wasn't able to actually create the system architecture diagram and you'll see the code behind the diagram but the tool call failed and what we can do is
why don't we actually get the model to add this to prd MD and update the doc and then what I'll do is I'll switch the model anytime your prompts don't work likely is an issue with the model itself or the way you've prompted and I'll cover the key aspects of prompt engineering but you always want to give a context and be very direct as to whether it should run an MCP or update a file and try to give it as target as possible to avoid any errors. You can
see that now it's actually updating the PRD file with what we've talked about. So in this instance, it's going to go ahead and update the PRD file and we can say make sure you include so you saw how I added the plus button. You can actually insert a message whilst thinking through make sure to include the mermaid diagrams as well. So we insert a new message and hopefully it'll actually update the D diagrams and add the entire PRD in there. So as you
can see here we have the entire PRD itself in there. I'm just going to remove this. It did not update or edit that part. But we have a very cont comprehensive PR based based on what was provided. And what I'm going to do is I'm going to source a model to claw 4 sonnet and say can you please generate more mermaid diagrams based on the flows and how to approach development. I want to have full context to prepare
for development. And let's see what it creates with memory diagrams and if we can add it back into the file. So it's going to create very comprehensive memory diagrams based on the PRD to make sure that we have full comprehensive plan on what this MVP will look like. Now something interesting is happening here. I'm seeing the PRD tool call. It's taking some time and this is likely because I'm using a max thinking model
which is not the right approach. So I'm actually going to press stop, change the model, go to fra claw force on it and I'll say included in the doc and in this chat so I can see what it looks like and hopefully in this instance I'll remove a max mode so it's not doing advanced reasoning thinking because it doesn't need to and it can create these number diagrams and just make the tool calls so we can get done and move on to our next step.
And it's gone ahead and actually added more memory diagrams. This is not necessarily all the time, but we're just showing the primary user journey and what that is. So you can see right here what the flow looks like, which is pretty cool. The MEP data flow. So basically, it's going to use Nex.js page load, React state management. One thing I don't like is I actually don't want to use Nex.js. This is just a technical preference. Just I want to keep things
simple and just use React Router. Look, it even created a development workflow of what that process will look like on a day basis. So imagine if you're actually a product manager and you want to create a development timeline, which is insane. And then say management flow, development strategy and approach. It failed the last tool call just it has all of the comprehensive flows in place. The only thing I would do is just
say I don't want to use Nex.js. I want to keep it super simple simple. What are my options? This is just a personal preference. There are no right or wrong way to do this. I probably maybe want to use I think it may recommend React Router. I'm not too sure. It's something that I just have a personal preference towards. Yeah. Oh, it's going to say Vite. Yeah. Or VIT. Perfect. Yeah. Nellifi or Versell. Perfect. Yeah.
So, what's really cool is that it talked about what it's recommending, why it's great, and how you set it up, and essentially how simple it is, and then a comparison. So, PHTML, CSS, React plus V, V. We're going to go with React invite or V, I'm not too sure on the pronunciation. I agree with the recommendation. Modern developments, component reusability, easy to stay management. This is perfect. We're ready to move on to the next