CLAUDE.md Rules for Claude Code That You Can Check

A long list of preferences does not make Claude Code predictable. A useful project rule says what the agent may do, what it must avoid, and which command or diff proves the result. Put architecture notes in docs/; keep the project contract short.

Start with a small contract

# Project rules

## Goal