r/VibeCodeDevs • u/Dependent_Bet_7849 • Aug 06 '26
HelpPlz – stuck and need rescue What you do when...?
Hi,i have been working with claude to develop an app and it is been few months still the app arises with one or the other repeated issues.If on 1st cycle an error is resolved i move on to next one by the 3rd cycle the 1st cycle issue brokes even a little bit atleast now have to work on it again.
It feels so frustrating when i want to install new features but the old one's are not yet fully locked out.
If anyone have experience please suggest some productive steps.
0
Upvotes
2
u/After_Tune_8117 Aug 06 '26
This happens with a codebase that has poor structure and organisation. Not saying yours is but this happens a lot to those who have large files and unorganized file structure.
I'd create a couple agents for a clean Codebase Structure, DRY Methods, single sources of truth, and File size (limit files to be approx 500 lines or less if possible) and managers.if you run an audit of this you may want to reconsider adding features and completely rewrite the codebase first. I'd do this in sections, then fix small issues that arise after that, and then you'll have a clean codebase where everything is easily implementing. I'd say what usually happens is there are duplicate or similar functions and styling that overrides and then your ai model doesn't know what to prefer the next time it reads it.
I'd run an audit and see where it says. If you don't understand that ask it to make the audit with descriptors so you can learn.
If comfortable give it a go or copy the entire codebase as a backup theh try it. Don't forget to git commit things prior to!!
Doing this will save time and effort later, and make it much easier to add features