Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
V

vibe-coding-prompt-template

> AI 编程
Open source

Templates and workflow for generating PRDs, Tech Designs, and MVP and more using LLMs for AI IDEs

2.8K stars0 likes1 views
WebsiteGitHub

About

Templates and workflow for generating PRDs, Tech Designs, and MVP and more using LLMs for AI IDEs

Vibe Workflow — plan, build, check, and recover

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.


Start here

Using an AI coding agent? Open Claude Code, Cursor, Codex, or Gemini CLI in your project and say:

Run npx vibeworkflow and 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
See the flow as a diagram
mermaid
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:#000


Table of contents

  • Start here
  • Quick start and the 5 steps
  • Built with this workflow
  • Modern AI build paths
  • Prerequisites and tools
  • Advanced agent practices
  • AI safety and evidence
  • Project structure and deployment
  • Common pitfalls and troubleshooting
  • Further reading

Quick start and the 5 steps

Phase 1: thinking through the product

Do the first three steps in ChatGPT, Claude.ai, Gemini, or any other chat tool. You do not need a repo yet.

Deep Research

Check whether the idea is worth building - 20-30 min

This step gives you a quick read on demand, competitors, and whether the scope looks realistic.

  1. Open part1-deepresearch.md and copy all of its contents.
  2. Paste it into your preferred AI platform Chat (like Claude.ai, ChatGPT, or Gemini) and press Enter.
  3. The AI will ask you a few questions about your idea. Answer them truthfully in the chat.
  4. The AI will generate a comprehensive research document based on your answers.
  5. Save the output into a local file named 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.

Product Requirements (PRD)

Write down what the MVP actually needs to do - 15-20 min

This turns the rough idea into a scope you can build against.

  1. Copy the contents of part2-prd-mvp.md.
  2. Option A (Same Chat): If you kept your chat open, paste the prompt right below the Deep Research output.
  3. Option B (New Chat): Start a fresh chat, paste your saved research-[YourAppName].md content, and then paste the Part 2 prompt below it.
  4. Press Enter, answer any clarifying questions the AI asks, and let it generate your requirements.
  5. Save the final output as PRD-[YourAppName]-MVP.md.

Technical Design

Pick a stack you can actually ship with - 15-20 min

This step helps you choose the stack, deployment target, AI provider strategy if the product needs AI, and the verification path.

  1. Copy the contents of part3-tech-design-mvp.md.
  2. Paste it into your ongoing conversation (or into a new one, making sure to attach the PRD-[YourAppName]-MVP.md from Step 2 as context).
  3. The AI will ask questions regarding your budget, timeline, and complexity tolerance.
  4. Discuss the trade-offs it presents, including no-code/full-code, Vercel vs. Cloudflare, and whether AI evals are required.
  5. Once a stack is decided, save the output as TechDesign-[YourAppName]-MVP.md.

Phase 2: execution in your IDE

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.

Set up the agent files

Create the docs and instructions your coding agent will rely on - 1-2 min

CLI shortcut: tell your AI agent to run npx vibeworkflow from your project folder — the CLI is agent-driven, not meant to be run by hand. If you already have docs/PRD-*.md + docs/TechDesign-*.md (with the JSON meta block), it scaffolds the files below (skipping anything you've already edited) and verifies with npx 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.

  1. Create a clean folder for your app. Run npx vibeworkflow through your agent. Clone this repository only to develop the workflow itself.
  2. Open your app folder in your AI IDE (like Cursor or VS Code).
  3. Create a docs/ folder in your project root if it does not already exist.
  4. Move your saved documents into docs/ using these names:
    • docs/PRD-[YourAppName]-MVP.md
    • docs/TechDesign-[YourAppName]-MVP.md
    • optional: docs/research-[YourAppName].md (or .txt for backward compatibility)
  5. Open the AI Chat inside your IDE, type: "Read part4-notes-for-agent.md, follow its instructions, and set up my workspace."
  6. The agent should fill the CLI-installed boilerplates (or use the chat context pack), generate selected tool configs (CLAUDE.md, .cursor/rules/, GEMINI.md, .codex/config.toml, .agents/skills/, etc.), and fill placeholders using the files in docs/.

Default generated files:

  • AGENTS.md
  • MEMORY.md
  • REVIEW-CHECKLIST.md
  • agent_docs/project_brief.md
  • agent_docs/tech_stack.md
  • agent_docs/testing.md

Optional 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.

Build with AI Agent

Build the MVP in small, reviewable chunks

Choose your development environment and start iterating:

  1. Ensure your newly generated AGENTS.md, agent_docs/, and tool configuration files are physically in the project folder.
  2. Give your agent its first command:

    "Read AGENTS.md, propose a Phase 1 plan, wait for my approval, and then build it step by step."

  3. Treat the agent like a junior developer. Ask it to stop after each major feature, explain the diff, run the project-specific verification commands, and use browser/mobile checks for user-visible flows.
  4. Repeat the loop until your MVP is complete:

Recommended Loop:

╭──────────────╮      ╭──────────────╮      ╭──────────────╮
│    Plan    │ ───>│  ⚡ Execute │ ───>│   Verify  │
│  (Approve)   │      │  (One Feat)  │      │    (Test)    │
╰──────────────╯      ╰──────────────╯      ╰──────────────╯
       ▲                                           │
       └───────────────────────────────────────────┘

Built with this workflow

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.


Modern AI build paths

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.


Prerequisites and tools

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.

Platform selection guide

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythonai-agentsai-workflowbeginner-friendlyclaude-code

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.