← All posts

Blog

You built it with Claude Code. Now what? Getting a prototype into production

The demo works. Here's what usually stands between it and real users.

· 4 min read

AI coding tools have changed who gets to build software. A founder with a free weekend and Claude Code, Cursor or Lovable can put a working prototype in front of a customer faster than most agencies can send a proposal. That's real, and it's useful.

What the tools haven't changed is the distance between "works on my laptop" and "works for paying customers at 2am on a Sunday". That distance is mostly made of boring things, and AI tools don't notice boring things unless you ask them to.

Why the gap exists

When you prompt a coding assistant, you ask for behaviour: add a login page, let users upload a CSV. The tool optimises for making that behaviour appear. By default it doesn't ask what happens when two users upload at once, when the CSV is 400MB, or when someone types a script tag into the name field.

Veracode tested more than 100 language models on 80 coding tasks in 2025 and found that the generated code introduced a security flaw in 45% of cases. Cross-site scripting was the worst: the models failed to defend against it 86% of the time. The more uncomfortable finding was that newer and larger models didn't do meaningfully better on security, even as their code got more syntactically correct.

So the prototype is unfinished in a predictable way, which is better news than it sounds: predictable gaps can be checked for.

The usual list

Supabase published a production checklist for vibe-coded apps in August 2025, and it lines up well with what tends to break. Here's our version of what to check before real users arrive:

  • Authentication and access. Log out and try the private URLs. Log in as two different users and check neither can see the other's data. If you're on Supabase or Postgres, row-level security has to actually be switched on.
  • Secrets. Search the frontend code for API keys. Anything that ships to the browser is public.
  • Input handling. Every form field and upload is untrusted. Validate on the server, not only in the UI.
  • Separate environments. You need somewhere to try changes that isn't the live database.
  • Errors and logging. When something fails, you want to know before a customer emails you, with enough context to find the cause.
  • Backups. Check they're on, then check you can actually restore one.
  • Deploys. A repeatable way to ship that isn't "I ran it from my laptop".

None of this is exotic, and each item is a modest job on its own. Together, though, they add up to a week or more of careful work, and it's exactly the kind of work that's easy to postpone while customers ask for features.

Where it usually goes wrong

The common failure is slow and undramatic. The prototype goes live because a customer wants it, then a second customer arrives, and someone adds a feature with another prompt that quietly duplicates a function that already existed. Weeks later a deploy breaks the login flow and nobody can tell which of the last fifteen changes did it.

Retool's piece on the risks of vibe coding describes the same drift inside companies: code moves from prompt to production with less review, and teams end up debugging code nobody on the team really wrote. The tools make it cheap to add code; they don't make it cheap to understand it.

What getting it into production takes

Getting a prototype production-ready is less about rewriting and more about taking ownership of what's there. In practice:

  1. Read the whole thing. Somebody has to understand the code end to end, including the parts the AI wrote at 1am that nobody looked at.
  2. Decide what stays. Most prototypes have a solid core and some dead ends. Keep the core and delete the dead ends.
  3. Work through the list above in order of risk: data leaks first, then data loss, then everything else.
  4. Add enough tests and logging that you can change things without holding your breath.
  5. Set up a deploy you can repeat and roll back.
  6. Then go back to features.

Usually you shouldn't rewrite. A rewrite throws away the part that already proved customers want the thing.

Who should do it

If you're comfortable in the code and have the time, you can do a lot of this yourself with the same AI tools, provided you ask them different questions. "What are the security problems in this file?" gets you much further than "add a feature".

If you're not, or your time as a founder is better spent selling, this is a good first job for a forward deployed engineer. It's bounded, it teaches them your product and your customers, and at the end you have something you can hand to the next person without a two-hour briefing on which parts not to touch.

Keep the prototype. It did its job by proving the idea; now it needs someone to own it.

Further reading