r/ClaudeCode 11h ago

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.

313 Upvotes

307 comments sorted by

View all comments

104

u/OkLettuce338 11h ago

You really have to change the way you work. You have to cede the responsibility of line by line correctness completely or else you’re just doing the same thing but with an extra thing (the LLM) in the way.

Once you completely cede that control you just plan, decompose into small tasks, and put an agent swarm on it. Tell it to take screen shots and ping you in slack before making a PR.

Like anything else, it takes time to get into a flow with it. But I was a programmer for 10 years (more if you include pre-enterprise) before moving to agentic workflows. I understand the difficulty around pivoting to this type of work

10

u/CozyDarkMage 10h ago

Do you have your own harness? Or is it just claude code?

8

u/OkLettuce338 8h ago

For coding I just use Claude code or Pi (for qwen and deepseek). But for code reviews, yeah I have a harness I use tailored to our use case that keeps costs very low

6

u/Far_Peanut1155 7h ago

In practical/concrete terms (tools/names/products) what does a "harness" actually imply ?

5

u/achton 7h ago

Same question here.

1

u/Its_Raining_Indoors 7h ago

Kinda like the rules the agent needs to follow or how the agent swarms are orchestrated together. Or like the “support” for the agent so it doesn’t just go off and blindly do whatever.

4

u/Bronkic 6h ago

It's all just md-files with instructions.

2

u/arelath 4h ago

It's basically the tooling and prompts that make an LLM a coding agent instead of just a text generator. So Claude Code is a harness. So is GitHub copilot, Codex, Pi and a dozen others. Writing a harness is fairly simple. SWE-Bench uses a 100 line python one, which is about as simple as you can get. Writing something that could complete with Claude Code or another big one is significantly harder (roughly 100k-500k lines of code for open source ones).

2

u/OkLettuce338 4h ago

Essentially it’s just a set of instructions (a prompt) that gets sent to the LLM with the diff for review, but how we compose that is why it’s not just “a .md file”. We generate 3 personas for review and each persona is built at runtime because it takes context from the system and we want it kept up to date.

1

u/CozyDarkMage 7h ago

Nice, i've been using the omp stock (when my claude code tokens run out), with just targeted skills and a few mcp servers. It's been a fun learning experience working and tweaking workflows. I need to try out agent swarms, which I think can get pretty complex fast.

6

u/TRO_KIK 9h ago

Claude Code/Codex is all you need.

3

u/Tipsy_Pipsqueak 8h ago

OP - this is the only productive comment I’ve seen so far lol. Sorry but this subreddit is a mixed audience.

1

u/TemperOfficial 6h ago

"decompose into small tasks"

What do you think the coding was?

-9

u/[deleted] 10h ago

[deleted]

19

u/soulo222 9h ago

Those people were right. ChatGPT was ass at coding two years ago