Vibe Coding Forem

Hasnaat Iftikhar
Hasnaat Iftikhar

Posted on

Why AI backend code breaks when specs are vague (and what I’m building to fix it)

AI tools like Cursor and ChatGPT are incredibly useful, but while building backend features I kept running into the same problem.

When backend requirements are vague, AI starts guessing.

That usually leads to:

  • Incorrect business logic
  • APIs that don’t match real product needs
  • Auth and data rules breaking
  • Rewriting the same code multiple times

I realized the issue isn’t AI.

The issue is unclear backend specifications.

Instead of jumping straight into code generation, I started defining things first:

  • Data models and relationships
  • API contracts
  • Authentication and authorization rules
  • Error handling and edge cases

This approach worked far better.

So I built Onvyo.

Onvyo is an AI-powered developer tool that generates end-to-end, implementation-ready backend specifications before you write or generate any code.

It uses a structured interview flow (not free-text prompting) and outputs a detailed backend spec in Markdown that you can paste directly into tools like Cursor or ChatGPT.

The goal is simple:

Give AI clear, deterministic instructions so it stops guessing and starts generating correct backend code.

Onvyo is now live and still early:
👉 https://onvyo.com

I’m building this in public and actively collecting feedback.

If you’ve struggled with AI-generated backend code due to unclear specs, I’d love to hear how you’re handling it today.

Top comments (0)