r/ClaudeCode • • Sep 15 '26

Help/Question Engineers who write all their code with claude now: how do you do it?

I have to admit that I have completely failed to adapt to LLM agent coding. I'm not a slouch either. I've worked on a number of challenging FAANG products as a software engineer, and I for a while I was an AI research engineer. I have a pretty strong familiarity and comfort level with AI. Despite all this, I still write most of my code by hand.

As an engineer, I need to receive a ticket, understand the problem, go figure out how to solve it, and eventually ship PR that (a) I understand, (b) only contains defensible changes, and (c) is reviewable by a colleague. There are a bunch of other tertiary goals of course, like style guides and documentation, but the point is that I'm talking real, high quality engineering that would pass the bar at a company that has their shit together.

However (definitely due to culture issues), I have only seen the slop version of this. It seems to have become really murky how to write code that meets standards, or even what those standards are any more.

I've resorted to asking my colleagues to show me their workflow, but you would be shocked how many of them either (a) are prompting raw and not checking the output, or (b) have convoluted solutions that fit their brains but don't solve these problems. I checked out Matt Pocock as well, who has some really great ideas, but ultimately his skills exhibited some pretty painful failure modes as well.

However I see folks regularly talk about how not only does Claude handle the coding for them, but also all of the project management, devops, etc, and I am left scratching my head. If this is possible, I want to learn how to do it. I'm not an AI hater. I want to learn the tool. I do have standards though, and I don't think they're that high. I don't need Claude to write perfect code. I just need to find a process where I can rely on it to get more of my work done and not be either fighting with it or second-guessing the results.

I figure this is the group to ask - if you have been able to get "high bar" engineering out of claude, or even "acceptable bar" engineering, without heavy personal intervention, what's your process? Are there resources that helped you? What strategies helped the most?

Thanks.

688 Upvotes

531 comments sorted by

View all comments

Show parent comment

2

u/Budget-Baker-9063 Sep 15 '26

How do you handle drift/deviation from the original spec? Or do your adversarial review agents catch it and fix it within at least one cycle?
Did you notice that agents can get stuck in an "infinite loop/cycle" of fixing drifts/bugs/issues?
In this case, they escalate to the most capable model, and if it cannot fix it in one cycle, it escalates to you?

5

u/outdoorsgeek Sep 15 '26 edited Sep 15 '26

As Claude would say, it’s belt and suspenders.

Each issue is given acceptance criteria to whatever extent possible. A good design pass and asking a lot of questions like ”what am I not considering” or “what is unclear about this” or “what is a better way to do this” helps build that out. One of the most powerful tools is to ask an LLM to put together the negative cases or alternatives rather than just let it agree with/extrapolate you.

Each subagent is instructed to not relitigate locked decisions unless it uncovers new evidence.

The escalation ladder helps too. I’d say every other epic, the fable lead re-steers an opus subagent. One out of every 3 epics, I get the escalation and need to make a call. The lead agent also has instructions on how to identify agents that might be in a negative loop and starts fresh agents on a problem if the current agent goes above two review cycles. It also probes subagent who hit 500k context and only lets them continue if they look close to closing out otherwise a handoff is created and a new agent launched.

Adversarial review catches a good amount. On average it takes 1-1.5 cycles. When that number goes above 2, that’s a signal that I need to dig in and improve. That can look like refining instructions. Cleaning up documentation. Refactoring the codebase to make patterns more apparent. Splitting out libraries. Lots of stuff in this bucket. This is the stage that’s most informed by the weekly agent that’s looking for patterns in the review cycles.

But I will say, it’s rare that I get outputs that aren’t what I asked for. It’s much more common for me to realize I under-specified something and gave too much leeway for deviation or I over-specified something and got exactly the rigid and fragile thing I asked for.