CLAUDE.md with basic project info
Adding a CLAUDE.md to your repository root is the single highest-leverage context engineering investment - it gives every AI agent the minimum viable information about what your project is and how it works.
- ·CLAUDE.md or equivalent exists with project description, tech stack, and top conventions
- ·Written coding conventions document exists and is referenced from agent instruction files
- ·Agent instruction files are committed to the repository (not local-only)
- ·CLAUDE.md includes explicit prohibitions (banned libraries, anti-patterns)
- ·Agent instruction files are reviewed as part of the standard PR process
Evidence
- ·CLAUDE.md, .cursorrules, or .github/copilot-instructions.md in repository root
- ·Coding conventions document accessible from agent instruction files
- ·Commit history showing agent instruction file updates
What It Is
CLAUDE.md is a special file that Claude Code reads automatically when it starts a session in your repository. It's the AI equivalent of the onboarding document you wish you'd had on your first day: it tells the agent what the project is, how to run it, what the tech stack looks like, and what conventions to follow. Other tools have their own equivalents: .cursorrules for Cursor, .github/copilot-instructions.md for GitHub Copilot, AGENTS.md for OpenAI Codex.
The concept is simple: a markdown file in your repository root that provides project-level context to any AI agent that reads it. Before this file exists, every agent session starts from zero - the agent knows nothing about your project beyond the file currently open. After this file exists, every session starts with the minimum viable context: what this project is, how it fits together, and what the agent needs to know to not make obvious mistakes.
At L2 (Guided), the CLAUDE.md file typically contains basic project information: the tech stack, how to install and run the project, a brief architectural overview, key directories and their purposes, and the most important do's and don'ts. It doesn't need to be comprehensive to be valuable - even a 200-line CLAUDE.md dramatically improves suggestion quality compared to no file at all.
The transition from L1 to L2 is largely defined by the creation of this file. It's the first act of intentional context engineering: the team explicitly decides what information the agent needs and writes it down in a form the agent can use.
Why It Matters
The impact of a CLAUDE.md file is disproportionate to its size. A few hundred lines of well-chosen content can prevent thousands of wrong suggestions across the team:
- Eliminates the most common class of wrong suggestions - tech stack mismatches, wrong import paths, missing required configuration, use of deprecated APIs
- Applies to all developers on the team - unlike a developer's personal "context preamble" habit, a committed CLAUDE.md benefits everyone who opens the repo
- Persists across sessions - context you've written down doesn't disappear when you close the chat window
- Scales with the team - new developers get better AI suggestions from day one, without learning what manual context to provide
- Creates a foundation for L3 - the CLAUDE.md file is the substrate on which more sophisticated context engineering builds
The measurable impact: teams that add a well-crafted CLAUDE.md typically report a 30-50% improvement in AI suggestion acceptance rates within the first week. The suggestions stop violating project conventions and start following them.
Write your CLAUDE.md as if you're briefing a capable contractor who is starting work on your codebase tomorrow. They're smart and experienced, but they know nothing about your project. What do they absolutely need to know in the first 10 minutes?
Getting Started
6 steps to get from here to the next level
Common Pitfalls
Mistakes teams actually make at this stage - and how to avoid them
How Different Roles See It
Bob's team has been complaining that AI suggestions are inconsistent - they work great for some developers and not others. He suspects it has to do with the senior engineers' habit of providing detailed context in their prompts, while junior engineers just describe the immediate task. He's right, but he doesn't know how to systematize it.
What Bob should do - role-specific action plan
Sarah has been trying to understand why AI adoption is so uneven across teams. She runs a survey and finds that developers in teams without shared context files (CLAUDE.md, .cursorrules) rate AI tools much lower than developers in teams that have them. The pattern is clear, but she hasn't been able to make the business case for investing time in these files.
What Sarah should do - role-specific action plan
Victor has been the unofficial "AI whisperer" on his team - developers come to him when they're getting bad suggestions, and he shows them the right context to provide. He's been doing this for months and realizes he's essentially teaching the same 10 things over and over.
What Victor should do - role-specific action plan
Further Reading
5 resources worth reading - hand-picked, not scraped
From the Field
Recent releases, projects, and discussions relevant to this maturity level.
Context Engineering