Right way to vibe code that actually works
Source: Dev.to
š Engineeringās Current Situation
Youāve probably heard it a ton of times: software engineers are going to be replaced by AI systems, agents, and tools.
We wonāt comment too much on thatāno one is clear about it yet. But a few predictions and trends are already happening in the industry:
1ļøā£ Small teams are becoming extremely effective and productive.
2ļøā£ People with agency and intent are being preferred over those who are merely skilled or smart.
3ļøā£ Companies will move even faster than before.
4ļøā£ Software is building itself.
š³ Examples
- ClaudeāÆCode is being built using Claude.
- Traycer is being built using TraycerāÆAI.
ā Should you use AI or not?
The real question isnāt whether you should use AI, but how you should use it.
A lot of people donāt know whether they are doing vibe coding or AIāassisted coding. Thereās a huge difference between the two.
š Usual Way of Vibe Coding
Vibeācoding workflow generally looks like this:
- You have an agentic IDE (e.g., Cursor, Windsurf) or CLI agents (e.g., ClaudeāÆCode, GeminiāÆCLI).
- You put a prompt in the chat window.
- Your agent reads the prompt, plans, and then starts generating code.
This method works for very small features or when youāre starting from scratch because:
- Starting with a fresh context/instance of the agent works for a while.
- As you keep generating code, the agent drifts from the original intent.
- Small & simple features can be implemented by most LLMs (Claude, Grok, etc.).

š When Things Actually Break
When someone starts working on larger codebases, complex features, or endātoāend products, agents struggle because:
- They drift away from the humanāgiven prompt or intent.
- Their performance degrades as the context window fills up.
- They hallucinate with confidence, lacking verification loops.
š As a result, users generate thousands of lines of code only to discover that nothing works. Refactoring such a codebase becomes tedious and requires many iterations.
This creates a pseudoāproductivity boostālots of iterations and headaches.
So, How Should We VibeāCode?

No, the picture above does not show how you should code š¤Ŗ.
Coding remains a fundamental problemāsolving method where structure wins, even with powerful codeāgeneration LLMs. Using first principles, the process looks like:
- Write a PRD (product/feature requirement document).
- Break the PRD into specs.
- Create tech docs and then subātasks.
- Assign subātasks to your team (or to an innerāloop LLM).
- Verify the implementations.
The inner loop (code generation) solves part of the problem, but something is still missingā¦
š The Outer Loop
Missing pieces that keep LLMs from fully handling coding are:
1ļøā£ Writing a PRD.
2ļøā£ Dividing the PRD into specs.
3ļøā£ Making tech docs and subātasks.
ā ļø Assigning subātasks to the team (or to an innerāloop LLM).
4ļøā£ Verifying the implementations.
This is where a new field shines: SpecāDriven Development.
Several products aim to solve specādriven development by generating PRDs, planning well, verifying each agentās code step, and preventing drift from the userās intent. Notable examples:
- Traycer
- Kiro
- Specākit
My friends are especially obsessed with Traycer because of its intuitive EPIC mode.
Problems Traycer Solves
- Capturing human intent from a simple prompt.
- Preventing agents from deviating from that intent.
- Consuming fewer tokens and avoiding context bloating.
- Verifying each change so you donāt ship hallucinations with confidence.
Sneak Peek: TraycerāÆAI EPIC Mode

Why TraycerāÆAI Is My Partner Nowadays
- Starts with a simple prompt.
- Interviews you about the problem statement, tech stack, edge cases, and other highālevel questions.
- Generates PRDs, specs, tech flows, wireframes, sequence diagrams, and userāflow diagrams.
- Breaks the plan into smaller tickets that you can hand over to any AI agent (Claude, Grok, Cursor IDE, etc.).
- Verifies each generated piece of code.
With a solid outer loop (specādriven development) and a reliable inner loop (AIāassisted code generation), you can finally harness AI without the drift, hallucinations, and endless refactoring.
# Updates & Recent Shipments
Each and every change helps prevent our agents from drifting or deviating in the wrong direction.
## š Recently shipped products
- **Building your own Redis**
- **Building my own WhatsApp** ā supports semantic search across messages
- And many more projects weāre building and loving in EPIC mode ā¤ļø