Skip to content

Mahmoudz/vibe-coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibe Coding with Confidence

Vibe Coding with Confidence

The Vibecoder's Handbook, idea to production

Zero to live, then keep it running and scaling.

A free, end-to-end guide to vibe coding production-grade software with AI, from a plain idea to live, monitored, scaling software, built with agents like Cursor and Claude Code. No signup, no paywall to start reading.

Read it free online →

Free to read Web book Chapters Discussions


This is the community and companion repository for the book, not the book text itself. It exists for two things:

  1. Discussions and Q&A on the book and on every chapter. Ask questions, share what you built, and correct or extend a chapter, right where you read it.
  2. Companion materials you can install and use: an AI OS, agents, boilerplates, Claude Code skills, and worked examples. See Coming soon.

Who it's for

People who build software mostly by directing an AI agent (Cursor, Claude Code, and friends) and want to ship apps that are actually reliable, secure, and maintainable, not just demos that fall over in production. No CS degree assumed. If you can describe what you want and read what the agent gives back, this is for you.

Why it exists

AI can write the code. It cannot yet decide what to build, how to structure it, when it is wrong, or what "production-grade" means. This book teaches the professional lifecycle around the code, from a plain idea to live, monitored, scaling software, at a level a non-pro can follow. Full reasoning lives in the book itself.

Table of contents

The complete arc, from a plain idea to live, scaling software:

Introduction

Plan: Structure your idea into a clear specification

  1. Requirements: Turning an Idea Into a List
  2. MVP: Cutting Scope to the Core
  3. Components: The Pieces of an App
  4. Data Model: Mapping What You Store
  5. NFRs: The Requirements Nobody Says Out Loud
  6. Spec: Writing It All Down

Dev Set Up: Prepare your environment, tools, and AI agent

  1. Stack: Choosing Your Tools
  2. Environment: Getting Your Machine Ready
  3. Version Control: Never Losing Work
  4. Secrets: Handling Keys and Config
  5. Agent: Meeting Your AI
  6. Rules: Setting the Ground Rules

AI Set Up: Setup your AI agents operating system

  1. OS-First: Why the System Comes Before the Code
  2. Unification: One System for Everything
  3. Departments: Folders as an Org Chart
  4. Control Center: Your Command Hub
  5. Configuration: Standing Up Your Agents
  6. Scheduling: Putting Agents on a Clock
  7. Reporting: Commands and What Comes Back

Architect: Lay out a modular codebase for your AI

  1. Modularity: A Foundation That Bends
  2. Structure: Where Everything Lives
  3. Coupling: Keeping Pieces Independent
  4. Layers: Drawing the Boundaries
  5. Conventions: Naming Things Consistently
  6. Handoff: Teaching Your AI the Architecture

Build: Implement the application in working slices

  1. Scaffolding: Blank Screen to Running App
  2. Direction: Steering Your Agent
  3. Increments: Working in Small Steps
  4. Code Review: Checking the Agent's Work

Debug: Diagnose and fix what the agent breaks

  1. Stack Traces: Reading What Broke
  2. Loops: When Your Agent Goes in Circles
  3. Bisecting: Finding the Change That Broke It
  4. Verification: Is It Actually Fixed?
  5. Rollback: Reverting Safely
  6. Escalation: Getting Unstuck

Harden: Make it secure, tested, and production-grade

  1. Interface: Designing How It Looks and Feels
  2. Accounts: Data, Users, and Payments
  3. Validation: Trusting No Input
  4. Reliability: Handling Failure Gracefully
  5. Testing: QA Before Users Find It
  6. Security: Locking It Down
  7. Performance: Speed and Accessibility

Ship: Deploy to production on real infrastructure

  1. Deployment: Going to Production
  2. Environments: Dev, Staging, Production
  3. IaC: Infrastructure as Code
  4. CI/CD: Automating the Deploy
  5. Releases: Safe Rollouts and Rollbacks

Operate: Run and maintain it in production

  1. Observability: Seeing Inside Your App
  2. Alerting: Monitoring and Getting Paged
  3. Backups: Disaster Recovery
  4. Incidents: Maintenance When Things Break
  5. Cost: Watching the Bill
  6. Automation: Letting the System Run Itself

Scale: Grow it to handle real traffic and data

  1. Bottlenecks: Finding the Limits
  2. Caching: Easing the Database
  3. Horizontal Scaling: Adding Capacity
  4. Capacity Planning: Staying Ahead of Growth
  5. Optimization: The Improvement Loop
  6. Expertise: When to Call a Pro

Coming soon

Companion materials you'll be able to install and use, landing here as their chapters go live:

  • AI OS: a ready-to-run operating system for your agents, the control center, departments, scheduling, and reports the book builds.
  • Agents: preconfigured Claude Code agents you drop in and run.
  • Boilerplates and starters: production-shaped project scaffolds with the modular structure and agent house-rules already wired.
  • Claude Code skills: reusable agent workflows the book teaches, drop into .claude/skills/ and go.
  • Examples: worked, runnable code and artifacts from the chapters.

Nothing shipped yet, this is where it will land. Watch or star the repo to catch it.

Discussions and comments

Every chapter page has its own comment thread. Comment right from the page, or open a discussion here. Be kind, stay on topic, and search before posting.

Contributing

Spotted an error, an outdated command, or a gap? Open a discussion or a pull request. Content fixes flow back into the book; skills, starters, and examples live and evolve here.

License

Use the materials here to build anything you want, including commercial products. Just don't resell or redistribute the materials themselves as a standalone product. The book's text is not in this repo and is all rights reserved. See LICENSE.


Written by Mahmoud Zalt · zalt.me

About

Vibe coding Handbook (Pro): Practical guide to building production-ready software from scratch. It teaches a complete engineering workflow, from turning an idea into a specification, through architecture, development, testing, deployment, operations, and scaling. This repository is the companion to the book, it hosts community discussions & Q&As.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors