r/theVibeCoding • u/rahajason • 8d ago
How do you switch from vibecoding to production ready app ?
For those who want to develop apps using AI and produce production-ready code, I know not everyone is a developer, but AI is a fantastic tool that can help you launch the app of your dreams, from idea to real app, so if you’re interested, just leave a comment and I’ll send you the link.
I’m a senior developer, and I bring my years of experience to help you take the next step.
4
Upvotes
1
u/literally_iliterate 6d ago
So funny this got no response in 2 days lol
1
u/manuelhe 5d ago
Test with unit tests. Test with people . Fix the bugs and bad UX. Rinse and repeat
1
u/kincaidDev 5d ago
I have a few techniques. I don't really consider what I do "vibe coding" for the most part, if I'm vibe coding, not thinking about anything but prompting to get results, I usually consider that code unsalvageable prototyping/etc...
But I often bootstrap projects with less review than normal.
For example, if I want to bootstrap a new project I'll often plan out a festival design workitem for the initial scaffold of the project, and this may include multiple prs, or even just pushing straight to main to get the project started.
https://github.com/Obedience-Corp/festival
Sometimes I'll get the project pretty far along by doing just that. Once it gets to a place where the majority of the project is structured and validated I'll often do a on device code review, where I'll ask my agent to create a code review workitem for a repo and do a full code review on the entire codebase. Sometimes I'll do this as a festival so I can be sure the agents were actually thorough. Then I turn the findings into a new festival and fix everything that was found.
After that step the code is in a good spot so going forward I keep a closer eye on prs and ensure quality is maintained.
1
u/CS_70 5d ago
Vibecoding is "making things as you go". It works for smaller things (and surprisingly, even bigger things to a point, since the machine can do a lot of the heavy lifting of managing the complexity) but it tends to needlessly increase entropy, which is the enemy of all that's nice and working :D
It can also abstract you entirely from the technical details on how things are made.
To the chagrin of many, this is very ok to a point (we have spent 60 years refining abstraction layers exactly to be able to use something as a unit without caring much of how it works), but alas abstraction isn't perfect so adding enough stuff, the how starts to have an impact on the what you do.
Beyond that threshold, you need to become more aware of how exactly you (your code) is realizing the stuff you want it to realize.
That is the core argument of anti-vibecoding people (though they seldom can put it down in these objective terms and they prefer the derogatory tone because.. well, immaturity I guess), and it has a very real core of truth.
So all you need to do is to use the same tool you would use to tacke any complexity: planning.
How much planning, it really depends on the scope of the final product.
So pre-plan and tackle the complexity - throw the kitchen sink of thoughts, ideas and specifications (backlog style) and then sift and filter out in a choerent plan before starting any coding. Crucially, this must include nonfunctional aspects (stuff that non-programmers or bad programmers usually never think of in advance: performance, security, observability, etc).
Write write write. Use the AI to look for holes and insconsistencies. Decide, cut, filter, prioritize - it's incredibly easier to make it on thought than on code.
Once you feel you are where you want to be.. the coding becomes a nearly mechanical thing. The AI is absolutely aware of all the best practices and patterns to solve general issues, so for general, common applications - the vast majority of them - it will apply them automatically as you will have given it enough information to recognize them.
That's the difference between vibecoding a small thing with AI and being able to produce reliably complex systems day in day out with it.
1
u/RandalSchwartz 5d ago
Count your test coverage percentage.