r/vibecoding • • 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?

21 Upvotes

50 comments sorted by

View all comments

1

u/OliMations 2d ago

It is hard with LLMs; the best way is to largely just learn the basics of software engineering yourself, which helps you direct the AI in the right direction and spot recurring or silly mistakes and misunderstandings before they get embedded forever. But if you are committed to vibecoding, then you sort of have to accept that the overall codebase quality won't be great, as long as you have adequate testing with high coverage, including integration and end-to-end testing, to catch genuine issues and fix them, and make sure you also test as many features as possible when you make changes, and provide yourself the internal tools to do so. You can mostly get by.

Also, if you did want a human to look over your code, fix an issue or add a feature, check out https://ancorra.dev for fast, easy, risk-free development help from humans. (Disclaimer: I am affiliated with Ancorra LTD)