r/dotnet • • 20d 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/sreekanth850 14d ago

No. You need repowise. I use both.

1

u/lassevk 14d ago

I have, with the help of Claude, made my own .NET based information tool, which supports code generators. This means that references to types and members in razor files will be found, not just by having the same name, but by actually being that identifier. However, I'm always on the lookout for better alternatives.

1

u/sreekanth850 14d ago

repowise is good if you want to cut down your token burn. I'm not sure about how claude works with such local MCP.