Vibe coding gets you a demo. Spec-driven development gets you closer. But for real business software, you need a complete process.

Spec-driven development is a big improvement over vibe coding. But is it enough to build reliable, real-world applications with AI?

I don't think so. In this post, I'll explain why, and walk through the workflow I use to build line-of-business and backend applications with AI.

Watch Full Video

https://youtu.be/eUV7TN1B40s

Who this is for

If you're building a game, cloning a popular app, or reverse engineering something that already exists online, you can often get away with a one-shot prompt.

This post is for everyone else: developers building backend systems, line-of-business software, or financial applications, where you still need the full software development lifecycle and can't just vibe code your way through.

The example: a restaurant table-booking app

To demonstrate, I built the backend logic for a restaurant booking application. It sounds simple, but the business rules make it a real test:

  • Table availability
  • Number of guests
  • Day of the week
  • How many days in advance the booking is made
  • Special cases specific to the restaurant

With this many rules, there's no way to wing it. The AI needs clear written requirements to translate into working software.

I started from a simple mock-up: select a date, choose the number of guests, find a table, and look up an existing reservation using a booking code.

What I ended up with

After a couple of hours of following what I considered best practice (not vibe coding), the result was a minimalistic application with a basic design and, in places, actual bugs.

That's the point. Even when you do most things right, things can still go wrong.

Where AI-built apps fail

1. The model or agent you use

The weakest link can simply be a weaker model. Top-tier models, such as those available through Claude Code (Fable or Opus), are powerful enough that you can sometimes get away with less detailed requirements.

For this demo and the series that follows, I deliberately used the cheapest model available, OpenAI's Luna 6, and spent no money on tokens. That makes the process itself the variable, not the model.

2. The process itself

Most developers know the difference between vibe coding and spec-driven development by now. For this kind of application, spec-driven development is clearly the right choice, and one-shot prompting won't cut it.

But a specification plus a powerful model still isn't enough when your application has complex business rules. You need a bigger workflow with more stages, especially for heavy applications like financial systems or booking engines.

My AI development workflow

Here is the full workflow in summary. It's opinionated, and I'm sure other good ones exist.

1. Clear requirements and specifications

Establish exactly what the application needs to do. Everything else depends on this.

2. Technical specification

Translate the business requirements into a detailed technical specification. If your codebase isn't a copy or reverse-engineered version of something that already exists, you'll need to be hands-on here.

3. Test development

Define the tests that verify the expected business behaviour. This goes beyond saying the spec is clear. It makes correctness measurable.

4. Work breakdown structure (WBS)

Break the project into features, tasks, and traceable deliverables. This goes well beyond the plan mode in tools like Claude Code or Codex. For a large application with features and epics, you need a dedicated breakdown, not just a plan of what the AI intends to do.

5. Code generation

Surprisingly, this is the easiest part. If every earlier phase is done well, "generate the codebase" is a simple instruction for a powerful model.

6. Acceptance testing

AI can build something it believes is correct, but that doesn't mean it ties back to your features or acceptance criteria. This phase verifies that the implementation actually does what was required.

7. Code review

Do a formal code review, just as a development team would. Two issues commonly hide in AI-generated code:

  • Security. Vibe-coded apps often fall short here.
  • Technical debt. Duplicated code, poor performance, and wrong data structures make it painful to change rules or add features later.

The uncomfortable reality is that you can spend hours and plenty of tokens on your best model, only to have a review reveal problems serious enough to force a rebuild. That's exactly why the earlier stages matter.

The takeaway

AI-assisted software development needs more than good prompts, a powerful model, or even spec-driven development. It needs a complete development workflow.

It's not enough to say "don't vibe code, use spec-driven development." For complex applications, you need structure at every stage, from requirements through to review.

What's next

This is the first in a series. In the following parts, I'll go through each stage of the workflow in detail, using the restaurant booking app as a practical example.

If you've built something with AI and hit the same walls, I'd love to hear how you handled it in the comments.