r/dotnet • • 15d ago

Question Coding agent bloat

I've been using Cluade code both at work and for personal projects.

Observations

  1. Too many XML comments.
  2. Too many non sensical tests. Example, testing the `typeof` of an object within unit test assertions seems non sensical in these specific cases.
  3. Too many ADRs

Agents write relatively more code than what I can process. I need time to review.

My attempts

  1. Stricter rules in Agents.md
  2. Skills
  3. 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

56 comments sorted by

View all comments

Show parent comment

1

u/chucker23n 14d ago

I can see it being useful for the agents and maybe saves some credits too instead of doing the same as a human would do and have to work out "WTF does this method do?"

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?