Add a `CLAUDE.md` (#17517)
I'm a bit annoyed to make it tool-specific, and that it's needed in the
first place, but 🤷♀️ I think it'll make a difference so here we go.
This has a few items inspired by
https://github.com/astral-sh/ruff/blob/main/CLAUDE.md