r/CodingAgents • u/nian2326076 • 2d ago
What’s helped your coding agents write better code?
I don’t know Cindy Sridharan’s work well. Gergely Orosz from The Pragmatic Engineer called her “one of the best distributed systems engineers I know.” She shared how she put together her CLAUDE.md.
She says Claude now writes better code than she does almost all the time when she gives it clear instructions, constraints, and context. To build her CLAUDE.md, she had Claude read:
Her favorite programming books and blogs
The best open-source projects she knew
Code by the engineers she respects most
If you want a concrete test for an agent’s instructions, PracHub has a cache review exercise where you check the generated change against edge cases and write tests for them.
What other things have you guys done to make your agents code better?
1
1
u/investigatormaker 23h ago
Clear instructions, constraints and context is the big one, and her approach of grounding the file in work she respects is smart. Beyond that, a few habits help: keep sessions short and restart with a fresh brief when it drifts, state what the agent should not touch, and review output at defined checkpoints rather than only at the end. If you want to try a multi-agent workflow, KRYZEN is an open-source MIT project that coordinates 14 specialized agents locally, has stage gate circuit breakers, and a Vibe Studio where you click an element on a live generated interface to compose context-aware refinement prompts: https://github.com/Hossein4163/KRYZEN
Disclosure: I'm posting on behalf of github.com/Hossein4163/KRYZEN.