Promptles
AI & Prompt Engineering

Context Files (CLAUDE.md, AGENTS.md)

beginner

Definition

Markdown files kept at the root of a repo that describe conventions, commands, and non-negotiables for an AI coding assistant. The assistant loads them automatically, so they're where you put the rules you don't want to repeat in every prompt.

In the wild

Your team's CLAUDE.md says 'never use default exports' and 'run npm run validate-content after editing JSON.' When you ask the assistant to add a module, it follows both rules without being reminded.

More from AI & Prompt Engineering