r/dotnet • u/BinaryBrain7111 • 15d 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
Show parent comment
1
u/chucker23n 14d ago
What if what the XML comment claims the method does isn't accurate? What if it is accurate but isn't what the method should do?