feat: v2.0.0 - Domain-based memory + multi-plugin marketplace structure

## 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>
This commit is contained in:
Claude Agent
2026-01-06 21:45:31 +00:00
parent 30b73ac7e6
commit d6c71536e7
22 changed files with 1192 additions and 716 deletions

54
plugins/learn/README.md Normal file
View File

@@ -0,0 +1,54 @@
# 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