917 B
917 B
name, description, type
| name | description | type |
|---|---|---|
| keep-structure-memory-updated | Always update the project structure memory files when adding, removing, or changing source files | feedback |
After any change that adds, removes, renames, or significantly alters a source file, update the relevant structure memory file:
- New/renamed/deleted file in
modules/api→ updateproject_structure_api.md - New/renamed/deleted file in
modules/core→ updateproject_structure_core.md - New module, dependency version change, or new top-level directory → update
project_structure_root.md - New module added → create a new
project_structure_<module>.mdand add it toMEMORY.md
Why: Structure memories are the primary navigation aid. Stale entries cause wasted exploration.
How to apply: Treat the structure memory update as part of completing any implementation task — do it in the same session, not as a follow-up.