Skip to content

Study guide

Giving AI your files and your rules: projects, memory, and Markdown instruction files

The main points of the lesson, for review.

Read the lesson Take the quiz

Three places for standing knowledge

  • Projects: instructions plus uploaded files for one kind of work
  • Memory: the app's own notes about you; view, edit, or use incognito to skip it
  • Instruction files: CLAUDE.md, AGENTS.md or Cursor .mdc rules, read by agents at the start of each session

Rules of thumb

  • Aim for the smallest set of high-value tokens; more is not better
  • One line per correction you have made twice; reread and prune monthly
  • Claude Code: under about 200 lines. Cursor: under 500 per rule; plain .md in .cursor/rules is ignored
  • A rule that must never break needs a hook or your own hands, not more emphasis
  • Skills load their full text only when a task matches
  • No client information in projects, memory or files without a signed BAA

Sources

Back to the lesson