Summary of "Claude Code oublie tout ? Voici les fichiers à créer (CLAUDE.md, rules, settings)"

Summary of technological concepts & product features (Claude Code / Cloud Code)

Core problem: “Claude/Cloud Code forgets” between sessions

Solution: a 3-layer configuration system (accumulating knowledge)

  1. Project layer (team-shared)

    • In the project, create files like:
      • cloud.md
      • settings.json
      • and related docs/rules
    • These are shared with the team.
  2. Local layer (personal overrides)

    • Keep a “local” config file (prefixed with local) out of version control (e.g., add it to .gitignore).
    • Used for your personal working style so Claude learns it.
  3. User/global layer (root of the user machine)

    • At the user’s home/hard-drive root (a global “cloud point”), store global:
      • global cloud.md
      • global settings.json
    • Applies across projects and sessions.

Priority rule: project cloud.md takes precedence over global during load.


cloud.md = “brain” / main context file

What NOT to put in cloud.md:

Maintainability guidance


Variants / placement of cloud.md files

Multiple placement strategies are mentioned, including:

Rule conflict resolution: most specific wins


Rules files (modular enforcement)

Examples of rule categories mentioned:


settings.json (technical permissions & behavior control)

Hooks are described as scripts executed automatically during an agent lifecycle.


Skills (reusable workflows invoked on demand)


Agents (specialized sub-agents)


MCPs (external servers / tool integrations)

Personal MCPs:


Tutorial/demo structure described at the end

Example hook described:

It also signals future content:


Five pitfalls to avoid (beginner mistakes)

  1. Using cloud.md as a catch-all

    • Keep cloud.md under ~200 lines
    • Move long procedures into skills
    • Put heavy/slow logic into rules
  2. Confusing context with security

    • cloud.md doesn’t block actions
    • Permission/action blocking is done via settings.json
  3. Committing local settings

    • Don’t push personal/local config
    • Use .gitignore
  4. Confusing skills with permanent rules

    • Skills can be removed/recreated
    • Permanent enforcement belongs in rules / cloud.md
  5. Duplicating instead of importing

    • Reuse files via imports
    • Avoid divergence by keeping a single source of truth

Review/audit offer mentioned (analysis/tutor support)


Main speakers / sources

Category ?

Technology


Share this summary


Is the summary off?

If you think the summary is inaccurate, you can reprocess it with the latest model.

Video