Templates and workflow for generating PRDs, Tech Designs, and MVP and more using LLMs for AI IDEs
Templates and workflow for generating PRDs, Tech Designs, and MVP and more using LLMs for AI IDEs
Your AI can write code. This workflow helps you decide what to build, check what works, and recover when it breaks.
Used on projects like vibeworkflow.app, moneyvisualiser.com, caglacabaoglu.com, and RealDex App.
Using an AI coding agent? Open Claude Code, Cursor, Codex, or Gemini CLI in your project and say:
Run
npx vibeworkflowand follow its instructions.
Start in a clean project folder or your existing app. The workflow inspects what exists, then routes to start something new, continue my project, or something broke. Quick, Guided, and Deep planning keep the questions proportional to your project.
Use /vibe-change, /vibe-debug, and /vibe-verify in an existing app. Available in vibeworkflow 0.3.0.
Prefer to drive it yourself? Paste the prompts from this repo into any chat tool, in order:
| Step | What happens | Where |
|---|---|---|
| 1. Deep Research | Research with sources when browsing is available; otherwise produce a research prompt | Chat tool |
| 2. PRD | Define what you're building, and for whom | Chat tool |
| 3. Tech Design | Pick the surface, stack, and deployment | Chat tool |
| 4. Agent files | Generate AGENTS.md and agent_docs/ |
npx vibeworkflow or paste |
| 5. Build | Ship in small, verified passes | Your AI IDE |
flowchart LR
A[ Idea] --> B[ Research] --> C[ PRD] --> D[️ Tech Design] --> E[ AGENTS.md] --> F[ MVP / AI App]
style A fill:#667eea,stroke:#667eea,color:#fff
style B fill:#764ba2,stroke:#764ba2,color:#fff
style C fill:#f093fb,stroke:#f093fb,color:#fff
style D fill:#4facfe,stroke:#4facfe,color:#fff
style E fill:#00f2fe,stroke:#00f2fe,color:#000
style F fill:#43e97b,stroke:#43e97b,color:#000Do the first three steps in ChatGPT, Claude.ai, Gemini, or any other chat tool. You do not need a repo yet.
This step gives you a quick read on demand, competitors, and whether the scope looks realistic.
part1-deepresearch.md and copy all of its contents.research-[YourAppName].md (or .txt) or simply keep this chat open for Step 2.Tip: if your chat tool supports web search, source grounding, URL context, or deep research mode, turn it on and require cited claims with access dates.
This turns the rough idea into a scope you can build against.
part2-prd-mvp.md.research-[YourAppName].md content, and then paste the Part 2 prompt below it.PRD-[YourAppName]-MVP.md.This step helps you choose the stack, deployment target, AI provider strategy if the product needs AI, and the verification path.
part3-tech-design-mvp.md.PRD-[YourAppName]-MVP.md from Step 2 as context).TechDesign-[YourAppName]-MVP.md.Move into Codex, Cursor, VS Code with Copilot, Claude Code, Antigravity/Gemini-compatible agents, or your preferred coding setup. This is where the project becomes code and verified artifacts.
CLI shortcut: tell your AI agent to run
npx vibeworkflowfrom your project folder — the CLI is agent-driven, not meant to be run by hand. If you already havedocs/PRD-*.md+docs/TechDesign-*.md(with the JSON meta block), it scaffolds the files below (skipping anything you've already edited) and verifies withnpx vibeworkflow doctor. If the docs are missing, it installs the planning skills, auto-detects your AI tools, and prints agent instructions that drive the research → PRD → Tech Design interviews for you — your agent asks the questions one at a time; you just answer. The paste flow below still works everywhere.
This step fills out AGENTS.md and the supporting docs from your PRD and tech design.
npx vibeworkflow through your agent. Clone this repository only to develop the workflow itself.docs/ folder in your project root if it does not already exist.docs/ using these names:docs/PRD-[YourAppName]-MVP.mddocs/TechDesign-[YourAppName]-MVP.mddocs/research-[YourAppName].md (or .txt for backward compatibility)part4-notes-for-agent.md, follow its instructions, and set up my workspace."CLAUDE.md, .cursor/rules/, GEMINI.md, .codex/config.toml, .agents/skills/, etc.), and fill placeholders using the files in docs/.Default generated files:
AGENTS.mdMEMORY.mdREVIEW-CHECKLIST.mdagent_docs/project_brief.mdagent_docs/tech_stack.mdagent_docs/testing.mdOptional generated files:
agent_docs/code_patterns.md when the codebase has real conventions to preserve.agent_docs/product_requirements.md when the PRD is long enough to need a build-facing summary..claude/, .cursor/, .github/, .codex/, .gemini/, and local-agent files only for tools the user selected.agent-permissions.example.json only when AI tools, MCP servers, or product actions are in scope.Choose your development environment and start iterating:
AGENTS.md, agent_docs/, and tool configuration files are physically in the project folder."Read AGENTS.md, propose a Phase 1 plan, wait for my approval, and then build it step by step."
Recommended Loop:
╭──────────────╮ ╭──────────────╮ ╭──────────────╮
│ Plan │ ───>│ ⚡ Execute │ ───>│ Verify │
│ (Approve) │ │ (One Feat) │ │ (Test) │
╰──────────────╯ ╰──────────────╯ ╰──────────────╯
▲ │
└───────────────────────────────────────────┘This repo documents the workflow behind a handful of shipped projects. The goal is simple: do the thinking upfront, hand clean context to your tools, and keep the build phase moving through reviewable plans, tests, and browser checks.
| Project | What it is |
|---|---|
| vibeworkflow.app | An interactive web app built around the same structured vibe-coding workflow documented here. |
| moneyvisualiser.com | A money visualization website that visualized money in a 3D environment. |
| caglacabaoglu.com | A production portfolio and gallery site built with the same PRD-to-agent execution approach. |
| alpyalay.org/realdex | A mobile app built on React Native that lets you catch animals, and put them in a Pokemon-like collection. |
Maintained by Alp Yalay.
The five-step workflow stays the same whether you're building a standard web MVP, an AI product on OpenAI/Vercel/Cloudflare/Google, a local-model setup, or a builder prototype — you just make the target surface explicit in Step 3. See Modern AI build paths for the per-path defaults and the exact items to add to your Tech Design, kept current under the Freshness policy.
For AI product features, use AI feature patterns. For MCP, agent permissions, prompt injection, and provider retention decisions, use AI agent security. For builder-generated projects, complete the Builder exit review.
You need a modern browser, a few hours, and enough comfort with files and copy-paste to move between tools. You do not need to be an experienced developer.
| Focus Area | Recommended Tools |
|---|---|
| Fast Prototype | Lovable, v0, or Google AI Studio Build mode; verify export and deployment path before committing |
| Production Web App | Next.js/Vercel, Cloudflare Workers, or another bor |
No open issues yet, or sync has not completed.