Skip to content
mentoor

Project memory files

For engineers

CLAUDE.md, AGENTS.md, GEMINI.md and rules files: what an agent loads every session and how to keep it lean and true

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

Which line is the best candidate for a project memory file?

Choose one answer

Check yourself · 2 of 5

Which of these should never be written into a committed memory file?

Choose one answer

Check yourself · 3 of 5

Where should a personal preference like 'keep answers short' go?

Choose one answer

Check yourself · 4 of 5

What is the best first step to test whether a new rule changes an agent's behaviour?

Choose one answer

Check yourself · 5 of 5

Why do separate hand-maintained copies of the rules for each agent cause trouble?

Choose one answer

Topics

  1. What belongs in CLAUDE.md or AGENTS.md4 min read · Build, test and lint commands, conventions the agent cannot infer from code, boundaries and pointers to where things live
  2. What to keep out of memory files4 min read · Secrets, long docs, README copies, stale rules and style rules a linter or formatter already enforces
  3. Layering user, repo and folder files5 min read · How agents load user-level, project, subfolder and imported files, which one wins, and what loads only on demand
  4. Testing whether a memory file changes behaviour5 min read · Before-and-after runs, asking the agent to restate the rules, and catching lines it ignores or misreads
  5. One instruction file across many agents5 min read · AGENTS.md, CLAUDE.md, GEMINI.md and Copilot instruction files: sharing one source of truth without copies drifting apart

Start here

110 questions · last verified 2026-12