Skip to content

Repository files navigation

Vibe Coding Playbook

A practical guide and rules template for building, debugging, securing, and shipping production software using AI coding agents (Cursor, Antigravity, Claude Code, Windsurf, Copilot) without losing control of your codebase.

License: MIT AI Agents Compatible


Table of Contents


The Problem

We've all been there. You have a great idea and spin up an AI coding agent:

Idea
  ↓
Ask AI to build everything
  ↓
Looks impressive
  ↓
Add more features
  ↓
Architecture starts drifting
  ↓
Something breaks
  ↓
AI patches it (symptom masking)
  ↓
Another thing breaks
  ↓
Infinite debugging loop
  ↓
Unmaintainable codebase

This repository teaches a better workflow. Vibe coding isn't about letting AI build everything for you. It's about learning how to direct, constrain, inspect, test, and improve AI-generated software.


Supported AI Coding Agents & IDEs

This playbook and its .agents / system prompt templates are compatible with:

  • Cursor IDE (via .cursorrules or .clinerules)
  • Google Antigravity / Gemini CLI (via AGENTS.md and .agents/rules/)
  • Claude Code (via CLAUDE.md and project context)
  • Windsurf Cascade (via .windsurfrules)
  • GitHub Copilot Workspace & Chat
  • ChatGPT / Claude Web Interfaces

Who Is This For?

Primary Audience: Students, junior developers, indie hackers, and self-taught developers building their first serious SaaS or web application with AI. If you understand basic programming but struggle with architecture, debugging, or production-readiness, this playbook is for you.

Who it's NOT for: This is not a repository of "Make me a SaaS" prompts for non-technical founders, nor is it a comprehensive manual for senior staff engineers.


The Core Principles

  1. AI is the implementation engine, not the owner of the architecture.
  2. The developer owns the final result.
  3. Never blindly trust generated code.
  4. Build in small, verifiable increments.
  5. Understand the problem before asking AI to modify code.
  6. Prefer root-cause fixes over patches.
  7. Context is part of the prompt.
  8. Every significant AI-generated change should be verified.
  9. A working prototype is not automatically production-ready software.
  10. The goal is not to write less code. The goal is to build better software with AI.

Recommended Workflow

Plan → Context → Implement → Inspect → Test → Verify → Commit

For debugging: Reproduce → Diagnose → Isolate → Fix → Test → Verify


Repository Structure

  • VIBECODING.md - The core conceptual playbook and methodology.
  • AGENTS.md - Instructions to copy into your project to align your AI agent.
  • PROMPTS.md - A prompt library organized by development phase (Planning, Implementation, Review).
  • DEBUGGING.md - The guide to escaping the infinite debugging loop.
  • PRODUCTION-CHECKLIST.md - How to take your local prototype to the real world.
  • skills/ - Reusable instructions and personas that AI coding agents can follow.
  • examples/ - Good vs. bad workflows and prompts.
  • case-studies/ - Real-world examples of this methodology in practice (e.g., PPT Maker).

Quick Start

  1. Read VIBECODING.md to understand the fundamental shift in how you should interact with AI.
  2. Copy AGENTS.md into your project's .agents/ or .cursorrules folder.
  3. Keep DEBUGGING.md open when you hit your first major error.

AI Search Index (llms.txt)

This repository includes standardized LLM context files for AI search engines (ChatGPT, Perplexity, Claude, AI Overviews):

  • llms.txt - Fast API/AI index of all rules, skills, and case studies.
  • llms-full.txt - Complete context compilation for full prompt ingestion.

Contribution, License & Legal

Read our Contribution Guidelines to submit new skills, debugging patterns, or case studies.

Licensed under the MIT License.

Disclaimer: This is an educational resource. The author is not responsible for any software bugs, security breaches, financial losses, or data loss caused by AI coding agents. Read the full Legal Disclaimer before using these methodologies in production.

About

How to build production applications with AI coding agents (without losing control).

Topics

Resources

Contributing

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors