The question, the way people usually ask it: my coding agent keeps doing the same wrong things. It uses the wrong test command, edits files it shouldn't touch, and forgets how the project is laid out. I've heard a CLAUDE.md or AGENTS.md file fixes this. What do I actually put in it?
Post what's in yours, trimmed and secret-free, and say which tool and model read it.