From Vague Idea to Production-Ready Spec — in minutes, not weeks.
BuildBrief is an AI-powered interview app that transforms half-baked app ideas into comprehensive "Mega-Prompt" specifications. Designed for vibecoders — people building apps with AI tools like Cursor, Windsurf, and Bolt — it acts as a Senior Technical Product Manager, asking the right questions, making smart decisions automatically, and producing a spec document you can hand directly to an AI coding agent.
- AI-Driven Interview — A dynamic 5–10 question flow that adapts based on your project's complexity. No fixed questionnaire.
- Idea Analysis — Validates your concept immediately with a vision statement, implementation approaches, and honest cautions.
- Auto-Decisions — The AI makes non-critical technical decisions for you (database type, auth method, folder structure) and shows them in a live sidebar.
- Target-Specific Exports — Export your spec formatted for Cursor (
.cursorrules), Windsurf (.windsurfrules), or Bolt, or download as Markdown. - Task Breakdown — Post-spec AI-generated implementation checklist with phases, priorities, and time estimates. Interactive — check off tasks as you build.
- Starter Prompt — A ready-to-paste first message for your AI coder, generated alongside the spec.
- Session Persistence — Your interview progress survives tab closes and page refreshes (localStorage with 24h expiry).
- Error Recovery — Automatic retries with visual feedback. Go Back and Start Over buttons at every step.
- Existing Project Support — "I have an existing project" mode that focuses on extensions, not starting from scratch.
- Aurora Design System — A premium glassmorphic dark/light UI with Clash Display typography and subtle grain textures.
Client
- React 18 + Vite 5
- TypeScript (strict mode)
- Tailwind CSS v4 + Aurora design system
- Framer Motion (animations)
- Lucide React (icons)
- React Markdown + React Router
Server
- Node.js + Express
- OpenRouter API (
xiaomi/mimo-v2-flash) - TypeScript (strict mode)
- Zod (request validation)
- Winston-style structured logger
Shared
- Unified type definitions in
shared/types.ts - Path aliases (
@shared/*) configured in both client and server
- Node.js (v18+)
- An OpenRouter API Key
-
Clone the repository
git clone https://github.com/arjun-arihant/BuildBrief.git cd buildbrief -
Setup Server
cd server npm install cp .env.example .envEdit
.envand set yourOPENROUTER_API_KEY. -
Setup Client
cd ../client npm install
-
Start the Server (Terminal 1)
cd server npm run devServer runs on
http://localhost:3000. -
Start the Client (Terminal 2)
cd client npm run devClient runs on
http://localhost:5173. -
Open
http://localhost:5173in your browser.
- Describe your idea — "A Tinder for adopting rescue dogs" is enough.
- AI analyzes it — You get a vision statement, suggested app name, and implementation approaches.
- Answer a few questions — The AI asks only what matters architecturally (5–10 questions max).
- Review auto-decisions — Watch the sidebar fill with smart defaults the AI chose for you.
- Get your spec — A detailed Mega-Prompt covering user stories, data models, API design, and tech stack.
- Break into tasks — Optional: generate a phased implementation checklist with time estimates.
- Export & build — Download for Cursor/Windsurf/Bolt and start building immediately.
buildbrief/
├── client/ # React frontend (Vite)
│ └── src/
│ ├── components/ # UI components + templates
│ ├── hooks/ # usePersistedSession
│ ├── lib/ # exportFormats, utils
│ └── pages/ # LandingPage, AppPage
├── server/ # Express backend
│ └── src/
│ ├── index.ts # Routes + middleware
│ ├── openrouter.ts # AI integration
│ ├── prompts.ts # System prompts
│ └── state.ts # In-memory session store
├── shared/ # Shared TypeScript types
│ └── types.ts
└── docs/ # GitHub Pages site
MIT