r/vibecoding • • 2d ago

Help/Question How do you keep code quality high when vibe coding a complex project with limited programming experience?

Hi everyone! I’m building a data analysis agent as a solo project, and I’d love to hear how you approach vibe coding a complex project from scratch, especially if you started out with limited programming experience like me.

My approach so far has been to plan the architecture up front, choose the frontend and backend frameworks, and write down some coding conventions. I then set up four subagents in Codex: one to work through requirements, one to handle technical design, one to write the code, and one to review it.

Where I’m getting stuck is figuring out how to judge the result. I can tell the agents which technologies to use, but I don’t have much experience with system design. When I look at the finished feature, I’m not always sure how to check whether the implementation follows the architecture I had in mind, or whether that architecture was a good fit in the first place. I have the same concern about my coding conventions. How do I know whether the rules I’ve written are useful and whether the agents are following them?

For those of you who’ve built something similar, what does your workflow look like from the first idea to a working project? How much do you decide up front, and what do you check as you go? I’d especially appreciate a concrete example of a check or review habit that helped you catch a problem you might otherwise have missed.

Thanks for sharing your experience!

0 Upvotes

56 comments sorted by

View all comments

Show parent comment

1

u/Vegetable_Rent6264 2d ago

Thanks so much for taking the time to share your experience in such detail. Your advice about writing acceptance criteria first and asking the reviewer what it actually verified is really helpful.
One thing I’m still trying to figure out is how much work to give the agent at once when building a project. Do you usually keep each task focused on one very specific feature or module? And if a feature touches several parts of the system, how do you decide what belongs in one task and what should be split up?

1

u/HatEnvironmental7560 2d ago

It depends; are you working on a live application where downtime and QA is a concern? If so, you want to keep tasks small and focused on specific features so they can be thoroughly tested and released individually, which makes it easier to catch bugs and roll back the changes if something breaks in production. If you're vibecoding a personal project for yourself only then it really doesn't matter, go ahead and have a single agent revamp the whole thing in one pass and then test it out.

In terms of separating tasks, you have to identify the boundaries of the task; if one task needs to touch multiple parts of the system in order for the end result to be testable by a human, then you can probably go ahead and have the agent touch all parts of the system in one go. If your system is designed in such a way that you have to release changes to one part before you can release them to another part, with the risk of downtime for actual users if you fail to do that, then you'll have to break the task up differently and release it in pieces. Release each separate update to your staging environment first so you can test them all together, then release to production individually in the required order. If you're vibecoding a personal project for yourself then literally none of this matters.

1

u/MasterMorality 2d ago

They didn't take the time, they had an LLM do it. Probably Claude. Sounds like Claude.

1

u/Hypilein 2d ago

Apparently saying that gets you warned here now.

1

u/Severe-Highlight2217 1d ago

Good question. I don't have a hard rule, but a few things made the biggest difference for me.

One task should be one thing I can verify by doing it once. Before handing work over, I write a single sentence for "done": open this screen, click this, see this. If that sentence needs an "and" to cover two unrelated behaviours, it's usually two tasks. I don't use modules as the unit — a "module" can be a week of work, and a small feature can touch four of them.

For a feature that crosses several parts of the system, I split by seam rather than by file. First the contract: data shapes, function signatures, what each side sends and expects. I get that written down (or agreed with the agent) before any implementation, then do one side at a time against the contract, with the other side stubbed or faked. The agent gets a task per side. When something breaks, I know which side it's on, and the agent never has to hold the whole system in its head.

The other constraint is review size. If I can't read the whole diff in a few minutes, I can't really tell whether the agent did what I asked — and that's the moment I start taking its word for it. Smaller tasks cost me more prompts, but far fewer silent mistakes.

Might not be optimal, but it's what kept me from drowning in a project I don't fully understand.

0

u/[deleted] 2d ago

[removed] — view removed comment

1

u/vibecoding-ModTeam 2d ago

We’re banning anyone who does not engage with the concept of vibe coding constructively.

Critique is constructive. Gatekeeping, insults, and fundamental pessimism about the practice of creating software with little to no code review will warrant a permanent ban.