Topic 2 of 5 · 4 min read
Where vibe coding works well
Goal: Decide whether a project is safe to vibe code from its users, its data and how long it must live.
Vibe coding is a good choice when a failure is cheap, only you are affected, and the result can be thrown away. In that case speed matters more than quality, and AI tools are very good at speed.
Check yourself · 1 of 3
Which project is the safest to vibe code?
Why it matters
Reading and testing code costs time. For a script you will run once, that cost is bigger than the risk. For an app that holds other people's data, the risk is bigger than the cost. A good decision means knowing which case you are in before you start, not after something breaks.
The three questions
Ask these about any project:
- Who is affected if it fails? Only me, a few friends, or customers and strangers?
- What data does it touch? Nothing private, my own files, or other people's personal or payment data?
- How long will it live? One afternoon, a few weeks, or years?
Green light: only you, no private data, short life. Examples: a script that renames photos, a budget calculator for your own use, a landing page mock-up, a demo to test an idea with a team, a game for a weekend.
Yellow light: a few trusted users, low-stakes data, or a life of months. Vibe code the first version, then plan to read and test the parts that matter before more people rely on it.
Red light: strangers use it, it stores personal or payment data, it changes money or medical records, or it must run unattended for years. Do not rely on code nobody has read.
Before and after
Weak decision: "The AI app builder made a working inventory app for my shop in an hour, so I will use it for customer orders."
Better decision: "I will use it to test the screens with my staff for a week. The real orders stay in the system we already have. If we keep the app, someone reads the code and sets up the database rules first."
The tool did not change. The stakes were matched to the method.
What goes wrong
- The prototype that never dies. A demo works so well that people start depending on it. Nobody planned for that.
- Private data sneaks in. A personal tool gets a "share" button, and now other people's emails sit in a database nobody secured.
- Overconfidence from speed. A fast first result feels like proof of quality. It is proof of speed only.
Pick the method before you start, and check again when the audience or data changes.
Examples
Three projects, three lights
| Project | Users | Data | Life | Verdict |
|---|---|---|---|---|
| Photo renamer script | Me | My own copies | One run | Green |
| Team lunch poll | 12 colleagues | Names only | Two weeks | Yellow |
| Online shop checkout | Public | Cards and addresses | Years | Red |
A creeping scope
Sara builds a habit tracker for herself with Lovable. A friend asks to use it, then ten more. By then it stores email addresses and a daily mood log. The project moved from green to yellow without a decision. The moment to stop and harden it was when the first friend asked.
Key points
- Vibe coding fits when failure is cheap, only you are affected and the code can be thrown away.
- Three questions decide fit: who is affected, what data is involved and how long it will live.
- A prototype is a good use even for a team, as long as it is labelled as a prototype and holds no private data.
- Sharing a personal tool or adding user accounts changes the risk and should trigger a re-check.
- Speed of the first result says nothing about how safe the code is.
Common mistakes
- Judging a project by how simple it looks instead of who and what it affects.
- Letting a demo become the real system without a decision.
- Assuming that no payment data means no risk, when emails, health notes and photos are private too.
- Skipping the question of how long it must live.
Check yourself · 2 of 3
A friend asks to use your personal vibe-coded tool, and it now stores their email. What is the best step?
Check yourself · 3 of 3
Which question helps decide whether to vibe code a project?
Practice items, not counted towards your mastery.
Start here
- Not all AI-assisted programming is vibe coding (Simon Willison) (opens in a new tab)ArticleFree
Draws the line between vibe coding and AI-assisted programming where you review and understand the code.
- Vibe coding (Wikipedia) (opens in a new tab)ArticleFree
Origin of the term in early 2025, how it spread, and the criticism of it.
- OWASP Top Ten (opens in a new tab)StandardFree
The standard list of web app risks, including broken access control and insecure design.