I’ve noticed claude has a hard time differentiating between responding to me in conversation vs formalizing that into code comments and docstrings. For example, if I say something like “make sure all 20 metrics from this file are selected, double check for duplicates” claude will of course do this, but will add some dumb comment like # all 20 metrics from /some/file.py only - no duplicates, when it could just let the code speak for itself or even something more minimal and less likely to be out of date like # add metrics
I made that example up, so you don’t need to nitpick it, but basically claude seems to confuse information that is relevant to the
process
of agentic coding from information that is relevant or appropriate to include in the final version controlled artifact.
I have tried adding guidance to claude.md to help (and it does, sort of) but it doesn’t seem to be consistent, and often reverts over longer sessions. Has anyone else experienced this particular flavor of LLMism or had any luck getting better or more consistent results with this?
submitted by
/u/ColdPorridge
Originally posted by u/ColdPorridge on r/ClaudeCode
