Question · Vibe coding with Claude Code course · Module 15: Advanced Claude Code

Quiz: When a rule with paths loads

When does a rule from .claude/rules/ with a paths header enter Claude's context?

Answer options

  • Always at the start of a session, together with CLAUDE.md
  • When Claude reads, writes or edits a file matching the pattern
  • Only when you type /memory and pick the rule
  • When a file matching the pattern changes in Git

You can check the correct answer by solving this task in the CodeWorlds game.