Writing a good CLAUDE.md
December 2, 2025

## Creating a good CLAUDE.md file
The following section provides a number of recommendations on how to write a good CLAUDE.md file following context engineering best practices.
Your mileage may vary. Not all of these rules are necessarily optimal for every setup. Like anything else, feel free to break the rules once…you understand when & why it’s okay to break themyou have a good reason to do so
Providing context to coding agents like Claude is an important step in getting the most out of these systems. In Claude, this is the claude.md file, elsewhere it’s an agents.md file, and this article looks at a number of patterns and principles that could be valuable in developing and working with these kinds of files.







