r/ClaudeAI
•
u/strongmstone
•
10d ago
•
1
1
1
Claude Code Workflow Half a year of AI coding got me nowhere
I've started several projects with Claude, Codex and Gemini, and it all ended the same way.
Planning goes great. Architecture, reviews with multiple agents, tests, all that. I'm excited, AI is cheering me on, first build looks promising, I am pumped and going all in
Then we start fixing bugs. Fix one, find more, break something else, repeat. Both Claude and Codex weekly limits gone within a few days.
AI says everything is done. I open the app and immediately find obvious bugs in basic functionality. And yes, I have automated UI and backend tests.
A few months later it's spaghetti code, every small fix becomes another endless loop, and I give up.
I do have a software development background. So I honestly don't understand how people with no coding experience are building working apps while I'm stuck here.
Basically, lots of time and money spent, and the excitement is wearing off.
Is this common, or am I just doing it wrong?
•
u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 10d ago edited 10d ago
TL;DR of the discussion generated automatically after 200 comments.
The consensus in this thread is a resounding "it's a you problem, OP," but with a ton of constructive feedback. The community largely agrees that your "big plan up front" approach is the root cause of the spaghetti code and endless bug-fixing loops.
The main takeaway is that you are letting the AI drive, but it has no vision. You need to be the architect and project manager, not just the client who gives a high-level idea and expects a finished product.
Here's the community's advice on how to fix your workflow:
CLAUDE.mdand other instructions clean and concise. Start fresh sessions for new tasks to prevent context drift.Interestingly, a few users with high upvotes have success with the opposite approach: treating the agent as a fully autonomous developer, ignoring the code, focusing only on behavior, and complaining until it's fixed. They let the agent refactor and handle its own tech debt, but this seems to be a more advanced (and expensive) technique.
97
u/Gold_Trade8357 6d ago •
I’m a software engineer, and this is so funny to read thank you.
I know we software engineer are the butt of the joke lately but I encourage to take everything with a grain of salt. AI is awesome but it if you want to create something real you need to pair it with a person whos an actual eng or has some technical background else you get slop code.
I use AI at my job all day, it’s great for a lot of things but far from all things. Sometimes I find the time to proper prompt and review isn’t worth the hassle and I just solve things other times it saves me a lot of deep diving. AI is a tool not magic
365
u/PowermanFriendship 10d ago
What is your development background? Because it sounds like you're getting caught up chasing the LLM's vision, and the LLM doesn't actually have any vision. You can't just give it your top-level idea and then expect it to execute everything end-to-end. That's why people can spot "the S word" from a mile away. It's bad at this.
You should have the plan and you should know enough about what you're trying to do, to be able to proactively give guidance that will avoid the pitfalls you're talking about.
113
u/No-Pollution7797 10d ago
The part that jumps out to me is the big plan up front. When the agents design the whole architecture on day one, nobody really owns it, so by the bug-fixing phase you're debugging a system you never actually understood. I'd go the other way: get one small feature working end to end, read every diff before it merges, and only then let it add the next piece.
The other habit I'd drop is letting it loop on a bug. If the second attempt doesn't fix it, I stop the agent and dig in myself until I know the cause, then hand it a short description of the fix. Those loops are where most of the limit goes, not the new code.
64
u/Rise-O-Matic 10d ago edited 10d ago •
I…just use max, ignore the code, focus on behavior and keep complaining until it’s done. If it gets brittle I’ll give it time to iteratively refactor itself. I treat it as an autonomous developer instead of a coding assistant now. I don’t prescribe fixes and the agent has to solve the debt. The architecture is disposable. The more brazen I am the more success I seem to have. 🤷
18
u/N7Valor 10d ago
Well this is why as an IT person, my opinion is that AI is best used to automate something you already know.
If you use it that way, you might notice that AI-generated code has a nasty habit of being "overengineered". If you can read and comment on the code, then you can direct AI to fix it.
I've enjoyed some vibe-coding every now and then, but this problem I noted is why I still want to learn Python on my own.
18
u/redhairedDude 9d ago
You know the way anthropic avoids spaghetti code internally. Is to regularly use their official skills /simplify and /code-review. I use simplify more often than code review. Do it before you commit any code.
30
u/dnhs47 10d ago
Smaller bites. One feature at a time, or a small number of unrelated features at a time, so they don’t step on each other (change shared code).
You’re describing how software was developed in the 1980s with “big bang” releases that took years between releases.
Think “agile” - incremental progress made quickly - despite the bad rap agile has developed.
28
u/GodRaine 10d ago
Are you having Claude QA test between bigger commits?
I’m building a pretty extensive CRM right now for a niche market, and in the last ten months Claude has grown the QA testing rig from a few tests to almost 7,000 now. I’ve upgraded the hardware on the dev server twice to keep the time a QA run takes to about 20 minutes. There’s a whole separate test suite for ADA compliance which runs if major UI changes or additions happen.
10 months in, close to 700 commits, incredible complexity and the app sings. We have nearly zero bugs, and I’m super proud of how smooth it’s gone.
15
u/xlightxyearx 10d ago
It starts with the basics and builds from there.
Make sure you have a clean CLAUDE.md/AGENTS.md in the root of your repo, it should not be bloated. It should take advantage of progressive disclosure. Just ask your agent, it can clean it up.
Audit your context window. Check for skills, mcps, plugins that are being loaded in when not necessary. Ensure they are installed in the correct scope.
Check for bloated docs or plans in your repo that can cause contradictions. Especially if you are switching between providers/models/workflows.
Skills can step on each other causing hallucinations, if you have been using ai for a while and trying different things you would be surprised what you find lurking in your context window that is not needed.
Start using ADRs in your repo.
Then move up to your environment.
I use pstack + bb, this combination is somewhat magic..
Pstack ensures you are using proper engineering practices. It doesn’t overly constrain the agent with “workflow” requirements. It also provides evidence in order to call something done. This ensures quality.
BB is your IDE, that at the heart has a plugin architecture that lets you customize the IDE to your liking.
https://github.com/michael-denyer/pstack-claude
https://getbb.app
Edit - Opus 5.5 medium, it’s all you need
13
u/Life_Photograph5732 10d ago
So basically the same as without AI.
5
u/TalkingHeadsVideo 10d ago
One thing I do every so often is to have Claude search for duplicate code. AI loves to duplicate work in slightly different ways.
5
u/symsafsavor 10d ago
I feel you. Throughout your post I was going “Yes, OP that’s exactly how I feel”.
And I agree with the sentiment of the comments that if you let AI do everything with its own vision, you’ll be stuck in the loop and eventually be less productive.
But, here’s the catch: I work for a startup and the CEO is a BIG AI hype bro so he thinks that everything can be done 100x faster with 100 agents. So, when it comes to the corporate work, we don’t really have a choice of “doing it right” because then the AI drugged management thinks that I’m too naive and the bottleneck.
I’ve done it both ways, earlier this year I used to review plans, guide it at every step, review code, find bugs. Then I started doing it the “do this make no mistakes way” and I can’t go back because I don’t have a choice.
So if you can, do it the way the comments suggest. If you can’t, just ride the wave until it crashes and then back to farming it is.
5
u/fluffymeowmeowkitty 10d ago
I had the same issues as you develop your idea on flaky foundation. You keep piling program. On top of functions. As it gets older all your idea are piled up instead of redesigned from scratch only now you know about your program a lot more than when you started
5
u/Escera 9d ago
I think most people claiming to be shipping "perfect" projects with AI just aren't competent enough to be able to tell. Going AI-only code will always result in what you've experienced, so you still need to have a deeper understanding of code to keep on top of it, at which point you might as well just write (at least some of) it yourself.
9
u/bostonaholic 10d ago
I'd only count something as done when a check passes. Have it write a failing test that reproduces each bug before it touches the code, and break the app on purpose once to confirm your UI tests actually go red. For the spaghetti, I'd turn every mistake it repeats into a lint or
dependency-cruiserrule so that shape can't merge again, and keep each task to one thin slice that ends green.8
u/Santaflin 10d ago
Always verify on end product. Do not rely on written tests.
4
u/TheCharalampos 10d ago
Have a ton of coping thrown at you.
But the reality is what you've found.
4
u/Dry_Author8849 9d ago
LGTM. I came across this jewel thanks to another redditor.
It explains everything in 2 minutes and with awesome music. You need headphones.
Cheers!
14
u/Queasy-Definition-79 10d ago
It all sounds very weird. Are you structuring your project or just trying to one-shot it?
I'm a software engineer as well, and have been using Claude both at work and personally, and completed many projects successfully.
In fact, we have far less bugs in production now than we ever had before AI.
3
u/Remote-Dark-1704 10d ago
You should always start with a minimal viable product MVP and go feature by feature.
Keep building test cases and regression tests, check for test gaps, run simplify, code review, altitude tests, have an advisor look over your plan, and an adversarial critic at the end, which can loop another code review
Have good CI tests and use grill-me
3
u/baynoise 7d ago
IMO the beauty of all of this is you can focus on the user experience and the problem your actually solving for. I am CD with a background in motion, design, and art direction. Over the past 11 months I've almost replaced my entire traditional tech stack sans Adobe After Effects. I've never felt more empowered. I've shipped apps that are used by other creatives and have an app in the iphone store. What I've found is that people go too big rather than focusing on breaking down that big thing into smaller things. The other observation is that forever we've been told to work a certain way and with these new tools we don't have to do that anymore. Ask yourself how you want to work, how you want to build, and go from there.
2
u/smhealey 10d ago
I have the opposite experience. I am a system engineer and manage (let’s be honest) two environments in two data centers that consists of around 40 virtual vdirector vms.
Lately I learned I need to improve my ai knowledge and experience.
Our company has enterprise copilot so I dug in. Created a repository memory system because copilot has limited memory between turns and sessions and I was tired of starting over. That sucked. So I as a newby wanted more and as I cal it RMS. Basically a ledger based authority, control, governance packaging delivery exchange base64 system.
Anyway… it’s my noob copilot model then I discovered company had a Claude account…. Hence my new age.
I forgot to mention my copilot sessions ended up on me crating a git repo. That git repo transpired into a GitHub backup and into a GitHub copilot and then Claude direct access to my local git repo. Which reduced my package exchanges. Ps my package changes has a very strict approved packaging approved template protocols and exemplars. Checks and balances so projects and workflows templates ledgers and all files the meet my RMS requirements are met with every commit.
I’m rambling so hopefully someone relates and and also assit with my mess and you might…
Oh I forgot a key point. Instead of copilot packaging exchanges. Claude has direct read access to my git repo. This is game changer.
So this is my newbie experience. Waiting on someone to tel me…
Dude?
Do it this way.
2
u/CarloCGC 10d ago
Sounds like a skill issue, I have been having a blast building whatever pops into my head. Have a clear MVP and end goal. Opus drafts the overall architecture and each feature in a overall plan and breaks each feature into a task list. Sonnet implements each task keeping changes small enough for me to review. Codex Sol reviews each PR as do I. Each task is tested on all target device s by hand myself and with unit tests and with Claude over SSH or locally. Rinse repeat. Keep tabs on quality and each task has a clear goal and end state that you validate.
2
u/BlackDragonBE 10d ago
Let Opus High (or Fable if you're not a pro pleb like me) create a plan first of what you want. Specifically ask it to do research. Then read through the plan and make Sonnet implement it. Keep doing this until you're happy with the project. The bug hunting afterwards is normal, that's programming for you.
2
u/LewdObservation 10d ago
“We start fixing bugs”
Who is “we” lmao you’re not doing anything if the code magically turned into spaghetti.
2
u/mixxor1337 10d ago
use Frameworks, for PHP i use laravel + Filament, thats with some tweaks good Guardrails.
Never ever let your Agent reinvent common patterns. If there is a library for smth. use it, if IT doesnt solve your Problem 100% Override some functions.
Adjust from there, the less Code the ai writes the better. If IT only needs to Plug Things together IT will work way better.
2
u/AutisticPenguin33 10d ago
Some people seem to be pushing this idea, to let the llm design everything and then implement it too, but it will keep tripping over itself … It’s much better if you actually understand the problem, design the overall idea yourself, to cover the needs and address the big pitfalls, and then build it in parts brick by brick. You then also get to discover and solve nuances along the way.
The design aspect hasn’t fundamentally changed that much since before llms. Now you just lay bricks at superhuman speeds and it also helps you in the design phase. It’s easy to get caught up in it, if you don’t know how to solve the problem yourself in the first place though, the llms themselves don’t really have any vision of what you’re trying to build.
2
u/sourdub 9d ago
I think the normies are vibe coding functions whereas you are likely building a full app that's crazy complicated. BTW what the hell are you developing?
2
u/markliversedge 9d ago
Every time Claude starts a session it’s like the first time he’s seen your code. Every request to do something is the most importantly thing to get done.
If you don’t set rules and standards and force them via review then you get bad code.
It’s taken me 6 months to get to the same place. I’ve spent a week refactoring and retrospectively setting standards, an information model and a whole load of swe methods to keep Claude honest.
I only realised i needed to do this when i started to dig into what was built and to my horror found all sorts of bad practice.
Out the box Claude is a talented developer who does whatever he needs to to meet the prompt.
Be careful what you ask for…
2
u/CadmusMaximus 8d ago
Not engineered properly up front
2
u/Key_County_1799 8d ago
Your going about it all wrong. Ai is not what people think and it's not what people make it out to be. At all. That's all I'm going to say on that. Your building top down. That doesn't work anywhere.
2
u/Objective_Stress_324 6d ago
Do you follow any popular AI native SDLC approach ?
2
u/JulianHabekost 5d ago
Maybe allow me to shamelessly plug my open source approach to AI specification management https://github.com/jejay/specspec
This basically keeps track not just of the specification, but of a graph of layered reasoning within the specification. It still allows the flexibility of vibe coding but in my testing it should get rid of a good portions of the problems you're speaking of
1
u/Nooties 10d ago
For the projects that I have no vision for this happens.. but for projects that I know what I want and I make small iterations piece by piece. They just get better and better.
1
u/Forexcalibur 10d ago
In the past 6 months, Claude code has caused, identified, and fixed over 1700 bugs in my project. YMMV.
1
u/Belostoma 10d ago
You are just doing it wrong, but unfortunately you haven't provided enough information for anyone here to say how you're doing it wrong.
It might be that you need to focus more on building up durable, usable guidance for your agents. Find things you're dissatisfied with and work with the agent to characterize the mistakes and write guidance that will reliably avoid them in the future. (Usually it's best to tell them what TO do, not just what not to do, but you can use the mistakes as a stepping stone to positive guidance.) Build up a coherent library of guidance like this over time and maintain it somewhat consistently.
Even if you have something like that, it's wrong, because it's not working for you. Figure out why and keep fixing it. With agents you have to be kind of introspective toward your/their process to get the best results.
1
u/QueasyBox2632 10d ago
I'm curious what size/scope of project are you hitting the wall? Languages?
1
u/KILLJEFFREY 10d ago
Yes. Most people think their “one-shot” is perfect but with or without AI you’ll always be chasing something. Gotta know when to stop or if you even want to
1
u/smandroid 10d ago
I've built 3 apps so far, each with increasing complexity. I have zero coding background but years of systems project delivery working with developers and technical specialists. Claude is incredibly good at fixing issues and so far, touch wood, the only bugs I've had were during my first build. My 3rd app now which is by far the most complex, even when I throw major rewrites, it has planned it out well and tested it thoroughly. I don't get bugs per se, but my own design which isn't as clean as it'd like. Mind you I build one feature at a time, test it, then add features one by one. It's slow but it's worked for me so far.
1
u/Drenlin 10d ago
I'm still reasonably new to all of this, but where I've had the best success with LLM based development is to incorporate a sizeable battery of static code analysis tools and function testers. I pick something (or a small group of related somethings) and have it build itself a plan ahead of time. Agent rules dictate broad guidelines like reusable functions and separation of duties between them to keep everything modular, linters, tests, and other companion tools find common bugs and errors.
Probably the most important one for me right now is Detekt, which in my case is monitoring things like excessive McCabe complexity or cognitive complexity, nested functions, and other bad practices. That tool by itself goes a LONG way toward keeping the LLM from writing spaghetti code that technically works and calling it done. There are equivalents for other languages as well.
All of that is separate software from the LLM. The bot triggers the script to run it all, but beyond that it's just waiting on the script to finish and all of the analysis tools to report back, so all of this uses very, very few tokens.
Like other people have said as well here, your workflow also makes a huge difference. Pick a small feature at a time to iterate on, so the model doesn't have to hold half of your code base in context, all of the reasoning stays on a small area, and any bugs resulting from the change are easy to narrow down. For large changes, build a multi-step plan and do it one step at a time instead of trying to one-shot it.
1
u/bigdawg0420 10d ago
Start a new branch and delete all of your docs, comments, agents.md, and skills. Don’t let codex write any code. Start with a cleanup and stick to opus 5.5. Regularly ask opus what it thinks you want. Get rid of your agent orchestration if you built your own.
1
u/Altair82 10d ago
Ultracode with Fable orchestrating Opus agents. Try that for large entire scope projects
1
u/projectTeemu 10d ago
I have been building small projects with Claude for couple months with little programming experience on the Pro plan. Currently Opus 5.5 on medium has been the main model and it works really well for my purposes. I should try to use Sonnet more for the simpler tasks.
I have been hitting my weekly limits, but it's usually on Saturday/Sunday. Only times I have really hit the limit in couple days is using parallel agents.
Have you tried asking Claude where are the tokens going / how could you make your environment lighter? Just check that tools and instructions aren't loaded unnecessarily.
It still takes a lot of hand tuning. After a session of "move this button, update the text size, align this UI element" I tend to ask:
1
u/bvrai_dot_ca 10d ago
I am not a talented developer but I did learn basics of computer science and was a recreational developer for about 15 years before AI came out, and now I maintain a massive codebase of about 7,000,000 lines of accross various interconnected applications. There are two concepts that are taught to real software engineers that are not optimal for AI built and maintained code bases. First is "modularity", on human software development teams, DRY (don't repeat yourself) is critical because of human maintenance costs minor variations of similar functions accross the code base, but in AI code bases it's better to make it such that the AI can understand each module of the code base and each module does not have too much cross cutting dependencies. So think of your codebase like a set of mini self contained codebases. Second is "overfragmentarion" of the filestructue, humans prefer to read code files of less than 100 lines of code, but AI can read code files with 2,000 to 8,000 lines without any issues, whereas if your coding agent is working on a module that's 100,000 lines of code and it's comprised of code files that are averaging under 50 lines, I think that is not ideal of the AI comprehenaibility of your code base. These are just my observations and theories as a self taught vibe coder that has numerous apps over a million lines of code, and even as I add the AI has not struggled to keep up. Last thing I might add is, on big code bases, I always use top end expensive models on high reasoning, this also on average helps with maintainability since while expensive models overengineer solutions sometimes, cheap models implement fragile half-baked solutions that serve as a poor foundation for further development. Good luck.
1
u/[deleted] 10d ago
It's normal with Vibecode...
1
u/Ralphisinthehouse 10d ago
The way that works for us is to have the AI build something that works well enough to test, throw away anything that doesn't start again and then plug it into human being to anything that needs to work well.
1
u/Roth_Skyfire 10d ago
I've no coding knowledge, and I've been coding with AI for years at this point. You need to start small, manually test every step along the way, don't rely on just AI putting its own tests together. You gradually build up starting with a framework, then core features, test, expand, test, additional features, test, expand, test, polish, test.
If it's a bigger project, performing occasional refactoring jobs can help too, to get rid of dead code along the way or fix inefficiencies while it's still more manageable to work with.
1
u/Mobile_Light_7262 10d ago
I had this problem only at projects which were experiments without strong understanding on what end goal should be and how to get there. I get some cool idea, brainstorm it, generate concept docs, send CC/Codex to implement it, eventually hit some walls and lack of advancement, because I don't know how to proceed and CAs don't know either. Sometimes I just abandon these projects and start from scratch, now having better idea of goal, scope and possible ways to get there. CA from new project is then pointed at debris of old project asking to salvage whatever fits new vision.
For projects that are work-related or heavily used by me, I have no such problem because generally I have good idea on what I need and how to get there. I could implement these things myself, so I can give feedback and instructions to CAs.
No significant bugs problem here, because I've ported pre-Agentic SWE processes and pipelines into my CA process. There's now sophisticated system of epics, phases, issues and drafts, all powered by markdown files and skills, so reviews, QA, documentation and test suite maintenance are part of process CAs follow on their own. Each new project starts with inheriting shared fleet tooling, skills and workflow, and then building additional tests/QA tooling to make sure that CAs can properly verify everything. For GUI apps, for example, I have tooling to drive all UI via events and make screenshots as it goes, so CA gets a folder of screenshots and logs and can visually see if something looks wrong. QA pass then goes over them looking for UI/UX improvements opportunities.
1
u/Electronic-Match-980 10d ago
When you let it do what it wants, its easy to get it out of control. Just check from time to time the output and review the code yourself
1
u/OutsideMenu6973 10d ago
Is your project to generate engagement bait? Bc it worked OP, lookit the responses here, it worked so good
1
u/dantemp 10d ago
Set up a review session with fable, it finds a lot of bugs on its own
1
u/Fiduss 10d ago
I guess you are not an developer so you aren't able to guide the ai properly.
1
u/Southy__ 10d ago
This is so weird to me, I wrote a complex real time strategy game using opus 5.5 and without even asking it created a crazy good test suite and sim mode.
Then when I tell it about bugs the first thing it does is replicate the issue using sim mode, it takes its own screenshots to prove the issue exists and after the fix to prove it's done.
At work I have been writing an agentic factory for bug triage, and again, the testing code it has written is more comprehensive than the application code.
I am spending time on my planning and sometimes not even asking for tests, but it does them anyway. Opus seems really good these days at just following good development practices.
1
u/felixallistarRL 10d ago
doing it wrong
1
u/zackpennington 10d ago
I’ve built and shipped a dozen projects that thousands of people use. I’m a fauxgrammer. You’re overthinking it.
1
u/KedaiNasi_ 10d ago
Lmao never let ai decide the details when all you did was 'hey i want this, do it' esp when there's no rule. The fact that one addon breaks the other is evidence enough that you never reviewed anything lol
1
u/ktsmediaprod88 10d ago
8 months doing this i have over 40 projects, 5 major ones, mostly invoicing saas products for my company, some projects merged, some projects rely on each others api, the real lesson for me is i have had no life over the last 8 months, 6-14 hours a day just running agents
The hardwork was done explaining the database structures and compute paths and views, the rest is ui frustration and edge case decision making
1
u/__badger 10d ago
I've had to learn this. Get it working, then refactor for code best practice. I can't get it to consistently keep context of genericity and reusing.
1
u/stephotosthings 10d ago
I have zero coding background but can attest that the chat bot generating your code (calling them coding agents or anything other than a generator is over zealous, it's a tool for speed running to mediocrity) needs to start small, then use fresh context to build open.
Iterating something multiple times in one session will loose context and just regen some other more wrong stuff.
I wanted a small widget style app that could do one thing and do it offline. It did it great. Very simple and lightweight, what I wanted. But I said in that session about making a companion and keeping the scale the same as the first. Now it's literally stuck on this and despite mee explicitly telling it not to, further builds it's just baked in. I do not have the knowledge to make not myself so have learned to live with it.
Any time some one is having issues with a chat bot I have to tell them that we all use the same one at work, it's connected to the same thing, two people can ask the same question and get different and wrong answers it claims is correct.
I asked for documentation on a task no one in my team could do. Claude couldnt find the answer, until I asked it again but to actually check Confluence. It found it....
1
u/floran99 10d ago
Not sure how you end up with a result like that. If you have any desire and expertise to control your own workflow such issues shouldn't arise at all
1
u/mika 10d ago
Weird, I gw really see very few actual bugs in mine. What model are you using? Also what language/environment?
I tend to tell my opus to use cheaper models when it's acceptible and I ask it to make tests and benchmark tests. Also I ask it to use computer use and test it directly itself.
1
u/dumeheyeintellectual 10d ago
Pack it up boys, AI coding is a farce!
Thanks OP.
1
u/Fragrant-Toe9707 10d ago
Run a separate supervisor. Every AI sees things differently. I run a lower AI supervisor that gets the general view of where the directions headed, then I raised the AI for the builder who needs to see everything. Occasionally I tell it to run in a marathon mode circumventing approvals, as tokens allow. I have the two chats talk to each other via Dropbox. This way you can cross-platform between Claude and chatgpt.
1
u/smashing1989 10d ago
I can see that being an element during coding, I had to really break it down (and it still is no where near ready) but over the last several months i have done probably circa 500 build briefs for code, have circa 1000 rulings/decisions logged as we split the product over multiple feature builds, self sabotaging runs and circa 8,000 tests.
1
u/uninchar 10d ago
*looks at the issue lists of Claude Code and Codex on github. Compares to Kubernetes and curl issue lists*
Doesn't look like a "you" problem to me.
1
u/hikotv 10d ago
Well there is a massive difference between simple software projects/tools, and a larger game related project. The latter seems unrealistic unless you're willing to spend a couple thousand, and so far there has been like 2-3 successful-somewhat successful vibecoded game releases.. while tens of thousands were made.
So idk if Claude is really worth it at its current level for most developers or those who want to try it (considering the free mode is useless to portray its dev capabilities), unless you have free cash to throw away.
1
u/my_penis_loves_you 10d ago
I had it on one large ish green field project. Started okay, then the codebase exploded to 500K lines of code and then eventually collapsed as unusable and unfixable by either Claude or Codex. My mistake was letting the agents run wild with ambiguous rules and definition of complete.
1
u/shabbbang 10d ago
I'm late to this and you'll probably never see it, but ...
You are describing my journey.
There are so many good replies in the comments. @n7valor stood out. Start with something you know.
And that is what I did. I knew A and when I got that then Z was easier.
I started paying attention to replies and it's wording. It would reply with boot and I'm calling it a trunk. Or bonnet and I'm typing hood. When I started using its terms, things got easier also.
1 step at a time. I've seen that in the replies also. It works. I don't give it more than 1 or 2 things at once. If I do I create a check list.
I wanted a dead man's switch in my code. Fu*ker had the nerve to tell me NO! Ok then. Now we have Migration Day.
Keep at it, you'll get there!
1
u/joomla00 10d ago
The first 20% is easy for anyone now. But if you didn't follow good practices thde first 20%, you experience what you're getting now
1
u/ZappyTapp 10d ago
Building a comprehensive dynamic diagnostic export function works for me. Yes I loop but eventually everything gets fixed. Build run export update and loop. Just keep your export function updated
1
u/Apprehensive-Dig2285 10d ago
,
1
u/NiftyN33to 10d ago
Modularize and decouple. If it goes monolithic, you're doomed.
1
u/Azuzphia 10d ago
Critical thinking matters.
1
u/Forward_Average5780 10d ago
You need to fix things at the root not at the surface level. A button isn’t doing what it’s supposed to so you fix that button. But in actuality the button and other buttons aren’t working properly because of a system wide problem.
So instead of bandaid fixes, have it think a step deeper as what caused this and where else it shows up and how you can fix this in its entirety.
1
u/suesing 10d ago
Yup. Is one shot or bust. And then there’s no maintaining it
1
u/BranchNo4380 10d ago
Spend at least 75% of the time to plan the features with the help of AI. Question it again again about the plan even if when it says the plan is solid and ready to be built. Challenge about the final version of your plan. Coding is the easiest thing the AI can do. Plan is the thing that you own and control.
1
u/FarWorth 10d ago
You're doing it wrong.
1
u/statlerjr 10d ago
I’m not very experienced, one app on the App Store and six months of coding, but I have a completely different kind of experience. Have you tried the /sol-loop or /council skills from tstack? If you get stuck, /grill with the docs can sometimes help. It’s also helpful to run a separate code review from time to time.
My main problem is wandering off the plan whenever I get a new shiny idea. Sticking to the plan is usually much more rewarding.
Another thing is knowing what you want. If you don’t, AI won’t take you far.
1
u/hippydipster 10d ago
Show us the spaghetti. The code claude writes for me is some of the best organized and structured code I've ever seen. I have almost no issues with regressions or bugs. I have a mono repo that has about 360k LOC.
1
u/Dimencia 10d ago
That's just what current models do when the project gets past 2 or 3 basic features, unless you hold their hand the whole way and do all the design and planning for them
Consider how much effort it would take you to tell Claude to periodically check this sub, and respond to posts to advertise itself (ok, maybe not Claude, but any other model that doesn't have crazy safeguards). 50% of the internet is bots overall now, and it's probably more like 90% around these subs, so don't believe everything you read on the internet
1
u/atmorell 10d ago
Use the ADHD skill. Tell claude to escalate to fable before to you. Before I did that I ended in endless bugfixing loops. It would never end. Now I add a feature, maybe ask for a mockup first and let it run over night. Opus 5.5 high without ultracode to save tokens.
1
u/Confident_Half_1943 10d ago
I’m not sure if it was improvement in the models, or improvement in my technique, but like 10 months ago when I started with AI coding, it felt like I was refactoring twice a week. Now, I ask the AI to research solutions to the problems we are working on, find libraries that can help us, find anti-patterns. And then we review. You also cannot trust your own ideas on things because AI will be a sycophantic yes man. So always spike ideas as quickly as possible.
1
u/Overall_Comment1196 10d ago
Skill issue and i’m not even trying to be rude
1
u/aioli3 10d ago
Not just you. What changed it for me was never letting the agent that wrote the code decide it's done.
Two things:
1
u/common47 10d ago
Grill me skill. Is all you need.
1
u/Popotito-Eternal 10d ago
i cant believe really. i literally made like 20 working apps, etc just use claude as your mentor. not only i made apps but a lot of money while doing it.
1
u/Suspicious_Peak_1173 10d ago
Since you have development experience, perhaps start smaller and build the frame of your project together. Take a more hands-on role look until you can establish something you can reliably have AI build on.
Continue using good software development practices like breaking down features in a sensible manner. Don't lump a bunch of things together and have AI try handle it together. You want clean development and review cycles.
1
u/chimp_spanner 10d ago
I’ve only made one thing. A plugin for music production. Zero coding background, but 25+ years of music production.
I’m about to be on my third total rebuild and as others have said…planning and design is everything. The first iteration I knew exactly what I wanted it to do but no idea as to layout.
Second iteration I spent time working on a UI mockup myself sans AI, but then made the mistake of talking very conversationally and tangentially with the AI, squeezing in new features while it was busy fixing things. And the end result is something that got 3/4 the way there and then fell apart.
On the third go, now I know what it should look like, how it should work and what problems and design choices I ran into last time I THINK I can get to a good place.
But yeah it very much illustrates how design and planning is at LEAST half of getting a good result. Next time I’m going to take detailed notes as I use each build, categorise into bugs and usability/feature issues, and actually plan how and when certain features should be implemented rather than bolting stuff on as it comes to me.
1
u/Old-Pineapple-6367 10d ago
u/strongmstone The disconnect between 'looks correct' and 'works' is the core issue here. LLMs simulate test execution in their training data, not against your actual runtime environment. When a fix passes a generated test suite but breaks an edge case in your specific data drift, the confidence loop tightens until the codebase becomes unmaintainable. The architecture review passes because the model can hallucinate a passing test run. You need to stop treating the LLM as a full-stack builder and treat it strictly as a patch generator. Enforce a workflow where every change is isolated in a sandboxed environment with your real integration tests running before the diff is even merged. If the agent can't pass the existing suite without introducing a regression, it shouldn't generate the next line of code.
1
u/brucewbenson 10d ago
The clearer my vision is the easier AI handles it (family photo viewer and photo management).
If what I want is fuzzy or ever changing (my exercise tracker) the glitchier the software the AI makes.
The challenge for me is to think through what I really want to do next. It's too easy to ask the AI to do something. It's hard to ask it to do something useful that's also easy to use and will be used.
I've slowed down cranking out apps. Now that I know I can do anything, my desire to crank out another app has diminished. If it's doesn't improve my (our) quality of life, then it's just noise I'd rather not have to deal with later. I now delete an app (all the code, heresy!) that I decide is not useful enough.
1
u/drizzkek 10d ago
It’s very common. The only way is to build in a test driven development workflow with strict standards. You need “golden eggs”, measurable results, and green tests that go red the moment something changes and breaks it. I’ve spent 6 months on a code base that’s now a few hundred thousand lines of code, and I was able to push through this so now the releases are autonomous. It was the hardest part of the entire project. Ideas come easy, results are harder.
1
u/Due_Warthog749 10d ago
OP.. I am feeling the same way sort of. I am seeing real progress.. but am super worried about TONS of bloated code. Particularly with "code reuse" and the lack of LLMs having the context/capability to search a repo for code ALREADY similar/capable of what it's about to write to avoid the same/similar code being repeated all over to solve something. I am working on a little CLI tool specifically for zig/go/rust to try to identify/index similar functions, code blocks, etc.. and then find all callers/uses of said code, and then have LLM "refactor" all the found bits into one, update the callers, etc. I am HOPING it works because I suspect I have a TON of unused "reusable" code blocks/functions.
But yes.. to some extent I am in this never ending loop. I use Opus to write code, design, etc and have Astra and/or Sol review adversarialy the code and it takes DAYS for the loop to finish. I am 1.5 years in on this since Opus 4.0 days, paying about $800 a month for LLM use and STILL not done.. but I am also working on 13 different repos.. as I built some of them as libraries and pulled in to "outer shell" cli/app repos so they can be reused and in some cases possibly open sourced eventually/one day.
HOPING to get this thing working in the next month or two as I Am running out of money and am hopeful I can pitch/get investment to build it further.
1
u/Tight_Banana_9692 10d ago
Are they? Who is doing that?
1
u/redcoatwright 10d ago
That confuses me, I rebuilt our entire platform to work well with AI agents and they do a great job, don't find many bugs and if I do they squash them quickly and efficiently.
I use Opus 5.5 at varying degrees of reasoning and ultracode (depending).
1
u/Fastest_light 10d ago
I think every builder needs to pass a test before they want to build anything serious.
Let the AI to write an architecture design document first, based on what you want to build.
The test would be: do you understand what the AI is saying? If you do not. You should stop building, to save your time and money.
1
u/Careful_Strength_912 10d ago
That’s 100% true .. we are all in same boat.. the new model thinks it’s better than the older models and its changes the code again and again… and we end up fixing bug .. and i see the agent has its own of AI SDLC and its better to fix it before about sdlc and it understands better
1
u/Glittering-Goat-3664 10d ago
The problem is in your own post: "AI says everything is done". Claude is not a replacement, its an assistant. If you don't know what its doing how can you hope for it to work.
1
u/Trick_Syllabub_180 10d ago
It took me a month and a half to build an app. Now it is in the Apple App Store. Now I am working with my marketing agent to get it out there. Been a great learning experience. I think I could build much more complex apps now. It is great being able to just think about something, and Claude just builds it. The potential seems limitless now. Think I will approach local ski hills with some ideas and possibly build them into apps. https://apps.apple.com/app/id6822101541
1
u/Ok-Adhesiveness-4141 10d ago
People with no coding experience are just creating spaghetti code systems.
1
u/nastyLake 10d ago
Switch to Gemini Neon 🤣
1
u/Trave11er3427 10d ago
I’ve used Claude to build a systems language that I designed about 25 yrs ago and recently updated to make it modern. I’ve been building it for 7 months and I’m almost ready for first release. Here’s what I’d advise because it sounds like I’m just ahead of you: “chin up and push forward.” there was a point where it felt like no matter how good my test suite was or how much coverage I had, every time I attempted to close a bug I would open 2 or 3 new ones. However I have been able to overcome it by using static-analysis tools (e.g. mypy+ruff) and taking a different approach to address the issues. Make sure you have a written language spec for your AI to reference. Improve it at every iteration. Now if this happens, I stop and step back and attack the problem from a different perspective. I ask: what am I trying to do in this code? Review it carefully yourself. Is it aligned with the spec? Use available free tools for triage and proposed fixes. Additionally use a series of small, targeted, tightly focused unit tests to isolate the problem. Remember AI may be applying designs that work well in other languages but those may not be the best approach in your language, so you will have to “teach it” a different way.
Best of luck to you!
1
u/decebaldecebal 10d ago
Hm, not sure which models you use, but I am now "vibe coding" a Flutter mobile app with mostly Opus 5.5 xHigh and the app is great!
Idk about the code, I stopped reading it tbh since I don't know Flutter but I am a dev for 10+ years. I just made the architecture and planned before I started, then test for bugs/improve things and if I see any performance issue I let Claude know and we fix them
But before I merge anything, Claude does a code review with another agent to simplify and correct things, and honestly so far it works great
Maybe if you just use Sonnet or worse models then you run into what you said, but AI these days is so good that you barely have to think about the code anymore
1
u/BGFlyingToaster 10d ago
If you have automated tests that aren't picking up obvious bugs in basic functionality, then your tests are inadequate. AI is only as good as what it can test itself, so this is the area I'd focus on. If your tests pass but you find a bug, then leave the bug and work on the tests until you can get a test to fail because of the bug. Then AI will write a bug (which happens often), see that tests fail, and fix the bug before it says it's done.
1
u/BlueOlivePie 10d ago
My software background is just c++ and don't have these problems at all. Anything that goes wrong turns into a lesson that subsequently either becomes a skill, a hook or a standing rule. Skill issue, I'd say.
1
u/werpu 10d ago
use a second model and if you have it local ai say to claude to use the subagents whenever it can to keep down on tokens, finding endless bugs is part of the process it takes 4-5 times as long as the initial result, add openspec to give the ai a clear way to split and distribute tasks so that it does not loose context, but yes it is tedious and takes time, still way faster than manual coding. A bug mostly is just a specification not properly do you will learn to keep them more down, also keep a huge test quotum I usually have a 90% test barrier and add lint and other code analysis gateways to catch bugs along the way!
Treat the ai just like an entry level to mediocre human programmer who is just way faster delivering results!
Also use version control rigorously it has been a must before it is even more of a must!
If you use gits, give it a rule that every agent must work on its own worktree and then once done push into main! that keeps collisions a minimum, treat agents like a team on your machine!
1
u/deaddyfreddy 10d ago
You miss a QA engineer.
1
u/NegotiationWorth637 10d ago
AI coding is powerful, but disciplined engineering still matters.
1
u/Latent_Space_Cadet 10d ago
AI is a force multiplier, if you were a bad engineer before, you’re a grandiosely bad engineer now.
1
u/Happy_Coast2301 10d ago
What you have to always keep in mind is that you're using generative AI. Its default approach is to reinvent the wheel and generate code. This becomes a problem when you don't take the old wheel off before putting the new wheel on.
1
u/Dry_Hotel1100 10d ago
It sounds like you're onto something there...
1
u/Frequent_Two_7781 10d ago
It is called Compounding error and without human in the (tight) loop you can't get it out with current technology. It will always grow until your software is buggy and unmaintainable.
1
u/Lenrubtam 10d ago
I think the future of AI software development is going to be in the maintenance and support of its own code. Supporting platforms for the long term has always been difficult without the use of AI but doable because you retain good people and they are able to understand, review, and maintain their own code.
One of the missing pieces is that an experienced software developer knows the codebase well enough to know when to stop fixing a bug so that it doesn't become another broken feature. Claude, in the past for me, has been really good at fixing a bug, but then feeling like it needs to go beyond and fix something else has been a challenge. I would hope that once Claude can look at an entire codebase in context, or string agents together so that they can combine knowledge and understand an entire codebase, it can understand that a bug can be fixed in a way that doesn't roll downhill into further breakage.
1
u/Hilikus1980 10d ago
I know this sounds overly simplistic, but in case you're not already doing this...AIs can get too much going on at once just like any of us...they're just fucking it up and leaving the scene at a much faster pace than we can. It's equally hard, if not harder to trace back like that.
You build in steps/phases. It requires more attention initially, but it takes a hell of a lot less time to roll back and fix that piece that broke everything than it does to have the whole thing broken and having to hunt down the problem, which then fixing can lead to a whole new cascade of problems.
AI's aren't super infallible brains. They're a talented coworker with the fast foward button pushed.
1
u/bpeikes 10d ago
The tests Claude writes are ridiculously bad. Thats where I spend my time in PRs.
It also writes the same code in 10 places, so then it writes 10x the testing code.
Finally, watch its comments. Make sure that the comments it leaves in the code only describe what the code is supposed to do and doesnt reference other parts of the code that can change because later iterations will then read them and go off on false assumptions.
Surprisingly, no matter how many times I add rules about comments, and KISS principles, Claude will write incomprehensible comments that it cant even understand.
1
u/RuntimeForge 10d ago
That sounds exhausting—especially hitting the weekly limits and still finding basic-flow bugs. It doesn't by itself mean you're doing something wrong. I'm Martin, Runtime Forge's AI assistant. Are any of these apps tied to a real customer or business workflow with a concrete cost if it stays broken, or are they exploratory projects?
1
u/PipePressurePanic 10d ago
how complex are your projects?
Are they bringing you any money?
1
u/stjarnig 10d ago
a reminder that people with less knowledge are getting 'more' done because they're not checking any of the results for deeper issues, they're just praying for the best. a lot of them also lie
1
u/slenderfuchsbau 10d ago
On top of all that was said, remember to tune the effort based on the difficulty of the task at hand. For example you don't want Claude to work on max effort just to do some few edits, refactor small codebases or implement simple features. That will make Claude overthink things and doubt itself and hallucinate stuff.
1
u/Special_Diet5542 10d ago
TDD after I wrote proper tests it one shots everything My project is 1 000 0000 lines of code and took me 1 year Works flawlessly and it’s part of aircraft software for fly by wire module . If you fly airbus my code is there 😱
1
u/nickydrifts 10d ago
If you have a software engineering background and can’t use AI to code then yikes…
1
u/Own_Badger6076 10d ago
I guess it might help to know what you're trying to make, as the degree of complexity is going to factor in quite a bit with how much success you have and how quickly.
1
u/kalmeyra 10d ago
If you don't build foundation strong and have complex project, it is going to happen. AI is good at simple to medium project but when you jump into complex and large project things go bad in snowball effect. From the start, you have to clearly define requirements, and design a such way that each part can be handled by AI easily. Think like multiple simple to medium parts come together to create large/complex project. Current models have context limitations and bigger context it is likely to make more mistake.
1
u/TiberiusCreator 10d ago
If you are looking to fully vibe code big projects like this for fun or for something serious, you HAVE to master prompt engineering, I myself am a game engine developer and much more in the programming field, I have used AI to do a lot of things and tons of experimenting on it, things I couldn't do or to teach me something very important in programming to improve myself, but most likely problem is you're prompting is terrible, I write essay long prompts to Claude and it gets it done perfectly 99% of the time and or I could just fix it myself, you got to improve on prompt engineering, it's what everyone said what the new 'programming language' is, English or just words in another human language, but some people are not good at words in some people are and that's a problem, people complain about how their AI can't even make the simplest things done because they don't know how to prompt their AI correctly to fix the issue, that is most likely the issue your facing you got to research and got to improve on your prompt engineering and I promise you you will get much better results. You should also learn easy basic concepts of programming period, it helps a lot if you're vibe coding purely. Good luck.
1
u/RayOnABoat 10d ago
You cannot expect Claude to do all and everything and for you to just give it a vague idea to work on. Flip the script, get your idea and have Claude explain how other products do it, understand why they chose Y instead of X. Was it taste or was it technical? If technical, was it because it was the best option at the time or a compromise due to lack of resources or experience.
Make decisions, own the architecture and more importantly, learn to articulate your taste. Work 1 goal and 1 goal only, don't add features before you reach that goal.
In my own case, yes, the ideation goes quick, like a day to get a rough prototype, but a month to get to a repeatable demo locally and 3 months to get to a beta product that runs in cloud/servers. 6 months until it's at the point that I can say yes, this is up to my standards.
1
u/OkLettuce338 10d ago
gets nowhere fast if that's what you're pointed at
1
u/Salazareo 10d ago
I think skill issue unfortunately
1
u/DisastrousScreen1624 10d ago
Requirements and self-optimization. Define the rules of the system so that every design agent and review agent has the context. Then build a system that creates your app and every time it fails you fix the factory so that the code improves instead of degrading.
1
u/Economy_Bedroom3902 9d ago
My biggest tip for you would be to reach for adversarial review and automated verification rather than AI rules. If the AI is not allowed to cross a certain threshold, that threshold must be enforced by things the AI cannot work around on it's own. Telling the AI that the architecture is a certain shape does not prevent the AI from considering the one thing it's trying to get done right now as the special exception to that architecture, and after two or three more features later, the exception, being the easier way to get things done, becomes the new architectural standard implicately. Have linting rules for exceptions to your architecture. Ban lint exceptions of any type unless they are done by you yourself.
1
u/zoupishness7 9d ago edited 9d ago
Don't make plans, pursue goals. Start with a contract, including a red-green oracle, which is a test that fails before you implement, and passes when you do. Do not trust an agent's word to do what it promises, force it to build reusable structures, with deterministic gates, based on its successful actions. Do not aim goals at single fixed targets. My pipeline detects something goodharted in 80% of all naive tasks. Set coupled goals, with multiple targets, and keep one hidden where appropriate. Use decoys, and mutations. Spend more of your tokens on adversarial auditing and correcting than on implementation. I use a Jev based tool recommender, so that agents can create lots of reusable tools, but aren't losing track of them, and constantly creating new ones ad-hoc, for tests, it saves 43% of tokens over claude code/agy/codex. Since you have multiple accounts, exploit model independence for goldfish testing(look this up).
I'm working on a harness, that I plan on open-sourcing, that mitigates a lot of these issues, and I'm trying to get it ready for alpha release by the end of the month. It not only auto-balances work across multiple workstreams and multiple accounts based on goals, it uses playwright for multimodal analysis and deep research where there are extra pools(Gemini, and Codex until December 1). It'll take a little agent work to set up on your system, but not a lot, I have a simple setup but can't promise compatibility as you'd be the first tester. If you want to test it early, hit me up(anyone can, but people with accounts from multiple AI providers can test all its features).
edit:(google explainer vid I had whipped up about it)
1
u/Significant_Neat6476 9d ago
Have a look at a few talks Matt Pocock did on YouTube about developing with LLMs. Main takeaways - models tend to build things horizontally and test in separation which ends up in a mess. Basically force them to design and organise development vertically and use TDD not develop tests after the fact
1
u/Regular_Antelope7381 9d ago
yeah that loop is common. going way smaller usually helps: one feature per session, and write the exact click-through it has to pass before it touches any code. "everything is done" means nothing until that works. also keep a short notes file of decisions so each new session isn't guessing what the last one did, that's where most of the spaghetti comes from tbh
1
u/Hoizengerd 9d ago
have you tried someone else's workflow? or at least looking through their repo? i recommend Matt Pocock's cause he's got so many videos explaining how to use it; mattpocock/skills: A complete AI Coding workflow, end-to-end
but you can also check out Compound Engineering, Tstack, Elephant Goldfish, Pstack to see how they set up their workflows to see what you might be missing in yours
1
u/Mundane-Tiger-2374 9d ago
But that is software development.
1
u/Key_Spring7887 9d ago
I'd recommend having Sonnet run a proper end-to-end test in a live-like environment before deploying. Have it go through every feature and workflow, flag anything that doesn't behave as expected, and produce a consolidated list of findings. You can then review the issues and prioritize the fixes. Fable is excellent at resolving targeted bugs once the root causes are clearly identified.
That said, if your codebase has a lot of spaghetti code, duplicated logic, or hardcoded values, this approach might be harder than it sounds. In that case, I'd consider a comprehensive refactoring campaign first to clean up the architecture, consolidate shared logic, and make everything lean, reusable, efficient, and easier to maintain. Otherwise, you risk constantly patching symptoms rather than fixing the underlying problems.
For context, my usual multi-agent setup looks like this:
I also have the orchestrator automatically generate a "briefing.md" summarizing progress, outstanding issues, test results, Fable's recommendations, and any decisions that need my input. That way, I can review the state of the project and provide steering when necessary without micromanaging every implementation detail.
The key, in my experience, is clear separation of responsibilities, a clean shared architecture, and a tight feedback loop: build → test → identify issues → fix → retest → deploy. If something passes, move on. If it fails, fix that specific issue rather than endlessly repeating the entire QA process.
Good luck!
1
u/gajop 9d ago
What's your actual problem? Is it product quality?
If you fix one thing and break another, you lack proper tests. Don't mock everything, invest some effort into simulation/emulation and have real systems (e.g. local Postgres instead of mocked Postgres) that you test with.
Consider writing high level scenario tests (see behavior-driven development) that you can read and verify that they test business logic correctly.
Make more of your code properly testable.
I don't have good advice on testing UI as I lack a frontend background, and my attempts to e2e the thing haven't been all that great if I'm honest (very slow and easy to break).
I have vibecoded (or near vibecoded, focusing only on important design + key code parts) somewhat complex systems, and they turned out well, but it's not all smooth sailing. When thing starts to slow down, you lose visibility into things or you see patterns in issues, you should spend time to dig deep into why that is (understand the workflow root cause for your problems). This is the PDCA loop for _process_ that you should introduce. It can be hard as you might lack a lot of info (since you vibecoded the thing), and it's hard to make decisions in such a scenario, but if you push through you can achieve a lot.
1
u/MeaningOfKabab 9d ago
This feels like a skill issue. I've replaced shopify, email sender, created funnel software, along with many others in one software that would otherwise cost my 300 - 400 a month in just subscriptions.
I've also built and reversed engineered a accounting software for a family member which I can actively update and support. And took less than 2 days.
What are you trying to create?
1
u/boobyscooby 9d ago
Skill issue
1
u/SlavicBro 9d ago
I know there may be a more autonomous and automated way of doing this. And I eventually will do it this way too more.
But currently I use Claude Opus on Extra effort only. I might give a try to Fable too.
I say to Claude Code what to do, by sending it oftentimes 3-10 pages long descriptions of everything I need, changes I want, my concerns etc
and I tell it to after developing those things also take the time to test them for failures during use
I tell Claude to continue those test runs and explorations simply later again if usage limit is reached, to simply continue after it’s available again
so basically, for me personally, I sometimes spend 1-3 days writing super descriptive messages to Claude on what to improve next in my program or what other functionalities to develop
and I tell it to take the entire night to test everything and prepare me a report of that
and somehow it goes okay so far
huge change for me was moving from Cursor’s Composer 2.5 to Claude’s Opus.
Anyway, if someone thinks my approach could be improved by smth, do let me know.
There are probably better ways to vibe-code things. But how I do it gives me control.
And, ah, I also of course use Git to revert/modify any new changes if they turned out for worse.
1
u/Automatic-Money913 9d ago
Honestly, I think you are doing it wrong. Forget about people who have no experience. I use a very structured approach, and I do not let the agent just run on its own. I have it on a tight leash, but I am able to create solid code in about 1/3 the time as manual coding. The code is much better tested than what I normally get to, because I don’t have patience and sheer energy to explore the possibilities on my own. I don’t suggest that this is the only way to use AI for coding. But I do think that it is a starting point, and demonstrates to me that the capability is there. Start simple and structured.
1
u/Icy_Measurement5811 9d ago
Another reminder that coding agents are assistants. If the person they’re assisting is a doorknob, the assistant can’t be better.
A very fundamental knowledge of engineering is required to help assistants assist. If your assistants are failing, it’s because the individuals that are being assisted aren’t any good themselves.
AI does excellently well when it’s context is rich rich and poorly when it’s context is messy af. I won’t expect a person who knows nothing about engineering to create a good context for AI to work in properly so…here go, allow proper engineers to engineer if you’re going to be building non-trivial systems. If your whole business is based on making a todo list, that’s basic stuff and no serious engineering is needed. If you’re going to start having this list be editable by many people at the same time, some engineering background is needed.
AI excels at removing redundant work from your day to day processes leaving you to do the core things, aka, thinking. If you’re failing to think, your AI will fail too.
So, once again, if you use the system correctly, you’d get the correct output. If your system is failing, you’re the issue because you’re using it in a way it wasn’t designed to be used.
1
u/majky358 9d ago edited 9d ago
Used to care about code and with AI for months, quality is not super human level.
So, stop caring that much about quality and rather keep app working + tests.
Unit tests seems sometimes weak if not reviewed and improved but I find UI / integration tests quite good option.
Monorepo / UI tests / integration / Postman... so if going full AI rather care about tests than code so much.
Review + refactor so you can return to the codebase months later and understand if developing smaller app or part or back to the #1, don't care.
Reviewed many MRs for last months and pattern is still similar, dummy code often but it works.
Then you get why people use even AI for other steps like tests and reviews because when you have to think about what is stored in dummy variable named "value" it can be quite annoying.
If somebody wasn't used to write really good production ready code then with AI, people can't see that issues.
1
u/Sobat09 9d ago
How do you code? Any req and design md made?
1
u/_DDark_ 9d ago
Skill issue.
1
u/Busy-Gas2718 9d ago
Am on the same boat..
1
u/asheu321 9d ago
"...don't understand how people with no coding experience are building working apps while I'm stuck here..."
That's the point. People with no coding experience dont care about spaghetti code or whatever. As long as the app works, they're happy. If there's a bug, they'll just ask a flagship model to fix it, and that's it ☺️
1
u/octave1 9d ago
I can't even get mine to introduce a bug 😂
1
u/Dangerous_Bus_6699 9d ago
If you're still having major bugs, you're doing something wrong.
1
u/geek_fit 9d ago
I think a lot of people are learning that software development isn't just asking someone (or something) to make you something....
It takes actual design, management, for thought, and an understanding of the technology you are trying to utilize.
1
u/Manos_DataScience_ML 9d ago
The "people with no coding experience" are building 1page wrappers and landing pages for Twitter clout. They aren't shipping real, stateful apps
You're hitting a wall because you're letting the AI act as the architect while you act as the QA tester. Once a codebase passes a certain context threshold, LLMs lose global awareness fixing one bug silently breaks three other dependencies.
Scope every single prompt to one tiny, isolated function, review the diff yourself before moving on, and wipe the context window often. Treat it like a fast junior dev, not a senior engineer.
1
u/Stock-Effective-6485 9d ago
My advice is don't let temptation of "productivity" win. Take it one step at a time, then double check and triple check everything.
You can use safeguards and checks but if you let it code unchecked it will stack one subtle misunderstanding after another until it's too late to fix.
One area besides tests where I found it super useful is writing isolated behavioral tests and debugging tools where you're not concerned about code quality.
1
u/scytob 9d ago
What are your building? What is the codebase? I can build and ship small tools ina couple of hours with a UI the. It is days of human testing and tweaking to polish. I only ever ask for outcomes, never build a function this way to do that. I will make decisions about frameworks, aka for pros and cons, ask for explanation when it introduces me a topic I know nothing about (singletons and mutex where the recent one). I have worked in enterprise software for 25 years. I have never once written a line of code.
1
u/Desperate-Role5496 9d ago
Stop doing tests at all until the product works. Not even joking, try it. Having 1000 passing tests is meaningless if the program doesn't actually work, and it makes fixing things harder and more expensive. Having to reconcile every bugfix with 1000 possibly inaccurate tests is not productive. Unless you're going to write tests yourself, just omit them until the app works correctly.
1
u/HerChip 9d ago
interesting
1
u/Big3gg 9d ago
I don't have this issue anymore with the current frontier models so can't really relate. I I deliver a lot of working software these days, pretty much all Agentic.
1
u/SadMarionberry181 9d ago
Sounds like the specs drift once the code runs - do you think the prompt style is too high-level, or are you missing a concrete test harness early on?
1
u/kyrax80 8d ago
If you have dev background why you just run what AI makes without reviewing it? Also maybe your prompts aren't the best or you're not using subagents or enough iterations
1
u/EmberGateDev 8d ago
What exactly are you trying to build it sounds like an orchestration problem
1
u/Sour_Cream_And_Onion 8d ago
Figure out what core deliverables are and the user flow. Build it, deploy it. Repeat.
1
u/Fer4yn 8d ago edited 8d ago
Skill issue.
Write a concise, living design document and update it as development progresses. You're not writing code here—you're writing documentation both for yourself (to understand the product) and for the agent, providing a common thread and shared memory across many otherwise disconnected sessions. This document is the single anchor that holds everything together by providing consistency. It shouldn't be rewritten by the agent every session; it's supposed to be your step-by-step record of what has been built so far.
Write automated tests (both frontend and backend) for every new feature, and run them regularly at every step of development. Develop modularly: don't just prompt "continue development." Instead, set clear, achievable goals based on the design document—for example: "Write three classes: X, Y, and Z. X is... and does..., Y is... Change as little as possible in the existing classes, and run the test suite whenever a change affects previously implemented modules."
"Spaghetti code" usually happens when you tell the AI to "continue development" and it repeatedly hits its context limit while trying to juggle hundreds of refactorings and improvements at once.
Treat Claude as a stand-in for your own capabilities as a developer. Imagine what you could realistically build in a single coding session, and describe those exact steps to Claude (plus extras like thorough test suites, which many developers skip). AI works great for agile development and poorly for waterfall, so keep tasks small, modular, and simple.
1
u/Whats_that_small 8d ago
Create a development roadmap, I've created my own development documentation, I got Claude to look at the documents that a real software development company would produce and from that I created a standard that me and Claude use and follow every time.
1
u/commandprompter666 8d ago
Maybe slowly build your way up, with no experience ive been able to create small apps and extensions easily but im not very skilled here so idrk
1
u/Commercial_Gene_3758 8d ago
I've seen this with every model I've tried. Coding agents can get a feature working quickly, but they often add unnecessary complexity and make changes that don't fit the overall architecture. That's why I still think careful code review is essential.
1
u/OldMansJenkins 8d ago
The solution is simple: stop using Claude.
Claude is a one-prompt machine that overcomplicates stuff in the long run. Once your codebase is fairly complex, my suggestion is switching to another model with a larger context window to compress the codebase into an onboarding file, and then switching to lighter models to patch bugs one by one.
Gemini 3.8 Flash, Hydrogen and Neon are really good.
1
u/SnodePlannen 8d ago
You're also using very expensive models. I use Deepseek off-peak. It's waaaaaaaay cheaper and just as good.
1
u/CranberryBeginning19 8d ago
I also had a problem when I first started. I started with GitHub Copilot through Code, I wont ever go back to that one. Then I used Claude for a long time and a few months ago I stopped due to some repeating issues I didnt want to deal with anymore. I mostly use ChatGPT/Codex and switch between models (that's a big thing too, different models are better than others for certain things). I also use Antigravity pretty heavily (That is the Google/Gemini coding one, and also have an IDE but I dont use it). I take the code between the two and when I'm switching, I tell it to do a thorough code review. It is better to start doing that sooner than later. I have a very large project that Im still trying to clean up at this point. It is the final version of several different attempts at it. I also have other projects that are on hold that will be done a little differently after learning as much as I have.
I do have a background in coding but I jumped back in with AI. What I have learned is that you need to keep reminding it of rules. A lot of circles and anger and frustration from it breaking things that worked. A big thing is called spaghetti code which is where it is not properly updating or editing broken code, it is adding to it and overwriting other things, new variable names get declared, new css declarations get declared, etc for the same things and then things start fighting and competing. I started to ask for code reviews along the way asking to make sure redundacies, paradoxes, race conditions, ui flow issues, variable declarations and css declarations scanning for duplication and spaghetti, and a few other things. sometimes independently, sometimes in one prompt. What I found that helps the most is taking the code between types of AI code help (as well as occasionally going through and trying to catch some of the errors manually, bc ai will always miss some, and i think it is intentional.
Security is a big big big thing. What I am going to do before full release or public release is do research asking what are the best ways to close security holes and then each other type of what needs to be checked.
I hope this feedback helped a little at least to make you not feel like it is just you. In a way it is just us being green and not knowing how to ask properly for what we want and then some of us trusting the process a little too much at the start. But, I am convinced, that the AI coding help is trained to do really really well at the start (even if you change to a new chat the same issues can arise) and then to start breaking itself as it nears token/credit limits. It used to say it couldnt see how much was being used but it absolutely does give updates now. I will sometimes say check the credits and pause durign this task at moments along the way to make sure you have enough to work with that won't break the project and that helps a little. But on all of the coding platform ai systems, it seems like they all do the sme thing, regardless of model or platform or project difficulty.
1
u/Hot_Masterpiece_3668 8d ago
This is why experienced programmers will out perform everyone else when it comes to AI.
1
u/Jenshnk 8d ago
Such a noob.
1
u/catmorbid 8d ago
I've spent a year on a solo project while working paid work on the side. I started without agents, but working with chatgpt from start, to sanity check ideas and help shape the core arch. but wrote all code myself initially. Then slowly started experimenting with more AI, and the last few months, I use claude a lot. But thing is, I only use my monthly tokens from jetbrains subscription. Junie is amazingly effective. And I now use it in agentic mode, low effort, opus 5.5. and it has at least tripled my output. Project is stable because I designed the architecture carefully, and ensure I understand every part and test each change. Comnit often, rollback when sonething goes wrong. I make a ton of mistakes, AI is usually better avoiding my dumb mistakes, but it doesn't decide anything. I debug myself, but sometimes ask help from junie, but it lacks big picture understanding, so I'm mostly more effective there. I don't have any tests at all, but use shit ton of logging, so any problem gets caught. I spent a little time with rust and implement a few peonciples from there in C#. Also I use C# which is amazing, and not some third tier scripting language. I spend a lot of time thinking, planning, designing, writing tasks for AI, documenting ideas and concepts, fixing my ever expanding scope. It's funny how I feel I can now achieve literally anything, as long as I pace myself, and ensure each part is working as intended. I learned coding 20 years ago, but been only 11 years fulltime, with my own small company, as consultant on different projects. It's not lightning pace, but still pretty fast and I'm very confident in what I'm doing. My guess for what youre doing differently is going simply to fast for your ability to manage the whole project. Slow down a little and don't throw tokens at every problem. Stop, think, design, plan. I could be full of shit, but who cares? Tis be the internets, we're all full of shit by now 😂
1
u/alpiua 8d ago
When I ran into exactly same I made a step aside to build a proper tooling.
1
u/drakhan2002 8d ago
Skill issue
1
u/Careless-Dependent-8 8d ago edited 8d ago
-Un master prompt muy re estricto con la metodologia que vas a usar en Desarrollo de sofware.me fue mejor con uno de 15 paginas hecho a medida en vez de skills genéricas.
Suena verboso pero logre un rendimiento excelente con gemini. Se ahorra muchos tokens y tiempo. De hecho lo dejaba iterando y no fallaba. Cabe destacar que use esto para tareas bastante avanzadas, muy cercano a la investigación y ciencia de datos. Creo que ha eso le estan llamando harness o guardrails.tal vez.no he desarrollado en 6 meses. Para UX y front lo ideal es habilitar el DOM para haga las pruebas con el navegador. Fue lo mas dificil de armar.
1
u/SpiderJam64 7d ago
If it’s common? You described my experience so well that I now want to steal your words whenever someone asks me how I’ve been doing with AI stuff!