3 ms·
i tested sonnet 4.5 just last week on a zig codebase and it has to be instructed the std.ArrayList syntax every time.
by ale 8mo ago
i tested sonnet 4.5 just last week on a zig codebase and it has to be instructed the std.ArrayList syntax every time.
- benatkin 8mo agoTry it again. This time do something different with CLAUDE.md. By the way it's happy to edit its own CLAUDE.md files (don't have an agent edit another agent's CLAUDE.md files though [0]) 0: https://news.ycombinator.com/item?id=46723384 https://news.ycombinator.com/item?id=46723384
- rudedogg 8mo agoI made a Zig agent skill yesterday if interested: https://github.com/rudedogg/zig-skills/ https://github.com/rudedogg/zig-skills/ Claude getting the ArrayList API wrong every time was a major reason why It’s AI generated but should help. I need to test and review it more (noticed it mentions async which isn’t in 0.15.x :| )
- ale 8mo agoFighting fire with fire
- rudedogg 8mo agoA little bit! I wrote a long blog post about how I made it, I think the strategy of having an LLM look at individual std modules one by one make it actually pretty accurate. Not perfect, but better than I expected
- simonmic 8mo agoThe linked blog post about making this is an excellent read.
- rudedogg 8mo agoThanks! I think I spent as much time writing the post as I did making the skill, so I’m happy someone got some value out of it.
- Graziano_M 8mo agoAre you using an agent? It can quickly notice the issue and fix it. Obviously if it's trained on an older version it won't know the new APIs.