How much do you know about vibe coding?
Ten situations from building an app with AI, from choosing a tool to restoring a backup. Each answer appears as soon as you pick, with a link to the lesson behind it. No sign-up.
-
Q1 Andrej Karpathy coined "vibe coding" in February 2025. What kind of project did he have in mind?Why
Karpathy's original idea was for throwaway projects where you forget the code exists. Most people now use the term for any app built mainly through prompts, but unread code is still only safe when a mistake is cheap.
What Does Vibe Coding Actually Mean? -
Q2 Your weekend prototype now has 40 paying customers, and no code has changed. How should you think about it?Why
A prototype that gets real customers has moved into a riskier group even if no code changed. Permissions and money rules can fail invisibly, and using the app yourself won't reveal them.
When Does Vibe Coding Work, and When Does It Fail? -
Q3 You're torn between two tools. Which difference should weigh most in your choice?Why
Hosting and code location are harder to change than the model. Demos only show a first prompt, while the real test is the twentieth change.
Which Vibe Coding Tool Should You Choose? -
Q4 You keep getting extra features you never asked for. What belongs in your one-page brief to stop this?Why
An AI fills gaps with plausible guesses and tends to add related features unless you rule them out. A stored brief keeps steering later sessions too.
What Should a One-Page App Brief Include? -
Q5 You can't read code. The AI says it only changed a button, and its summary looks fine. What should you do next?Why
A summary describes what the AI meant to do, which can differ from what changed. A sign-in file in a button change is a red flag you can spot from the file names alone, and a fresh session has no stake in the earlier decisions.
How Do You Review AI Code If You Can't Read Code? -
Q6 A variable is undefined in the browser, and the AI renames your email API key to VITE_EMAIL_KEY. The error is gone. What happened?Why
Vite copies anything starting with
How Do You Keep API Keys Out of the Browser?VITE_into the code it sends to visitors, and Next.js does the same withNEXT_PUBLIC_. The error went away because the secret became public. -
Q7 Your app uses Supabase from the browser. What does Supabase's advisor say about a public table without row level security?Why
These apps talk to the database from the browser with a public key, so the rules are the only lock. Each table needs policies that limit users to their own rows.
How Do You Lock Down Your Database and Validate Input? -
Q8 You're connecting your domain to a new host. What should you do before changing nameservers?Why
Moving nameservers moves all your DNS, including the records that deliver email. Use the values your host shows for this project, since Vercel says not to copy them from another project.
How Do You Deploy an AI-Built App and Add a Domain? -
Q9 The save button fails, and the browser Network panel shows a 500 status. Where should you look next?Why
A
How Do You Get AI to Actually Fix a Bug?500points to your server, so its log is the next place to look. A401or403points to access and a404to a wrong address. Exact wording gives the AI something real to work from. -
Q10 Your Supabase database backups run daily, and customers upload photos to Storage. What does a database restore bring back?Why
Supabase's database backups don't include files in Storage, since the database only holds their metadata. That's one reason to restore into a separate project at least once and see what's missing.
How Do You Back Up Your Database and Prove It Restores?