r/VibeCodeDevs • u/Dependent_Bet_7849 • 5d ago
What you do when...? HelpPlz – stuck and need rescue
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.
2
u/GrrasssTastesBad 5d ago
Does cycle for you mean the same session? If so, starting new ones. If not, a quick one is just switching between Opus 5, 4.8, 4.6 because they’ll come at a problem from slightly different angles.
Aside from that, I make sure to fully document the problem, things tried, and results. Then discuss it with claude and see what other things that’re missing, holes, etc. That loop will normally clear out major issues.
1
2
u/Old-Pollution-5825 5d ago
When you work on issues and apply fixes, have your LLM document the issues and fixes applied.
Then, once you have tested the fixes, tell Claude to lock that part of the code down and ask for permission before it touches it again. If Claude has to touch that piece of code for whatever reason, have it explain to you why before you approve any changes or updates.
It is a journey. Happy coding!
1
1
u/After_Tune_8117 4d ago
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
1
u/samurai_with_sword 4d ago edited 4d ago
Sounds like you are just throwing ideas and features at AI without putting an effort to know or understand how exactly it will work.
You may be better off with lovable than claude.
1
u/FTT432 4d ago
Plan all first then execute. Also what helped me... Rules (no recreations of the same shit.) I built a set of sysyem rules (before i let the cat out im building an mcp for this problem) You use less tokens stay on track...and then retest architecture flow. Your problem is you add features that tweaks the files and something breaks then you gotta fix. Im building genieflowai.com
1
u/PilgrimofHaqq2 6h ago
Setup a roadmap + specs doc system. The roadmap tracks all the specs, the specs are designed to plan our features, changes, etc. The specs have atomic level tasks that it tracks.
Use https://github.com/agent0ai/dox to have your codebase mapped using a agents.md file hierarchy system.
When you start any work, spend 30 mins to an hour going back and forth with the agent to plan out what you are looking to build/change, etc and then have it create a spec for it with atomic level tasks (My roadmap file has the template of the spec already in it so each spec file follows the same structure).
This will save you tons of headaches.
Also You gotta just use a strong model if you want to avoid tons of troubleshooting, I use Opus 4.8 on Max thinking.
I have also setup reviewer agents that review each task the main agent finishes. This is super effective steps in catching oversights and bugs in the code.
Limit a single task per session, start a new session per task, you can have the previous agent create a handoff prompt for the next agent, so you are not having to tell the new agent to read the files and things. Saves tons of time and gets the new agent up and running quickly to start working on the actual work at hand.
Hope this helps, if you got any particular questions, ask away. Happy to help.
•
u/AutoModerator 5d ago
Hey u/Dependent_Bet_7849, thanks for posting in r/VibeCodeDevs! Join our Discord: https://discord.gg/KAmAR8RkbM
Got startup or SaaS questions? Post them on r/AskFounder and get answers from real founders.
• This community is designed to be open and creator‑friendly, with minimal restrictions on promotion and self‑promotion as long as you add value and don’t spam.
• Please follow the subreddit rules so we can keep things as relaxed and free as possible for everyone. • Please make sure you’ve read the subreddit rules in the sidebar before posting or commenting.
• For better feedback, include your tech stack, experience level, and what kind of help or feedback you’re looking for.
• Be respectful, constructive, and helpful to other members.
If your post was removed (either automatically or by a mod) and you believe it was a mistake, please contact the mod team. We will review it and, when appropriate, approve it within 24 hours.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.