r/vibecoding • u/chromespinner • 21h 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
1
u/Prod_m 18h ago
at some point I ask an llm to create two .md files:
on every commit I ask to update this docs in accordance with the changes made. token usage becomes higher but the risk of breaking something or rewriting logic that was approved earlier is lower.
also refactoring becomes a bit easier in terms of testing, because there are less mistakes or bugs in the end.
maybe there’s more efficient way to do it, but I don’t know of it yet.