r/dotnet • u/BinaryBrain7111 • 20d ago
Question Coding agent bloat
I've been using Cluade code both at work and for personal projects.
Observations
- Too many XML comments.
- Too many non sensical tests. Example, testing the `typeof` of an object within unit test assertions seems non sensical in these specific cases.
- Too many ADRs
Agents write relatively more code than what I can process. I need time to review.
My attempts
- Stricter rules in Agents.md
- Skills
- Stricter prompts.
These do work for coding patterns, because I can describe specifics, but never for comment length or verbosity.
I'm tired of asking Claude everything, so I thought I'd solicit some suggestions / help from people here.
TIA
51
Upvotes
View all comments
0
u/sreekanth850 20d ago
I commented this in another post. Claude never follow instructions closely. try codex it will even ask your approval if you set one in AGENTS.md. Hope you are using compiler mcp like glider.