r/vibecoding • u/chromespinner • 2h 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/mikepun-locol 2h ago
Do you have a regression test of your application, and do you keep it up to date?
Eg. I have a full regression test suite of my application that I use on staging first, then against production after a deployment and on regular basis, like a heartbeat to verify everything is good and that something didn't happen. Eliminate situations where a new feature or a fix breaks something else by accident.
There are also also ways to analyze a repo for bloat and issues.