Your Progress

Stage 1: The Easy Way

Stage 2: Level Up

🚀 VibeCode4Noobs

Build websites by describing what you want. No experience needed.

Start building on your own machine in minutes, then level up to deploying to the world when you're ready.

Get Started ↓

🏠 Stage 1: The Easy Way

Everything you need to start vibe coding on your own machine

1

Install Claude Code

Get the AI-powered coding tool on your machine

💻 What is Claude Code?

Claude Code is an AI tool by Anthropic that can read your files, write code, run commands, and help you build entire projects through natural conversation. It comes in two flavors:

  • Desktop App — A graphical application you download and install. Great for beginners.
  • Terminal (CLI) — A command-line tool for those comfortable with the terminal. More flexible.

Both do the same thing — pick whichever feels more comfortable. You can always switch later.

📦 Prerequisites

  • A computer running macOS, Windows, or Linux
  • A Claude Pro or Max subscription (or an Anthropic API key)
  • For the terminal method only: Node.js 18+ (download here)
Recommended for Beginners

📥 Download the Desktop App

  1. Go to claude.ai/download
  2. Download the installer for your operating system (Mac, Windows, or Linux)
  3. Run the installer and follow the prompts
  4. Open the Claude app and sign in with your Anthropic account

📁 Open a Project

  1. In the Claude app, click "Open Folder" or drag a folder onto the window
  2. Select (or create) the folder where you want to build your site
  3. Start typing what you want to build in the chat box at the bottom

The app gives you a familiar chat interface — just like messaging, but you're talking to an AI that can write code.

For Terminal Users

🛠️ Install via npm

Open your terminal and run:

Terminal
npm install -g @anthropic-ai/claude-code

📁 Open a Project

Navigate to your project folder and launch Claude:

Terminal
cd your-project-folder
claude

On first launch, it will ask you to authenticate. Follow the prompts to sign in with your Anthropic account or enter your API key.

💡 Pro Tip

Both the desktop app and terminal version read your project files to understand your codebase. Always open or navigate to your project folder first — this gives Claude the context it needs to give you better results.

2

Set Up Chrome MCP

Let Claude see and interact with your browser

🔌 What is MCP?

MCP (Model Context Protocol) lets Claude Code connect to external tools. The Chrome MCP extension gives Claude the ability to open your website in Chrome, take screenshots, click elements, and read page content — all from the terminal.

This means Claude can build your site and visually check its own work, catching layout issues and fixing them without you switching windows.

📦 Setup Steps

  1. Open Google Chrome
  2. Go to the Chrome Web Store and search for "Claude in Chrome" (by Anthropic)
  3. Click "Add to Chrome" and confirm the installation
  4. Click the extension icon and sign in with your Anthropic account
  5. That's it! Claude Code will auto-detect the extension

🎬 How to Use It

Once installed, just ask Claude to interact with your browser:

You

Open my index.html in Chrome and tell me how it looks

Claude

I'll open your site in Chrome and take a screenshot to review the layout...

Claude can also:

  • Take screenshots and identify visual issues
  • Click buttons and fill forms to test interactivity
  • Read page content to verify text and links
  • Test responsive layouts at different screen sizes

💡 Pro Tip

Chrome MCP is optional but highly recommended. Without it, you can still build sites — you'll just preview them manually by opening the HTML file in your browser.

3

Create a Smart CLAUDE.md

The secret weapon for effective vibe coding

🧠 What is CLAUDE.md?

A CLAUDE.md file in your project root tells Claude Code how to behave. Think of it as a set of instructions that makes Claude smarter, more consistent, and aligned with your workflow. It's the difference between a good AI assistant and a great one.

🎯 Why It Matters

  • Consistency — Claude follows the same patterns every time
  • Quality — Enforces best practices and prevents lazy fixes
  • Self-improvement — Claude learns from corrections and gets better
  • Verification — Claude proves things work before marking them done

📖 The Key Sections (click to expand)

📋 Starter CLAUDE.md Template

Copy this into a file called CLAUDE.md in your project root:

CLAUDE.md
# Workflow Orchestration

### 1. Plan Mode Default
- Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions)
- If something goes sideways, STOP and re-plan immediately — don't keep pushing
- Use plan mode for verification steps, not just building
- Write detailed specs upfront to reduce ambiguity

### 2. Subagent Strategy
- Use subagents liberally to keep main context window clean
- Offload research, exploration, and parallel analysis to subagents
- For complex problems, throw more compute at it via subagents
- One task per subagent for focused execution

### 3. Self-Improvement Loop
- After ANY correction from the user: update `tasks/lessons.md` with the pattern
- Write rules for yourself that prevent the same mistake
- Ruthlessly iterate on these lessons until mistake rate drops
- Review lessons at session start for relevant project

### 4. Verification Before Done
- Never mark a task complete without proving it works
- Diff behavior between main and your changes when relevant
- Ask yourself: "Would a staff engineer approve this?"
- Run tests, check logs, demonstrate correctness

### 5. Demand Elegance (Balanced)
- For non-trivial changes: pause and ask "is there a more elegant way?"
- If a fix feels hacky: "Knowing everything I know now, implement the elegant solution"
- Skip this for simple, obvious fixes — don't over-engineer
- Challenge your own work before presenting it

### 6. Autonomous Bug Fixing
- When given a bug report: just fix it. Don't ask for hand-holding
- Point at logs, errors, failing tests — then resolve them
- Zero context switching required from the user
- Go fix failing CI tests without being told how

# Task Management

1. **Plan First**: Write plan to `tasks/todo.md` with checkable items
2. **Verify Plan**: Check in before starting implementation
3. **Track Progress**: Mark items complete as you go
4. **Explain Changes**: High-level summary at each step
5. **Document Results**: Add review section to `tasks/todo.md`
6. **Capture Lessons**: Update `tasks/lessons.md` after corrections

# Core Principles

- **Simplicity First**: Make every change as simple as possible. Impact minimal code.
- **No Laziness**: Find root causes. No temporary fixes. Senior developer standards.
- **Minimal Impact**: Changes should only touch what's necessary. Avoid introducing bugs.
4

Start Vibe Coding Locally

No accounts, no deploys — just build stuff

📁 Create a Project Folder

Just make a folder anywhere on your machine. That's your project.

Terminal
mkdir my-first-site
cd my-first-site

🤖 Launch Claude Code

Terminal
claude

Then just tell Claude what you want in plain English. Claude will create the files, write the code, and you can see the results by opening index.html in your browser.

🔄 The Local Vibe Coding Loop

💬 Describe
🤖 Claude Builds
👀 Preview
🔄 Refine

Preview by opening the file in your browser, or ask Claude to use Chrome MCP

💡 Pro Tip

You don't need GitHub, Cloudflare, or any accounts to start building. Just a folder and Claude Code. You can always add version control and deployment later when you're ready.

5

Security & Safety Tips

Common mistakes to avoid as a beginner

🚫 Don't Run a Web Server from Your Root Directory

If you ever need to run a local server (like python3 -m http.server), always do it from inside your project folder. Running it from / or your home directory exposes ALL your personal files to anyone on your network.

Do this
cd my-project
python3 -m http.server 8080
NOT this
# DANGER: exposes everything!
cd /
python3 -m http.server 8080

🔐 Never Commit API Keys or Secrets

Don't put your Anthropic API key, passwords, or tokens directly in your code. If you push to GitHub later, they become public. Instead:

  • Use environment variables or a .env file
  • Add .env to your .gitignore file
  • If you accidentally commit a key, rotate it immediately

👀 Review What Claude Writes

Claude is powerful but not perfect. Always review its output, especially:

  • Shell commands — be cautious of rm -rf, sudo, or anything modifying system files
  • File deletions — make sure it's not removing files you need
  • Package installations — verify package names are correct (typosquatting is real)

📂 Keep Projects Contained

Create a dedicated folder for each project. Don't build sites directly in your Documents, Desktop, or home folder root. This keeps things organized and prevents Claude from accidentally reading or modifying unrelated files.

🛡️ Don't Share Your .claude Folder

Your ~/.claude folder may contain authentication tokens and session data. Never share it, commit it to git, or upload it anywhere.

6

Quick Example — Build a Site in 3 Minutes

Follow along and see vibe coding in action

① Create Your Project Folder

Terminal
mkdir my-coffee-site
cd my-coffee-site

② Launch Claude Code

Terminal
claude

③ Tell Claude What to Build

You

Build me a single-page website for a coffee shop called "Bean There". Include a hero section with a warm brown gradient, a menu section with 6 drinks and prices, an about section, and a contact form. Use clean HTML and CSS, no frameworks.

Claude

I'll create a beautiful coffee shop website for Bean There. Let me plan this out and build it step by step...

④ Preview It

Once Claude is done, open your site:

Option A: Open the file directly
open index.html
Option B: Use Chrome MCP

Open my site in Chrome and tell me how it looks

⑤ Refine It

You

Make the menu cards have rounded corners and a hover shadow effect. Add a dark footer with social media links.

Keep refining until you're happy. Each iteration takes seconds.

⑥ You're Done!

You just built a website by describing what you wanted. No templates, no drag-and-drop builders, no manual coding.

That's it. That's vibe coding.

🚀 Stage 2: Level Up

Ready to share your creation with the world?

7

Set Up GitHub

Version control & collaboration home base

🌐 Why GitHub?

GitHub stores your code in the cloud, tracks every change you make, and connects to services like Cloudflare for automatic deployments. It's the backbone of modern development.

📝 Create Your Account

  1. Go to github.com and sign up
  2. Choose the free plan (it's all you need)
  3. Verify your email address

📁 Create Your First Repository

  1. Click the + button in the top right, then "New repository"
  2. Name it something like my-first-vibe-site
  3. Check "Add a README file"
  4. Click "Create repository"

🔗 Clone It Locally

Copy your repo URL and clone it to your machine:

Terminal
git clone https://github.com/YOUR-USERNAME/my-first-vibe-site.git
cd my-first-vibe-site

🔄 Essential Git Commands

These are the commands you'll use daily:

Terminal
# Check what changed
git status

# Stage all changes
git add .

# Commit with a message
git commit -m "describe what you changed"

# Push to GitHub
git push

💡 Pro Tip

Claude Code can run git commands for you! Just ask it: "commit my changes" or "push to GitHub" and it'll handle the rest.

8

Deploy with Cloudflare Pages

Free hosting with automatic deploys

☁️ Why Cloudflare Pages?

Cloudflare Pages gives you free, fast hosting that automatically deploys your site every time you push to GitHub. No server setup, no complex configuration — just push and it's live.

  • Free tier — 500 builds/month, unlimited bandwidth
  • Auto-deploy — push to GitHub and your site updates
  • Global CDN — fast everywhere in the world
  • Free SSL — HTTPS out of the box

📝 Set It Up

  1. Go to dash.cloudflare.com and create a free account
  2. In the sidebar, click "Workers & Pages"
  3. Click "Create" then select the "Pages" tab
  4. Click "Connect to Git"
  5. Authorize Cloudflare to access your GitHub
  6. Select your repository
  7. For a plain HTML site, leave build settings empty
  8. Click "Save and Deploy"

🔄 The Deploy Pipeline

📝 Write Code
📤 Git Push
☁️ Cloudflare Builds
🌍 Site is Live!

💡 Pro Tip

Your site will be available at your-project.pages.dev. You can add a custom domain later in Cloudflare settings if you want.

9

The Full Workflow

Everything connected, from idea to live site

🎯 The Complete Pipeline

Here's what your complete workflow looks like now:

💬 Describe
🤖 Claude Builds
👀 Chrome MCP
📤 Git Push
🌍 Live!

💬 Tips for Effective Prompting

  • Be specific — "Add a blue nav bar with logo on left and 3 links on right" beats "add navigation"
  • Describe the vibe — "Make it feel warm and cozy, like a cabin in the woods" works great
  • Iterate — Start broad, then refine: "Make the hero bigger" or "Change the colors to earth tones"
  • Let Claude commit — Say "commit and push" when you're happy with changes
  • Reference examples — "Make it look similar to stripe.com's landing page style"

🎉 You Did It!

You now have the complete vibe coding workflow. Write code by describing what you want, let Claude build it, preview with Chrome MCP, push to GitHub, and Cloudflare deploys it automatically.

Welcome to the future of development!