Skip to content
All articles

AI

A safe vibe-coding checklist for people who don't code

4 min readBy W. Soares

Lines of source code on a computer screen

Our nine-step checklist for building small apps with AI when you can't read every line: classify the risk, keep secrets out, use version control, make the AI explain changes, and test what would hurt.

"Vibe coding," describing what you want to an AI tool and letting it write the code, has made it possible for people who don't program to build working apps. It has also made it easy to ship something that leaks data, breaks silently or runs up a bill. The topic is trending on X again this week, but this guide doesn't rely on anyone's statistics. It's our own checklist for building small tools safely when you can't read every line of code.

The short version: keep the stakes low, keep secrets out of the code, keep a way back, and test what matters before anyone else uses it.

1. Decide what the app is allowed to touch

Before you write a prompt, write one sentence: what data will this app handle, and who will use it?

  • Green: a personal tool, no logins, no personal data, nothing public. Vibe-code freely.
  • Yellow: shared with a few people, or stores names and emails. Use the full checklist below.
  • Red: payments, health or financial records, passwords, or anything customer-facing at scale. Use a managed service (a form builder, a payment provider's hosted checkout) or bring in a developer to review it.

Most trouble comes from yellow projects that quietly become red ones.

2. Never paste secrets into the chat or the code

API keys, database passwords and tokens should live in environment variables or your platform's secrets settings, not in source files or prompts. Ask the AI explicitly: "Store all keys in environment variables and never hard-code them." Then search the project for anything that looks like a key before you publish. If a key ever ends up in a public repository, assume it's compromised and rotate it.

3. Use version control from the first minute

Put the project in Git, or use a tool with built-in history, before the first change. Commit every time something works. When the AI "fixes" one thing and breaks three others, you can return to the last good version instead of prompting in circles.

4. Make the AI explain before it changes things

For anything beyond a cosmetic tweak, ask first: "Explain what you're going to change and which files you'll touch. Don't write code yet." Approve the plan, then let it proceed. You don't need to understand every line, but you should understand every decision.

5. Keep accounts and permissions minimal

  • Give the app's database user only the permissions it needs.
  • If you use a hosted database, turn on its access rules so one user can't read another user's data, and test that by logging in as two different test accounts.
  • Use your platform's built-in authentication rather than having the AI write a login system from scratch.

6. Test the things that would hurt

You can't test everything, so test these:

  • Can someone who isn't logged in see or change data?
  • What happens if a form gets empty input, a huge input, or text with odd characters?
  • Does deleting something delete only what it should?
  • What does the user see when something fails? No stack traces or keys should appear on screen.

Ask the AI to write automated tests for these cases, then run them yourself.

7. Check dependencies and costs

AI tools sometimes add packages you didn't ask for, and occasionally suggest ones that don't exist. Ask for a list of every dependency and why it's needed, and remove what you don't recognize. Set spending caps or budget alerts on any paid API or cloud account the app uses, so a loop or a bot can't run up a large bill.

8. Ship small, watch, then widen

Release to yourself, then a few trusted users, then everyone. Turn on whatever logging your platform offers so you can see errors. Write down how to take the app offline quickly if something goes wrong.

9. Know when to stop vibe coding

Bring in a developer, even for a one-hour review, if the app starts handling money, sensitive personal data, or more users than you could personally email to apologize to.

Takeaway

Vibe coding works best for small, low-stakes tools. The safety comes from process rather than reading code: limit what the app touches, keep secrets out, use version control, make the AI explain its changes, and test the failure cases that would hurt.

Takeaway: Classify every project as green, yellow or red before you start, and don't let a yellow project turn red without a review.

Cover image: Source code on a screen. Image by Micke via Wikimedia Commons, CC BY-SA 3.0.

By W. Soares

Educational content only. Nothing here is investment advice.

Keep reading