Configure Claude Code with project context via CLAUDE.md so it stops guessing about your Craft version, namespace conventions, and local environment.
Before we use Claude Code to build anything, we need to set it up properly. That means giving it context about our project — what we’re building, what tools we’re using, and how we like to do things.
This isn’t optional setup. It’s the difference between Claude Code being a generic code generator and Claude Code being a collaborator that understands your project.
To get started, you’ll need:
npm install -g @anthropic-ai/claude-code or via Homebrew)Claude Code can see your files, but seeing files isn’t the same as understanding your project. It doesn’t automatically know:
Without this context, Claude Code makes guesses. Sometimes good guesses, sometimes not. The CLAUDE.md file eliminates the guessing.