News for hackers. Stuff that matters.
Re:The unbearable slowness of AI coding by jmvldz on Thursday August 21, 2025 @04:45PM (#44977857)
I don't have a ton of tests. From what I've seen, Claude will often just update the tests to no-op so tests passing isn't trustworthy.

My workflow is often to plan with ChatGPT and what I was getting at here is ChatGPT can often hallucinate features of 3rd party libraries. I usually dump the plan from ChatGPT straight into Claude Code and only look at the details when I'm testing.

That said, I've become more careful in auditing the plans so I don't run in to issues like this.

Re:The unbearable slowness of AI coding by CuriouslyC on Thursday August 21, 2025 @05:18PM (#44978220)
Tell Claude to use a code review sub agent after every significant change set, tell them to run the tests and evaluate the change set, don't tell Claude it wrote the code, and give them strict review instructions. Works like a charm.
Re:The unbearable slowness of AI coding by cpursley on Thursday August 21, 2025 @06:44PM (#44979041)
Any tips on writing productive review sub agent instruction?
Re:The unbearable slowness of AI coding by CuriouslyC on Thursday August 21, 2025 @06:54PM (#44979127)
Yes. Go on ChatGPT, explain what you're doing (claude code, trying to get it to be more rigorous with itself and reduce defects) then click deep research and tell it you'd like it to look up code review best practices, AI code review, smells/patterns to look out for in AI code, etc. Then have it take the result of that and generate a XML structured document with a flowchart of the code review best practices it discovered, cribbing from an established schema for element names/attributes when possible, and put it in fenced xml blocks in your subagent. You can also tell claude code to do deep research, you just have to be a little specific about what it should go after.
Re:The unbearable slowness of AI coding by jmvldz on Thursday August 21, 2025 @05:57PM (#44978584)
Interesting. I had not thought about a code review sub agent. I will give that a shot.