# Claude Learn A Claude Code plugin for capturing lessons learned during development sessions with **domain-based memory** and **selective loading**. ## Installation ```bash claude plugin install learn@romfast-plugins ``` ## Commands | Command | Description | |---------|-------------| | `/learn:analyze` | Analyze conversation and propose lessons | | `/learn:status` | Show memory statistics by domain | | `/learn:import ` | Import from another memory file | | `/learn:reflect` | Consolidate and clean up memory | ## Features - **Domain-based memory**: Organized by backend, frontend, database, testing, etc. - **Selective loading**: Only relevant memories load via `paths` frontmatter - **Automatic domain detection**: Detects domain from files in conversation - **Auto-generated patterns**: Glob patterns suggested when creating new domains ## Plugin Structure ``` learn/ ├── .claude-plugin/plugin.json ├── commands/ │ ├── analyze.md │ ├── import.md │ ├── reflect.md │ └── status.md ├── hooks/hooks.json ├── rules/memory-format.md ├── templates/ │ ├── domain-memory.md │ ├── domains-config.md │ └── memory-entry.json └── README.md ``` ## Development ```bash claude --plugin-dir ./plugins/learn ``` ## License MIT