Contents
The term was coined by researcher Andrej Karpathy in February 2025 to describe building software by telling an AI what you want, accepting the code as long as it works, and asking again when it doesn’t. It’s fun and very fast for experiments, and it becomes risky once a project meets real users and real data. This guide takes you from idea to a first version you can deploy, with the habits that keep the project from collapsing. The short definition is in the vibe coding glossary entry.
Before you start
- A small, clear idea: “an appointment booking page for a clinic” beats “a full platform for clinics”.
- One tool: don’t start with three at once. How to choose is in The best vibe coding tools.
- A GitHub account: free, and it becomes where your code lives and the way to move it to any host.
- An uninterrupted hour or two for the first session.
Steps
1. Write the project on one page
Before opening any tool, write a text file:
Project: appointment booking for a dental clinic.
Users: patients book; the dentist sees appointments.
Pages: home, booking, dentist login, appointments dashboard.
Data: patient name, phone number, date and time, status.
Language: Arabic right-to-left, English later.
Out of scope for now: payments, mobile app.
This is your first message to the tool, and the thing you return to whenever it drifts.
2. Choose a boring stack that is easy to host
Ask the tool explicitly for a well-known stack: PHP with MySQL, Node.js with Express, or Python with Flask. Popular stacks mean the AI writes them well, hosting runs them easily, and any developer can help you later. Why this matters and when to pick each is in Building a full system with AI.
3. Start a Git repository on day one
git init
git add .
git commit -m "Starting point"
Commit after every feature that works. When the tool breaks something (it will), one command takes you back to the last good version. This is the most important habit in the whole guide. See Git in the glossary.
4. One feature per request
Instead of “build the whole system”, go in order:
- A static home page in Arabic.
- The booking form saving to the database.
- Dentist login.
- The appointments dashboard.
After each step: try it yourself, commit, then move on.
5. Write requests you can check
| Weak request | Strong request |
|---|---|
| “Fix the bug” | “Clicking ‘Book’ shows a 500 error; here is the log. Find the cause and fix it” |
| “Make it prettier” | “Centre the form at a max width of 480px, use one button colour, and test it on a phone screen” |
| “Add security” | “Make sure the dashboard doesn’t open without login and passwords are stored hashed” |
6. Keep keys out of the code
AI tools sometimes paste passwords and API keys straight into files. Say from the start: “Keep every secret in a .env file and add it to .gitignore.” Why it matters: API key.
7. Ask for a review before deploying
Review the project like a security tester: exposed keys, unprotected pages, unvalidated input, queries open to SQL injection? Write a list and don't change anything yet.
Then fix the items one at a time and check each fix yourself.
Best practices in brief
- A project instructions file: most tools read a file in the project root (
CLAUDE.mdfor Claude Code,AGENTS.mdfor others). Put the stack, rules and run commands in it. - Ask for explanations: “explain what you changed and why” teaches you faster than any course.
- A fresh conversation for each big task: very long sessions make the tool lose early details and eat your quota.
- Test on a phone early, especially with Arabic and
dir="rtl".
When you need a developer
Vibe coding alone is enough for many small projects. Get a developer to review before launch if the project:
- takes payments or stores card details;
- stores sensitive personal data such as IDs or medical files;
- will have many users from day one;
- connects to other company systems such as accounting or inventory.
A review isn’t a rebuild: a few hours of a developer reading the code and pointing out the holes is usually enough.
Troubleshooting
- The tool loops on the same error: stop, go back to the last good commit, and start a new conversation with a sharper description of the problem.
- It works in the preview but not after download: it’s probably missing environment variables the platform had. See Works locally, not on the server.
- The project grew and you no longer understand it: ask “write a README explaining the project structure and how each part works”.
On ArabyHost
You built the first version, so where does it run? Static sites and PHP apps with MySQL/MariaDB run on the regular hosting plans; Node.js (20 and 24) and Python (3.9 to 3.12) apps run on the AI/Developer plans through Phusion Passenger, with SSH jailed in CageFS, Git, and background workers kept alive with cron. Deploy from GitHub, by ZIP upload, or from Claude and Cursor through Araby MCP; the full steps are in From vibe coding to a live site. There is no Docker, no GPU and no root, so if your project needs them see Where to host a project you built with AI.
FAQ
Can I learn vibe coding without knowing how to program?
Yes, enough to build a working prototype. As the project grows you'll need a few basics: files and folders, Git, and the difference between front end, server and database. You pick these up as you go if you ask the tool to explain what it's doing.
Can I vibe code for free?
You can start for free, within limits. Cursor, Bolt, v0 and Lovable show limited free plans on their pricing pages in November 2026, and Google offers Antigravity to developers at no charge. Claude Code needs a paid plan.
How do I write a good prompt for an AI coding tool?
State the result you want, where it goes in the project, and how you'll know it worked. For example: "On the sign-up page, check the email is valid, show an error message in Arabic, then run the tests." One specific request beats a long list.
Can you make money with vibe coding?
Some people build small sites and tools for clients, or products they sell. The money comes from solving a real problem, not from the tool. Before handing a project to a client, make sure you can maintain, move and host it without the tool that built it.