r/vibecoding • u/chromespinner • 2d ago
Help/Question Techniques to improve your codebase?
I've now vibe-coded several apps that I'm generally happy with. But I still get the occasional glitches and errors. Once in a while I learn that something I thought I'd implemented is not actually working. If I were to show the repo to a software engineer, I bet they'd be horrified.
Also, I usually use Deepseek and GLM...not sure if that results in substandard code compared to using Claude.
So (besides hiring someone competent or just asking your agent to check), what are some methods to make your codebase more robust and verify that features are implemented in an optimal way?
View all comments
2
u/Legal_Answer_6956 2d ago
I'd focus on testing rather than just switching models. Keep changes small, run regression tests, and use a separate agent to verify important user flows like signup, payments, and password resets. Also, ask the AI to keep business logic, UI, and database code properly separated. Building features is easy; making sure they keep working is the real challenge.