Add support for a hidden, non-committed version of CLAUDE.md?

Resolved 💬 4 comments Opened Feb 27, 2025 by skerit Closed May 7, 2025

When working with, for example, Java projects in Claude Code, the tool doesn't have access to the source code of dependencies. Unlike Node.js projects where dependencies are typically available in the project's node_modules directory, Java dependencies are usually referenced from external repositories or local Maven/Gradle caches without their source code being directly accessible to Claude.

The best solution to this I've found is just put the location of the source code of some dependencies in the CLAUDE.md file:

The protoblast source code can be found here:
/home/skerit/projects/javaweb/protoblast/

Works great, Claude-code can easily access the source code there.
But this is a very personal solution, and I don't want to put this in the CLAUDE.md file of this project.

Is there a way around this, possible by having another, local-only version of the claude.md file?

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗