Skip to main content

Chan Kang | The Slashie

Blog Details

Understanding Vibe Coding: Tools, Workflow & Basics

vibe-coding-8bit-pixel
Disclaimer:

This article is written to reinforce my understanding of Vibe Coding concepts learned from a local guru and AI Vibe Coding training provider. It is not meant to be an in-depth guide, but rather a beginner-friendly refresher to document and revisit the key ideas.

What is Vibe Coding?

Vibe Coding is a modern approach to software development where a person describes what they want to build in natural language, and AI generates the code needed to create it.

The concept became widely discussed after AI researcher Andrej Karpathy used the term “vibe coding” to describe a style of programming where developers guide AI tools with intent rather than manually writing every line of code.

In traditional programming, developers must write detailed code instructions such as functions, loops, and syntax.
With vibe coding, the workflow changes:

  • You describe the idea

  • AI generates the code

  • You test and refine the result

In other words:

Vibe Coding = Programming by describing the intent and letting AI handle much of the implementation.

This method shifts the role of the developer from code writer to AI collaborator or director.

Basic Components of an Application

To understand vibe coding, it is helpful first to understand the three fundamental elements of most applications: the front end, back end, and database.

The front end refers to the part of the application that users interact with directly. It is typically built using HTML, CSS, and JavaScript

HTML defines the structure of the page, CSS controls the visual design and layout, and JavaScript handles the logic and interactivity, such as buttons, animations, or dynamic content.

The back end is the system that runs behind the scenes. It processes requests, handles business logic, communicates with the database, and ensures that the application functions properly.

The database is where the application stores and manages its data, such as user information, settings, or content.

During development, programmers often use tools such as terminals, network connections, and integrated development environments to build, test, and integrate these components

In vibe coding, AI tools help generate and integrate these elements quickly, allowing developers to focus more on the idea and functionality of the application rather than writing every line of code manually.

Use Cases:

Popular Use Cases of Vibe Coding

Vibe coding allows people to build software by describing ideas in natural language. It is commonly used for rapid prototyping, creative experiments, and small functional tools. Below are several popular examples.

1. Landing Pages

One of the most common uses of vibe coding is creating marketing landing pages.

With a simple prompt, AI can generate:

  • HTML page structure

  • CSS styling and layout

  • JavaScript for interaction

  • Lead capture forms

This is useful for:

  • product launches

  • event registration pages

  • marketing campaigns

  • lead generation pages

Marketers can now use vibe coding to quickly test different campaign pages without hiring a full developer.

2. Simple Web Applications

Vibe coding is also widely used to build small web apps or tools.

Examples include:

  • productivity tools

  • habit trackers

  • calculators

  • AI content generators

  • dashboards

These tools often combine front-end, back-end logic, and database storage, but AI can generate most of the structure automatically.

3. Interactive SVG Animations

Designers can use vibe coding to create interactive animations using SVG and JavaScript.

Examples include:

  • animated logos

  • interactive diagrams

  • marketing visuals

  • scrolling animations

AI can quickly generate SVG code and animation logic, reducing manual coding time.

4. Mini Games

Another fun use case is building small browser-based games.

Examples:

  • clicker games

  • lucky draw generators

  • simple puzzle games

  • pixel-style mini games

For example, a 财神 (God of Wealth) lucky number generator in which users click a character to reveal a 4D number can be built using Vibe-Coding.

5. Automation Tools

Vibe coding can also create automation scripts.

Examples include:

  • data scraping tools

  • automated email workflows

  • report generators

  • social media automation

AI can generate scripts that interact with APIs or perform repetitive tasks.

6. Internal Business Tools

Companies can also use vibe coding to build internal tools quickly.

Examples:

  • CRM dashboards

  • internal reporting systems

  • task management tools

  • data visualization panels

These tools may not need perfect production-level code, making vibe coding ideal for fast internal development.

7. Educational Experiments

Vibe coding is also widely used for learning and experimentation.

Beginners can quickly build projects like:

  • quiz apps

  • learning flashcards

  • language practice tools

  • small simulations

This makes coding more accessible to people without traditional programming backgrounds.

In practice, vibe coding is most commonly used for landing pages, small web apps, interactive animations, mini games, automation tools, and experimental prototypes.

Tools / Software / Platforms

Vibe Coding Tools & Platforms

Below are several vibe coding tools and platforms. Some were taught and demonstrated during the 2-day training course, while others were introduced by more advanced course mates that I have come across but have not yet personally tested.

Antigravity (Local Tool)

Antigravity is a local vibe coding environment that allows users to generate applications using AI prompts and instantly preview the results.

It helps creators quickly build front-end interfaces, animations, or small apps before pushing the project to version control platforms like GitHub. This makes it useful for rapid experimentation and prototype development.

Google AI Studio

Google AI Studio is a platform for building applications using Google’s AI models. Developers can test prompts, generate code, and integrate AI capabilities into their applications. In vibe coding, it is often used to generate logic, build AI-powered features, or experiment with prompt-based coding workflows.

ChatGPT Codex

ChatGPT Codex is an AI coding assistant that can generate, explain, and debug code across multiple programming languages. In vibe coding, it allows users to describe features or applications in natural language and receive working code snippets or full components. It is widely used for rapid prototyping and problem solving during development.

Claude Code

Claude Code is an AI-powered coding assistant designed to help developers write, refactor, and understand code efficiently. It is particularly strong at analyzing large codebases and providing structured code improvements. In vibe coding workflows, it is often used to refine AI-generated code and ensure better structure and readability.

OpenCode

OpenCode is an open-source AI coding environment designed to help developers build software using natural language instructions. It allows users to generate, edit, and manage code with AI assistance while maintaining full control over their local development workflow. In vibe coding, OpenCode serves as a flexible platform for experimenting with AI-generated code and integrating it into real projects.

GitHub

GitHub is a platform used to store, manage, and track code through version control. In vibe coding workflows, developers push their AI-generated projects to GitHub to manage updates, collaborate with others, and maintain a history of code changes. It is a core tool for modern software development.

Netlify

Netlify is a platform used to deploy and host web applications, especially front-end websites. It allows developers to connect a GitHub repository and automatically deploy updates whenever new code is pushed. In vibe coding, it provides an easy way to publish AI-generated websites online.

DigitalOcean

DigitalOcean is a cloud infrastructure provider that allows developers to host applications, servers, and databases. It provides scalable computing resources for running backend services and full-stack applications. In vibe coding projects, it can be used when a project requires more control over hosting and server environments.

Supabase

Supabase is an open-source backend platform that provides databases, authentication, and APIs for applications. It acts as a simplified alternative to building backend infrastructure from scratch. It allows developers to quickly add user accounts, data storage, and real-time features to their applications.

Lovable

Lovable is an AI-driven application builder that allows users to create full-stack apps through conversational prompts. It can generate front-end interfaces, backend logic, and database connections automatically. This makes it a popular tool for quickly turning ideas into working prototypes.

Replit

Replit is a cloud-based development environment where developers can write, run, and deploy code directly from a browser. It integrates AI coding assistance and allows users to build applications without setting up a local development environment. In vibe coding, it is commonly used for quick prototyping and collaborative coding.

Cursor

Cursor is an AI-powered code editor designed to help developers write, modify, and understand code using natural language prompts. It integrates AI directly into the development environment, allowing users to generate features, refactor code, and debug issues quickly. In vibe coding. Cursor acts as a powerful workspace where developers collaborate with AI to build and iterate on applications efficiently.

Workflow

Vibe Coding Workflow

A Typical Vibe Coding Workflow
(Idea → AI Tool → GitHub → Deployment)

In a typical vibe coding workflow, the process usually starts with an idea, followed by using an AI coding tool to generate the application, managing the project with version control, and finally deploying it online so others can access it.

Based on what I learned during the training, one common workflow is:

Idea → Antigravity (local development) → GitHub → Netlify deployment

First, the developer describes the idea and uses Antigravity as a local vibe coding tool to generate the application code, such as HTML, CSS, and JavaScript. This allows the developer to quickly test and refine the project on their local machine.

Once the project is ready, the code is pushed to GitHub, which serves as a version control system to store and manage the project files. GitHub also keeps track of changes and makes collaboration easier.

After the code is available on GitHub, the project can be deployed using Netlify. Netlify allows developers to connect their GitHub repository and automatically publish the website using the “Deploy with GitHub” feature. 

Whenever new updates are pushed to GitHub, Netlify can automatically redeploy the latest version of the application.

This workflow allows developers to move quickly from idea to a live website, which is one of the key advantages of vibe coding.

Summary:

Idea

Antigravity (generate code locally)

Push project to GitHub

Deploy website via Netlify (Deploy with GitHub)

Live application on the Internet

Useful Prompt Idea:

Prompt: Do not improve or enhance anything in the page. Do not assume my requirement. If you are not sure, double-check with me.

Use the above prompt to prevent AI Hallucination.

UI

Front-End Design Styles for Better Vibe Coding Prompts

When using vibe coding to generate interfaces, the quality of your prompt greatly affects the design output, especially for front-end UI. One effective technique is to specify a design style in your prompt so the AI understands the visual direction you want.

Below are some popular design styles commonly used by developers and designers:

  • Glassmorphism – A modern UI style using transparent, frosted-glass effects with soft blur backgrounds.

  • Minimalist – Clean layouts with simple typography, limited colors, and plenty of white space.

  • Bold & Expressive – Strong colors, large typography, and striking visual elements to create a strong personality.

  • Retro Nostalgia – Designs inspired by past decades such as the 80s or 90s, often using vintage color palettes and typography.

  • Editorial Moodboard – Magazine-style layouts that combine images, text blocks, and creative composition.

  • 3D Immersive – Interfaces that use 3D objects, depth, shadows, and interactive elements.

  • Organic Anti-Grid – A more experimental layout style that intentionally breaks traditional grid structures.

  • Sketch / Hand-Drawn – UI elements that look hand-sketched or illustrated to create a playful and personal feel.

  • Neo-Brutalism – A bold and raw design style with sharp edges, strong contrasts, and minimal decorative elements.

  • 8-Bit Pixel Style – Retro pixel art inspired by classic games like old Super Mario–style interfaces.

Where to Find Design Inspiration

If you need inspiration before writing prompts, the following platforms provide a large collection of UI and design ideas:

  • Pinterest – Great for collecting visual inspiration and mood boards.

  • Dribbble – A popular platform where designers showcase UI, product design, and creative concepts.

Browsing these platforms can help you discover design patterns, color palettes, and layout ideas that can then be translated into better prompts for vibe coding.

Front-End UI Design Tools

Designers and developers commonly use several tools to plan or prototype front-end interfaces before implementing them in code. These tools help designers visualize the interface structure, which can then be translated into prompts or code when building the application in Vibe-C.

  • Stitch – A tool used for creating UI components and layouts quickly.

  • Pencil – A UI prototyping tool used for wireframing and basic interface design.

  • Figma – One of the most popular collaborative design tools for creating UI mockups, wireframes, and interactive prototypes.

Understanding UI styles and design references can significantly improve the quality of AI-generated front-end interfaces in vibe coding workflows.

FAQs

What is a GitHub Repository (Repo)?

A GitHub repository (repo) is a storage space where a project’s code, files, and version history are kept. Developers use Git commands like commit to record changes locally and push to upload those changes to the GitHub repository for backup and collaboration.

What does “commit to git, push to GitHub repository” mean?

A commit saves a snapshot of code changes in the local Git version control system. When you push, those committed changes are uploaded from your local machine to the remote repository on GitHub so others can access or collaborate on the project.

You build the project locally, push the code to GitHub for version control, and then deploy it through platforms like Netlify to make the website live.

What is Git?

Git is a version control system used by developers to track changes in their code over time. It allows you to save different versions of your project, so you can see what changed, revert to previous versions, or collaborate with others safely.

In simple terms, Git manages the history of your code locally on your computer, while platforms like GitHub store that Git project online so it can be shared, backed up, and deployed.

What is Node.js?

Node.js is a runtime environment that allows developers to run JavaScript outside of a web browser. It is commonly used to build backend servers, APIs, and real-time applications.

What is React?

React is a popular JavaScript library used to build interactive user interfaces, especially for web applications. It allows developers to create reusable UI components and manage dynamic content efficiently.

What is Docker?

Docker is a platform that packages applications and their dependencies into containers, ensuring the software runs consistently across different environments. It helps developers avoid compatibility issues between development and production systems.

What is Kubernetes?

Kubernetes is a system used to manage and scale containerized applications, often those running in Docker containers. It automates the deployment, scaling, and maintenance of applications across multiple servers.

What is SQL?

SQL (Structured Query Language) is a programming language used to manage and query data stored in relational databases. It allows developers to insert, update, retrieve, and organize data efficiently.

What is Nuxt.js?

Nuxt.js is a framework built on top of Vue.js that helps developers build modern web applications more easily. It provides features like server-side rendering, routing, and performance optimization for websites and apps.

What is MCP?

MCP (Model Context Protocol) is a framework that allows different AI systems or tools to communicate and share context with each other. It helps multiple AI applications work together by exchanging structured information during tasks.

What is an API?

An API (Application Programming Interface) is a connection that allows different software systems to communicate with each other. It enables one application to request data or services from another system.

What is JSON?

JSON (JavaScript Object Notation) is a lightweight data format used for structured data exchange between systems. It is commonly used in APIs to allow applications to send and receive information in a standardized, machine-readable format.

What is REST API (/wp-json/)

The REST API (/wp-json/) in WordPress is a feature that lets other applications communicate with your website and get or send data.

It works like a bridge, allowing developers, apps, or other websites to access resources such as posts, pages, or users in a structured format (usually JSON).

For example, an app could use /wp-json/ to fetch your blog posts from WordPress and display them somewhere else.

What is a Tailwind Grid Generator used for?

A Tailwind Grid Generator helps developers quickly create responsive layout grids (Grid Design) using Tailwind CSS utility classes. It simplifies designing page structures like multi-column layouts without manually writing complex CSS.

What is Grid in UI?

A grid is a layout system that helps organize content on a page using rows and columns. It ensures that elements such as text, images, and buttons are aligned consistently, making the interface cleaner and easier to navigate.

Grids help designers create balanced, structured, and responsive layouts, especially when designing websites or applications for different screen sizes. Many modern frameworks, such as CSS Grid or Tailwind CSS, use grid systems to simplify front-end layout design.

Miscellaneous Resources

Below are some additional platforms and libraries that can be useful when exploring vibe coding, creative coding, and data-driven applications.

Apify

Apify is a platform for web scraping and automation, allowing developers to extract data from websites and automate online tasks. It is commonly used for data collection, research, and building automated workflows.

p5.js

p5.js is a JavaScript library for creative coding, designed to make coding visual art, animations, and interactive graphics easier. It is commonly used by artists, designers, and beginners learning programming through visuals.

Three.js

Three.js is a JavaScript library used to create 3D graphics in web browsers using WebGL. It allows developers to build interactive 3D experiences, games, and immersive visualizations on the web.

Anime.js

Anime.js is a lightweight JavaScript animation library that helps developers create smooth animations for websites and applications. It supports CSS properties, SVG, DOM elements, and JavaScript objects.

Chart.js

Chart.js is a popular JavaScript library for creating charts and data visualizations such as bar charts, line charts, and pie charts. It helps developers present data clearly in dashboards and web applications.

Kaggle

Kaggle is a platform for data science and machine learning, offering datasets, coding notebooks, and competitions. Developers and learners often use it to experiment with data analysis and AI models.

Discover more from Chan Kang | The Slashie

Subscribe now to keep reading and get access to the full archive.

Continue reading