Project Rules: Teaching AI About Your Project
Claude Code is powerful out of the box — but it becomes exceptional when it knows your project. Learn how to write project rules that encode your architecture, conventions, and decisions so you never have to repeat yourself.
The problem: AI doesn't know your project
When you're the only developer on a project, you carry all the context in your head. You know why you decided to organize your pages a certain way. You know that form fields are always checked for errors the same way. You know that files are organized in a specific folder structure you've chosen.
Claude Code doesn't know any of this unless you tell it. And telling it once per session — repeating the same context in every conversation — is exactly the kind of friction that makes AI tools feel like more work than they're worth.
The solution is a file called CLAUDE.md: a set of project rules that Claude Code reads automatically at the start of every session. It's how you teach the AI about your project once, so you never have to repeat yourself.