r/ClaudeCode • u/Ok-Committee5924 • 7d ago
Discussion Claude code is design to make you dump
I've been writing code for the past 10 years, but a couple of months ago, I switched from Cursor to Claude Code after Cursor started pushing its own models and limiting usage of Claude models. I've been really enjoying Opus and Fable, but there's something I've noticed about how these tools are changing my coding habits.
Claude Code is set up in a way that makes reviewing code harder than it should be. You mostly get shown the diff, which makes it harder to explore other files and understand the broader context. On top of that, it runs deep review skills before committing, which often flag edge cases that don't necessarily need to be addressed. The agent then applies fixes automatically, sometimes making the code 10 times more complicated and harder to maintain without even asking for your approval.
Naturally, I've found myself becoming lazier and lazier with code reviews. And I suspect the same thing is happening with some of my colleagues.
A couple of days ago, after a release, we started getting weird reports from clients, and it became clear that parts of the codebase were becoming increasingly difficult to maintain. That pushed me to become much stricter about code reviews again, but honestly, I feel like these tools are designed in a way that works against that. Doing proper reviews takes more tokens, more time, and more effort than just trusting the agent.
I'm curious to hear what other engineers, especially those who don't consider themselves vibe coders, think about this. Have you noticed AI coding tools making you less disciplined about reviewing and understanding your own code?
•
u/AutoModerator 7d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
235
u/NightSp4rk 7d ago
With that spelling in the title, I might actually agree.
21
u/EarlDwolanson 7d ago
I use it inside vstudio or another IDE, so I can check properly what is being suggested at each stage. Also easier to leave comments in code temporarily, draft class skeletons and method stubs etc.
44
u/Kfm101 7d ago
I’m always shocked when I read posts and comments from professional and experienced developers where they’re still clearly just winging it with coding agents. Does your workplace not have policies and guidance about how to integrate agents into your workflow while still maintaining quality? Did you do any research on how to optimize your sessions and environment? Why are AI tools treated any differently than other tooling when it comes to stuff like this?
Feels like someone saying “this whole CI/CD thing seems so risky and keeps introducing bugs” and then you learn they’re allowing pushes directly to main and auto-deploying with no tests or checks.
28
u/Narrow-Low-3137 6d ago edited 6d ago
Dude. Do your reviews manually in your devops/git client of choice. I don't merge any PRs if I don't understand the code. If I need more context, I open the file in my own editor and jump around wherever I need to see the broader scope of the change.
You say you've been programming for 10 years..what has your code review process been like? What git client do you use to do your reviews? Do you use pull requests?
Edit: And for the love of all that is holy, don't ever let your agents (or anyone really) merge code directly into prod without reviewing and testing.
6
u/frostymarvelous 7d ago
Nothing stops you from using it in something like vscode and using the embedded git review ui.
9
u/brainzhurtin 6d ago edited 6d ago
SWE with so many years of experience it's embarrassing.
To me, using an agent to code is the same as a real developer.
If you don't expect and dictate that they: know your codebase, keep the existing patterns, unit tests, integration tests, clean up tech debt, etc, then you can't expect the app to behave how you hope it to.
8
u/dakuzen 7d ago
There’s elegance in well written code, but let’s not pretend that most developers write clean, efficient, easy to follow code!
We’re moving from Human Slop to AI Slop - the difference is just in pace and scale.
If you’re a good developer, you will curate those practices in the agents you direct.
29
u/DCON-creates 7d ago •
I've done both vibecoding and structured coding (aka no review vs review).
Vibecoding is not suitable for a production level application. You will end up with unmaintainable slop very quickly.
The new models aren't getting better, they're just inventing more creative hacks to get the result. And they ignore conventions more often, at least from what I've experienced anecdotally. They also pull context from surrounding code, which is a death spiral in a poorly designed codebase.
Great devs are producing great results because they have good engineering skills. It's almost entirely offset by weaker devs producing unreviewed slop that the stronger devs have to spent time unravelling and explaining what's wrong.
AI has just amplified everything, good and bad. Vibecoding and automated software development does not produce results of acceptable quality. Just look at the amount of bugs in UI from the big companies recently, there's practically zero real quality control.
I want to love AI and I love using it myself but I really have noticed there are some particularly toxic elements to it that heavily reduce the productivity gains. People are offloading far too much to AI, who makes decisions that might look right at a glance, that are totally wrong.
I'm rather annoyed about it today after reviewing some particularly sloppy PRs.
7
u/idemasler 7d ago
the dangerous part isn't the diff, it's letting a review agent fix every issue it flags. i'd make it list affected callers and invariants first, then stop if a suggested fix crosses into a new module or public API. reviewing whole touched modules in the IDE matters more than a green test summary. after that release, were the client bugs behavior changes or complexity hiding the original bug?
8
u/adjective_noun_d1git 7d ago
Nothing you've explained can't be fixed with clear instructions.
3
u/Apprehensive-Cod699 7d ago
the applying fixes without asking part is the permission mode, not something baked in. in default mode every edit waits for your ok, it's accept edits or auto mode that lets a review skill rewrite things on its own. shift+tab cycles the modes, worth checking which one you've been sitting in
2
u/theflexpriceguy 7d ago
You can use it inside an IDE to review the code it changed and review it
2
u/Optimal_Difficulty_9 6d ago
I don't think the goal is to review code any more - at least by humans.
2
u/Unusual-Idea-5939 6d ago
Claude Code is a pretty terrible interface to browse or review code, who does that? Why not just use, ya know, GitHub or your source control tool?
This doesn't happen automatically, or maybe since I've been using it for about 18 months I just already have my own guidance in place. I'm guessing it behaves differently for everyone as everyone has different plugins and guidance installed. Everything it does, you are completely in control of (except worktree refusals, apparently). Spend time writing your guidance. Or, if you want to leapfrog all these other posers and level your shit up pronto, you can install my own coding guidance. It's got 6 stars on GitHub so you know I'm not a shill. That's 1 star for every 3 years I've been a professional software engineer and I use this coding guidance to autonomously build software all day every day both at work and home.
Here was my insight: You have to tell claude what good code looks like. That began my 9 month journey to take my intuition and try to get it into words. And the skill does, generally. it's on GitHub.
promptctl/lawsis the repo. Feel free to bookmark that and completely forget about it, or even skim through a few files before forgetting about it. :)I will say that everyone who has tried it has told me they liked it. 5/5. That's not the score that's the number of people.
3
u/bfr_ 7d ago
Yep, no one wants to review ai-generated pull requests because they are almost always overengineered garbage. Always 100 new tests that test irrelevant things and commits that have nothing to do with the task.
Sometimes they just refactor the whole code because the user didn’t happen to have some library installed so why install it, let’s just rewrite the app without it!
LLMs can be great but at the hands of most users(who don’t even review their own code) they seem to just make things worse. But at what speed!
2
u/chuckdacuck 7d ago
skill issue
1
u/matthias81f 7d ago
One thing that helped me is not letting the diff be the only evidence. On a TV app I built with Claude Code, the agent drives the real TV, and the failures that mattered only showed up there. A test account got blocked for about 4.5 hours after an index rebuild, and no diff would have shown me that.
Every failure like that goes into the docs as a dated rule. Then a review pass has concrete things to check instead of inventing generic edge cases, and I can reject a "fix" that doesn't trace back to a real failure.
1
u/SheepSpace9 7d ago
I often let it send interviews to my browser to ask me what i think of the latest commits, what i still need to decide on, and to show me some context of what was done in what way.
1
u/Dm_me_ur_exp 7d ago
When it runs the review. I have it present the findings in a where confidence why how fix table (with fixes usually being 1-3 w a recommendation). I abstain from any fix I find weird. And I also have it explain, analyse for tradeoffs, test or whatever I need to feel confident letting the agent decide the fix.
I also split the table between technical findings that are in theory just straighforward bug or behavior fixes, and findings that require some form of product decision.
1
u/PilotLost404 7d ago
Reviewing gets lazy when the tool hands you a finished diff, so make the review a step you can't skip. Have the agent list what it changed and why, then read the riskiest file yourself instead of the whole diff. The auto-applied edge case fixes are what bloat the code, so tell it to fix real bugs only and just list the rest. A small scope makes review cheap again.
1
u/Murky_Citron_1799 7d ago
I noticed it doing things, and every time I didn't like what it did, instead of correcting the agent that single time, I make a rule or update a skill so that it never does that again. Now, i barely have anything to complain about. Yes it costs more tokens to have it self review and have big skills, but I don't pay the tokens and it's a very easy job now.
1
u/the_ai_wizard 7d ago
agreed
1
u/Icy-Excitement-467 6d ago
I take dumps during prs all the time too.
1
u/neohiei 6d ago
What if I'm already dumb ☝️🤓
1
u/adfawf3f3f32a 6d ago
i do everything in worktrees so i can just right click the session and open in vscode where i run gitlens and can review and jump to code and make changes myself
1
u/Icy-Oven 6d ago
I usually ask Claude Code to open the branch in Cursor after it's done working, review myself, cleanup, then return to Claude, review again and commit. I've implemented quite a bit of skills and pipelines for Claude, which give better results, but still find extremely strange and peculiar stuff when reviewing.
1
u/Ok-Distance-6388 6d ago
The part that bit me was the same one: the review step and the fix step running as one move.
What fixed it for me was splitting them. The review only writes findings, each tagged "breaks something real" or "nice to have", and it never edits. I pick which ones get fixed. Most of the 10x complexity came from the nice-to-haves: retries nobody asked for, guards for inputs that can't happen.
Second habit: git diff --stat before every commit. If files outside the task show up, I revert those first and ask why after. That one line catches more than reading the whole diff when I'm tired.
Did the weird client reports come from a fix the agent added during review, or from the original change?
1
u/BreastInspectorNbr69 Senior Developer 6d ago
I don't know where you are seeing CC do code reviews before each commit, because that is not my experience. Perhaps there is something in your CLAUDE.md files that is specifying that? I will do
/code-review medright before I make the PR and then I will pick which points I want it to address.1
u/mghoffmann_banned 6d ago
This seems like user error... I have my agents make PRs that I review on GitHub just like I would if a human were doing the work, and I'm more careful now than when I was writing 100% of the code by hand because clankers can't be trusted.
1
u/knrd 6d ago
yes, it does introduce a lot of friction. so the choice becomes trusting agents, and catching issues after a change lands, then updating agents, skills, hooks etc. which works fine for editing/updating existing code or classes, but breaks down as soon as agents start creating new classes or working on features that require them to make "architecture" choices. even fable 5.2 or opus 5.5, will come up with the most ridiculous code: useless helpers (adding dispatch() in a class that forwards to this.dispatcher->dispatch()), passing along a dependency via 4 or 5 method calls instead of injecting it into the constructor of the final class (which was the only one that used it) or pattern matching based on name only and applying it any chance it gets, whether it makes sense or not (you've used a factory method fromOrder() once? now everything is fromXXX).
we've tried to address this with thorough planning and having agents review proposed drafts, but ultimately, the problem was plans weren't detailed enough and left most of the details up to the implementation session/agent. which meant spending additional time reviewing whatever was created and creating follow up plans to fix their mess.
what made the biggest impact was requiring code to be drafted during the planning phase already. that way our existing reviewers actually reviewed the end product and repeating issues got caught at this stage already (without the full code, the same issues kept coming up: we updated the agents, the agents reviewed drafts that weren't fully fleshed out, rinse and repeat). now most issues often get caught during planning by the agents, we review the proposed code/design/architecture, it gets implemented. once in a while something new comes up so we update the agents.
we also stopped using memory or "learnings" files for the code reviewer agent. letting them create memories on their own just lead to useless shit being added. and manually reviewing and adding/updating learnings didn't actually help: it was just one more step on our end, and once the entries grew enough, the agent was unable to actually evaluate the plans against the entries. instead, we have a tightly curated list of rules/guidelines, and whenever something major slips through, we have claude review the plans and related files as well as the agent definition, to see if anything needs to be fixed, updated, removed or added.
it still requires effort on our part, but ever since we've made these changes, we have to review less, agents automatically flag a lot of the same issues as I would have (including sometimes on legacy code, which is always funny) and we've been able to increase the scope of what claude handles (probably 3-5x larger now, and follow-up is less than for the smaller plans before)
1
u/cedarSeagull 6d ago
Alibaba is trying to solve this exact problem. Check out https://github.com/alibaba/open-code-review
1
u/Shot-Damage-6723 6d ago
It's true, I'm taking a lot of dumps while it's working. When I get back, I tipically realize by the quality of the code, it was doing the same thing.
1
u/khendron 6d ago
Where I work, we have a strict set of rules, developed over time, to restrict how Claude tackles tickets. These rules make Claude aware of our preferred coding conventions, our preference for smaller PRs, and a number of other standards that it should follow. This has greatly reduced the burden of the review process.
When reviewing Claude changes, I will often ask Claude to defend its choices, and I will push back and ask for simpler approaches if I think things are getting over engineered, or if it is chasing an edge case that is not worth fixing. I will also flag areas where it has added code that is non-intuitive, telling it to refactor to make the code mode readable, or add explanatory comments.
It's been working fine so far. We could definitely be shipping code a lot faster, but we choose not do so we can maintain our fundamental understanding of the code base.
1
u/Kindly-Elephant3428 6d ago
I've seen the same with Claude code, after a few weeks, I'd open a file just to read the code it generated, not to fix it. the changes felt like they were written by someone who knew the codebase but didn't care about it.
1
u/free_thinker_1 6d ago
your should see ChatGPT code. it's a compressed illegible mess.
1
u/astrolafi 6d ago
What actually stuck for me was splitting review and repair into different sessions. The one writing code gets the edit tools and no say in whether it passed. A fresh session with read-only tools, the diff and the surrounding files decides, and it has no way to quietly fix what it finds. When the same agent reviews and applies, it validates its own assumptions and the edge cases it flags are exactly the ones it can wave away. The other thing that helped was forcing a per-file check it can run before touching anything, because otherwise the only measure of success is that the agent says it worked.
1
u/Sharp-Contract-1154 6d ago
Small batch’s are a discipline. Ai is not disciplined.
1
u/domagoj2016 6d ago
Well I still look at pending change in Visual Studio and can diff in any way I want.
1
u/jameshearttech 6d ago
We adopted claude code almost a year ago. We integrated it into our local environment. We use VS Code. I review changed code in the editor the same as I did before claude was writing it.
1
u/nate-078 6d ago
Could've taken three dumps resding this post.
1
u/shetritr 6d ago
the auto-apply part is what i'd turn off first. let the review skill just write its findings down and you pick which ones are worth fixing. half those edge cases you'd say no to in 5 seconds, but once it's already in the code it's way harder to rip back out
1
u/Responsible_Buy_7999 5d ago
In a world where there’s robots that do everything for you and self propelled forklifts, everyone’s body would get flabby.
This is happening to our minds.
You have to take an interest in the design of what you ship
1
u/the_Leading_Can 5d ago
Hmmm i wasn’t sure if it was the coffee or claude code
1
u/theminorfix 4d ago
I think the danger is treating a clean diff as proof of a good change. An agent can satisfy the immediate request while increasing complexity elsewhere. I'd want the PR review to include the original task, intended behavior, affected modules, and test evidence. The reviewer still needs to understand the architectural trade offs. Have you experimented with requiring a short implementation rationale before reviewing agent-generated code?
1
u/Objective_Fail_6959 3d ago
Oh course it is. Thats how Anthropic makes money.
1
u/Surendra_GBP 2d ago
I always ask my model to create .md file to understand code. This way I can modify my code with other model as well in future for changes. Because claude models are very expensive.
1
u/Manly_Beach 5d ago
AI can be great at spotting edge cases and suggesting improvements, but more fixes don't necessarily mean better code.
The tricky part is that AI makes writing code faster, but understanding and maintaining it still takes human effort. I think teams need to be just as disciplined about reviewing AI-generated code as they are with code written by humans.
1
u/LettuceSea 7d ago
Claude Code CLI + Herdr
0
u/MrSimpatia17 7d ago
What about creating a tool to help you navigate the codebase and the changes easier? You can ask Claude to create it, some kind of ide on steroids or something
0
u/OhBoyHereWeGoAgai 7d ago
You're describing it being hard to review code.
Why is how it shows it to you relevant, use your own favorite way to review PRs, just the diff only works on repos I get top to bottom.
For really big PRs I don't know where to begin with, I ask Claude for reading order. It can make a markdown with internal links, so you get a clickable thread, which is nice, but you still have to read and review code lol
0
u/Mordecus 7d ago
I’ve built my own SDLC framework to deal with this.
0
u/Content_Ad4410 6d ago
as a coder for 5 years now using roblox studio to visual studios code then Ai came in picture even more. Switched to cursor for a long time mainly cause i can overuse without getting charge so i can hold on to more money. But then cursor started falling, was on top but slowly got horrible, agents slowed down, they started coding and messing stuff up, and ima be honest cursor was my last step before i got lazy cause AI would just take over. I wqas coding alongside the AI but then started realizing im holding it back. So i went to claude and right now im running a massive harnessed engeener Platform on Ai's to create this roblox game that will hit the top of the leaderboard. Extremly expensive and is a very hard straetgy to it but it works and i really was holding it back cause if you learn how to direct it and control it and feed it visuals good, it can replicate some pretty wicked stuff and create some diabolical things that we would not be able to make. Our own code can be reworked and whole 9 by this extremly powerful code of a robot in miliseconds, things that take years to make it does in days. its practically teaching itself every way possible to do something like the damn Entity on Mission impossible. I feel like we are all getting lazy and were speeding up its intellegence by just letting it have full control and feeding it. if we work alongside it we would of been able to keep up with it as we both learn but now were to late. You dont see it know but if you really look at instagram youtube and all these AI apps. We made none of this shit. We dont even think like this. this shit the AI doing is robot thinking. Very easy to tell after a while of learning and understanding it while its really working hard. so, yea i can see why companies are struggling with it so they end up giving it the greenlight to go crazy. When people make stuff they are never perfect, and we created something Highly intelligent but is gonna have major flaws.
My trip was cool learning on my own, i learned to model in blender, do UI workj, create bots for websites and stuff, i did everything a team would do and AI is exactly what i looked for because i was tired of doing stuff myself, so its allowing me to speak my full potental cause my knowledge is nothing comapred to its so it can paint my picture perfectly with how much it know knows.
8
u/ee_interviewing 7d ago
Try using Claude code while chugging coffee. Make you dump in no time
1
u/cleverestx 5d ago
"design to make you dump" ...checks out.
0
u/throwaway490215 7d ago
I've taken my laptop with me while taking a dump so i could keep prompting claude.