4 ms·
That's what MEMORY.md and subdirectory-specific CLAUDE.md does.
by radlad 2mo ago
That's what MEMORY.md and subdirectory-specific CLAUDE.md does.
- GrinningFool 2mo agoAren't subdirectory specific Claude files layered in on top? Seems like more required content when the direction I'm suggesting is more like lazy-loading.
- radlad 2mo agoThey load only when operating on files in that directory. i.e. Lazy loading? For example, I have one in my schema migrations directory that explains how to write migrations with appropriate concern for forwards- and backwards-compatibility in our deployment model.
- GrinningFool 2mo agoThis type of content I use this for is not necessarily directory-specific - git operations as a simple example. I have workflows that are only relevant in specific situatoins, but they apply to the whole repository. This is effective only if you're guiding it heavily though - this is a very human-supervised workflow, and I'm telling it when it's time to take specific actions. It will read the appropriate instructions file when the action is first referenced, but not until then.