The Vibecoding Playbook: From Zero to Live with Your Personal Website
Oct 21, 2025

By Henry Huang @bravohenry / bravohenry.com
The Core Philosophy (The Vibe)
In an era where AI is deeply integrated into the development process, the amount of code we manually write is approaching zero. The paradigm shift introduced by Vibecoding is this: your role evolves from a traditional "Coder" to a "Creative Conductor." This means you don't need to master the syntax of every line of code. Instead, you must clearly articulate your design vision and aesthetic (your "Vibe") and use precise commands to direct an AI to bring it to life. This definitive playbook will guide you through this creative revolution, helping you compose an AI symphony that culminates in your live personal website.
Phase 1: Environment Setup
Every masterpiece requires the right stage. Before you begin creating, ensure your machine is configured with the following tools. This is the foundational architecture for your collaboration with AI.
1. AI-Native Code Editor
We recommend an editor with native AI integration, like Cursor or Trae. The fundamental difference from traditional editors is their ability to understand your design intent and interact deeply with your codebase. After installation, perform these basic setups: enable auto-completion, dock the AI chat window, and bind the "explain code" feature to a hotkey.
2. Package Manager (Homebrew for macOS/Linux)
Homebrew is the "missing package manager" for macOS (and Linux), allowing you to install and manage development tools with simple commands.
Install Homebrew: Open your terminal and paste this command:
Pro-Tip (macOS): Before installing, run
xcode-select --installin your terminal. This installs essential command-line tools that Homebrew relies on, preventing common installation issues.Windows Users: You can use package managers like
wingetorscoop, or download Node.js directly from its official website.
3. Version Control (Git & GitHub)
This is your secure code repository in the cloud and the version control hub for your AI collaboration.
Sign up for a GitHub Account: Go to
github.comand register. The free personal account is perfect.Install GitHub Desktop: Download the graphical client from
desktop.github.comand log in. Choose a local path for your repositories on a drive with at least 20GB of free space.
4. Runtime Environment (Node.js & npm)
This is the engine that brings your code to life locally.
Install Node.js: Open your terminal and use Homebrew to install Node.js version 22.
Verify Installation: Run
node -vandnpm -v. If they return version numbers likev22.x.x, you're all set.Let's Have Some Fun: Test your npm global installation with a classic.
If you see an ASCII cow, your environment is perfectly configured!
For Future Projects: As you work on more projects, you might need different versions of Node.js. Tools like nvm (Node Version Manager) allow you to install and switch between multiple Node versions effortlessly. It's the industry-standard way to manage your Node environment.
5. Design Tool (Figma)
This is the bridge for communicating your visual language to the AI.
Create an Account: Visit
figma.comand sign up. The free plan is all you need.Install a Plugin: In the Figma Community, search for and install the
html.to.designplugin. This is the key to the magic in Phase 3.
Phase 2: Project Initialization
Now, let's direct the AI to build our project's skeleton and handle all the initial configuration in one go. Open your AI-native editor, create a new project folder (e.g., "personal-website"), and paste the following prompt directly into the AI chat window.
AI Prompt: Project Initialization & Configuration
What to Expect: After you send this prompt, the AI will begin executing these commands in your editor's integrated terminal. You will see lines of text scrolling by as packages are downloaded and files are created or modified. This process might take a few minutes. Just sit back and watch the magic happen. If the AI gets stuck or reports an error, you can simply copy the failed command and run it manually in the terminal to see more details.
Phase 3: From Design to Code (The Creative Core)
This is where the magic happens. We will clone a live website to instantly capture a professional-grade design, distill its essence, and then command our AI to turn it into a reusable code library.
Step 1: Clone a Professional Website with html.to.design
Instead of designing from scratch, we will capture an existing, high-quality "Vibe."
Find a Target Website: Browse the web and find a site whose aesthetic and structure you admire. For this tutorial, we'll use
retool.com. Copy its URL.Perform the Clone: In a new, blank Figma file, open the
html.to.designplugin. Paste the URL and click "Import." In about 30 seconds, the plugin will deconstruct the live website and rebuild it as a fully editable Figma file. You now have the complete visual blueprint of a professional site.
Step 2: Distill the Essence
Your goal is not to plagiarize, but to extract the underlying design system. This is a critical creative step.
The Goal of Distillation: Your objective is to create a clean "style guide" for the AI, not a messy webpage clone. By removing noise (like text and redundant elements), you force the AI to focus solely on generating the core design tokens (colors, fonts, spacing) and reusable components (buttons, cards). A cleaner input leads to a much cleaner output.
Delete all text: Focus purely on the layout, spacing, and visual structure.
Isolate core components: Keep only the essentials like buttons, cards, navbars, and input fields.
Consolidate styles: If there are ten different button styles, find the two most important variations and delete the rest.
Simplify the color palette: Reduce all colors to a core set: a base color, an accent color, and a few neutral shades.
Step 3: Connect AI to Your Figma Design
Get Your Figma API Key: In Figma, go to Settings > Personal access tokens. Create a new "Read-only" token named
vibecoding-access. Copy the generated key immediately and save it.Configure Your Editor: In your AI editor's settings, find the "Figma Integration" section. Paste your API key and test the connection.
Step 4: Command AI to Generate the Design System
Copy this prompt into your AI chat, replacing the placeholder with your Figma file's shareable link.
Crucial Link Settings: When you click "Share" in Figma, make sure the permission is set to "Anyone with the link can view." If it's restricted, the AI will fail.
Phase 4: Building the Website
With your design system as a set of LEGO bricks, it's time to direct the AI to assemble them into a complete website.
AI Prompt: Build the Website Pages
After the AI finishes, run npm run dev to see a complete preview of your website at localhost:5173.
Personalizing Your Content - A Closer Look
For Text: Open files like
src/components/BioHeader.jsx. Look for placeholder text like"Your Name Here"or"A brief tagline."Replace these strings with your own content.For Images: Create a new folder at
src/assets/images. Place your photos (e.g.,avatar.jpg) inside. Then, in component files likesrc/components/AvatarHero.jsx, find the<img>tag. Change itssrcattribute to a direct path, like<img src="https://bravohenry.com/src/assets/images/avatar.jpg" alt="My Avatar" />.
Phase 5: Deployment & Beyond
Let's launch your site and set it up to update automatically.
1. Push Your Code to GitHub
Open GitHub Desktop. It will detect your project. Write a commit message like "website complete," click "Commit to main," and then "Publish repository."
2. Deploy with Cloudflare Pages
Get Started: Sign up for a Cloudflare account.
Connect Your Repo: Navigate to the Cloudflare dashboard > Workers & Pages > Create application > Pages > Connect to Git. Authorize GitHub and select your repository.
Configure Build Settings:
Framework preset: Vite
Build command:
npm run buildBuild output directory:
dist
Deploy: Click "Save and Deploy."
3. The Magic of Automatic Updates (CI/CD)
Here's the best part: from now on, whenever you make changes to your code and push them to the main branch on GitHub, Cloudflare Pages will automatically detect the changes, rebuild your project, and deploy the new version. Your workflow is now: Code -> Commit -> Push -> Live.
4. Using Your Own Domain
In your Cloudflare Pages project, go to the "Custom domains" tab and follow the instructions. It typically involves adding a CNAME record in your domain registrar's settings, a process Cloudflare guides you through.
Epilogue: Beyond the Playbook
Congratulations! You've completed the entire journey from a design concept to a live, auto-updating website. By mastering this "Creative Conductor" model, you can apply it to:
Rapidly validating product prototypes
Building high-converting marketing landing pages
Creating documentation sites for open-source projects
Showcasing your work on a portfolio platform
Remember, in the age of AI collaboration, your true competitive advantage isn't the ability to write code, but the art of clearly expressing ideas and precisely defining requirements—the art of the conductor.
What will your next project be? Open Figma and start composing.
If this manual is helpful to you, please follow me in Linkedin and X.

