Skip to content

Vibe Code a Project from Scratch โ€‹

From zero to live URL in one session. Bootstrap, design, code, test, deploy โ€” all through conversation.

Who This Is For โ€‹

  • Founders building their first MVP
  • Developers starting a new project and wanting maximum velocity
  • Anyone who wants a production-ready app without touching boilerplate

Prerequisites: CodyMaster installed, one AI agent configured

What You'll Build โ€‹

  • โœ… Full project scaffold (design system, CI, i18n, SEO)
  • โœ… Production-quality code with test coverage
  • โœ… 8-gate deploy pipeline to staging โ†’ production
  • โœ… Working memory โ€” AI remembers everything across sessions

The Full Workflow โ€‹

Phase 1: Bootstrap (5 minutes) โ€‹

@[/cm-project-bootstrap] Create a SaaS dashboard for "InvoiceFlow"
โ€” invoicing for freelancers. Stack: Astro + Tailwind + Supabase.
Target: desktop-first, with mobile responsive.

What happens:

  1. Agent asks identity questions (GitHub org, Cloudflare account)
  2. Creates project scaffold:
    invoiceflow/
    โ”œโ”€โ”€ AGENTS.md              # AI manifest
    โ”œโ”€โ”€ .cm/                   # Working memory
    โ”œโ”€โ”€ src/
    โ”‚   โ”œโ”€โ”€ components/        # Design system tokens
    โ”‚   โ”œโ”€โ”€ layouts/
    โ”‚   โ””โ”€โ”€ pages/
    โ”œโ”€โ”€ test/                  # Test infrastructure
    โ”œโ”€โ”€ scripts/               # Deploy gates
    โ””โ”€โ”€ package.json
  3. Auto-generates platform configs (CLAUDE.md, .cursor/rules/, etc.)
  4. Initializes design system tokens, i18n files, SEO base

Phase 2: Design (10 minutes) โ€‹

@[/cm-brainstorm-idea] Design the dashboard UX for InvoiceFlow.
Key features: invoice list, create invoice form, revenue chart, client management.

Agent runs the Double Diamond process โ†’ produces qualified recommendation.

Then generate visual preview:

@[/cm-ui-preview] Create design concepts for the recommended InvoiceFlow dashboard

Review the Stitch/Pencil preview โ†’ approve or iterate.

Phase 3: Plan (5 minutes) โ€‹

@[/cm-planning] Plan the InvoiceFlow dashboard based on approved design

Agent creates implementation_plan.md:

  • Task decomposition
  • Dependency order
  • Test strategy per task
  • Deploy milestones

โš ๏ธ READ THE PLAN. This is your biggest leverage point. 2 minutes of review saves hours of rework.

Phase 4: Build (30-60 minutes) โ€‹

@[/cm-execution] Execute the approved plan

The RARV cycle runs autonomously:

Task 1/8: Setup Supabase schema + types
  ๐Ÿงช TDD: test โ†’ implement โ†’ verify
  โœ… 4 tests passing

Task 2/8: Invoice list component
  ๐Ÿงช TDD: test โ†’ implement โ†’ verify
  โœ… 6 tests passing

Task 3/8: Create invoice form
  ๐Ÿงช TDD: test โ†’ implement โ†’ verify
  โœ… 8 tests passing
  
...continues through all tasks...

Your role during build:

  • Review when the agent asks for approval
  • Provide feedback: "Make the chart blue, not green"
  • Don't read the code โ€” watch the test results

Phase 5: Verify (5 minutes) โ€‹

@[/cm-quality-gate] Full 6-gate check

All gates must pass before deploy.

Phase 6: Deploy (2 minutes) โ€‹

@[/cm-safe-deploy] Deploy InvoiceFlow to staging

8-gate pipeline โ†’ live staging URL.

@[/cm-safe-deploy] Promote staging to production

๐ŸŽ‰ Your app is live.


After Launch: Iterate โ€‹

# Next day โ€” add new feature
@[/cm-start] Add PDF export for invoices

# Agent reads CONTINUITY.md โ†’ picks up context instantly
# โ†’ Plans โ†’ TDD โ†’ Build โ†’ Verify โ†’ Deploy

Working memory means every session builds on the last.


Skill Chain (Automated) โ€‹

For experienced users, one prompt does everything:

@[/cm-skill-chain] Build and deploy InvoiceFlow โ€” 
invoicing SaaS for freelancers with dashboard, invoice CRUD, 
revenue charts, and client management

This triggers the full chain:

cm-project-bootstrap โ†’ cm-brainstorm-idea โ†’ cm-planning 
โ†’ cm-execution (with cm-tdd) โ†’ cm-quality-gate โ†’ cm-safe-deploy

Tips โ€‹

TipWhy
Be specific about your idea"Invoicing for freelancers" > "a SaaS app"
Choose a simple MVP scope3-5 features max for first version
Review the plan before approving2 min review = 2 hours saved
Deploy to staging firstAlways verify before production
Iterate in conversationAdd features one at a time after MVP is live

Open Source AI Agent Skills Framework