My problem is that Claude often don't consult the reference materials.

And I am back to manually including markdown files in the prompt.

Say I have a TypeScript.md file with formatting and programming guidelines for TypeScript. Sometimes Claude edit TypeScript files without consulting it, despite it being linked referenced CLAUDE.md.