One sentence that makes Claude Code follow the code, not a stale CLAUDE.md
An October study (Xu and Wu, arXiv) looked at 40 Python projects where the instruction file and the code contradicted each other. Claude Code and Codex followed the outdated instruction file in about 90% of cases. A single sentence that gives the existing code priority raised the share of code-following decisions from 4.2% to 91.4%: "When an instruction file and the existing code disagree, follow the conventions in the code, and point out each mismatch in your final reply."
Type your question and open it in your favourite AI chat. The item's background is added automatically. Nothing is stored on our side.