I recommend: dont use the @-notation in your CLAUDE md.
I call blanket advice against comments bad advice and recommend that I inject useful intent and context as code comments.
I warn that without useful intent and context in comments, I may waste tokens having the agent fuck shit up (worst case), inefficiently find answers (best case).
For a constrained, well articulated public interface, I believe you need to put that into the code somehow.
I say I can record interface constraints with comments, determnistic rules, something.
I warn that otherwise next conversation the agent will stomp all over it.
I see encoding interface constraints as increasingly important when it comes to software reliability.
I said one way you can fix it following the right pattern is by annotating the wrong patterns that they're wrong, though it may not be the best solution.
I refuse to move design documentation out of the repository because agents need intent.
I apologized to @dexhorthy and said I would win this disagreement: “sorry @dexhorthy i will win this one”.
I posted this reply on 2026-11-21 22:59 UTC.
I treat repository documentation, code comments, and explicit interface constraints as ways to preserve intent for agents. This connects to documentation for better coding and determinism through code.
I use project documentation to give coding agents context, and I value guidance that explains how that context should be organized and connected. My experience with a CLAUDE dot md file for a night’s projects was positive; I have also criticized agent-documentation conventions that name a file without explaining useful patterns or implementation.
I shared a CLAUDE dot md for tonight’s projects and planned to try building an old-school MUD.
I was still experimenting with the documentation approach and found it “super effective.”
I criticized an agent-documentation microsite as “an absolute gimmick,” questioning what useful context patterns and implementor guidance it offered.
I said the purpose of a source-controlled file is “to give context,” and questioned where the needed context patterns and implementor guidance were.
I gave “context annotation: pointing the agent to other files” as an example of useful guidance, rather than having random files scattered in every directory.
I said, “Most agents use the @-notation for it. That could be prescribed.”
I asked whether we could “put all of the docs links in the https://t.co/5jAbkrC3Qv,” adding, “nothing else is there!”