Four copy-paste prompts that walk Claude through building a full SaaS or full-stack app from idea to production code. Each prompt builds on the output of the one before it. You describe the product once. Claude handles architecture, file structure, ticket breakdown, and code.
Source: github.com/avijeett007/Develop-With-AI-Beginners-Guide by avijeett007
Why four prompts instead of one
Each stage gives Claude the context the next stage needs
The biggest mistake when building with Claude is asking it to write code before it understands what you're building. You get something that runs but doesn't match your requirements. You spend more time correcting than building.
This four-stage workflow fixes that by separating thinking from building.
Stage 1: MasterPlan. Claude interviews you about your SaaS, understands the product at a conceptual level, and produces a masterplan.md file. This is the blueprint everything else is built from. No code written.
Stage 2: Framework. Claude reads the masterplan and scaffolds the entire project structure. Empty files, folder hierarchy, placeholder comments. Still no real code. Just the skeleton.
Stage 2.5: Low-Level Planner. Claude reads the masterplan and breaks it down into detailed implementation tickets with acceptance criteria, technical requirements, and risk assessments. Your task board before development starts.
Stage 3: Development. Claude reads the masterplan, the framework, and the tickets, then writes production-quality code for each component.
Each stage's output becomes the next stage's input. The earlier stages prevent the later stages from going off-track.
What you build with these prompts
Any SaaS, full-stack app, or client-facing tool
The prompts work for any web application or SaaS product. For GTM engineers and agency owners, the most common use cases:
- A client-facing reporting dashboard that pulls campaign data and generates weekly reports
- A lead enrichment tool that runs your Clay waterfall via a simple UI
- An internal outreach brief builder that your team uses to onboard new clients
- A SaaS product that productises your agency's core service
- A prospect research portal that your setters use to prep for DM conversations
- A sequence management tool for managing multiple client campaigns in one place
The prompts don't care what you're building. They work because they force Claude to understand your specific product before touching code.
How the output files connect
Three files Claude produces and reads across the four stages
masterplan.md (output of Stage 1, input to everything else): project overview, target audience, core features, tech stack recommendations, data model, UI principles, security considerations, development phases, and potential challenges.
Project_Structure.md (output of Stage 2, input to Stage 3): the complete file and folder hierarchy with a comment in each file describing its purpose.
Implementation_Steps.md (output of Stage 2.5, input to Stage 3): the ticket backlog. Each ticket has a title, description, acceptance criteria, technical requirements, dependencies, complexity estimate, implementation approach, and testing requirements.
Stage 3 reads all three. Claude knows the big picture from the masterplan, knows the structure from the project files, and knows what to build next from the tickets. This is why Stage 3 produces better code than asking Claude to build directly.