## Domain-based Memory (v2.0.0) - Memory split into domains (backend, frontend, database, testing, deployment, global) - Selective loading via `paths` frontmatter - only relevant memories load - Automatic domain detection from file paths in conversation - Auto-generated glob patterns when creating new domains - Cross-domain analysis in /learn:reflect ## Repository Reorganization - Restructured for multi-plugin marketplace: plugin/ → plugins/learn/ - Marketplace renamed: romfast-tools → romfast-plugins - Repository to be renamed on Gitea: claude-learn → claude-plugins 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
# 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 <file>` | 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
|