Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives What TO document: - High-level architecture and system design - Non-obvious patterns, conventions, or gotchas - Key entry points and where to start reading code - Important design decisions and their rationale - Critical dependencies or integration points - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context What NOT to document: - Anything obvious from reading the code itself - Exhaustive lists of files, functions, or parameters - Step-by-step implementation details - Low-level code mechanics - Information already in CLAUDE.md or other project docs Use the Edit tool with file_path: {{docPath}} REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.