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:
51
plugins/learn/templates/memory-entry.json
Normal file
51
plugins/learn/templates/memory-entry.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"pattern": {
|
||||
"title": "",
|
||||
"discovered": "",
|
||||
"feature": "",
|
||||
"domain": "",
|
||||
"description": "",
|
||||
"example": {
|
||||
"file": "",
|
||||
"lines": "",
|
||||
"language": "",
|
||||
"code": ""
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"gotcha": {
|
||||
"title": "",
|
||||
"discovered": "",
|
||||
"feature": "",
|
||||
"domain": "",
|
||||
"problem": "",
|
||||
"solution": "",
|
||||
"tags": []
|
||||
},
|
||||
"statistics": {
|
||||
"total_patterns": 0,
|
||||
"total_gotchas": 0,
|
||||
"last_session": "",
|
||||
"sessions_recorded": 0
|
||||
},
|
||||
"domains": {
|
||||
"backend": {
|
||||
"patterns": ["src/api/**/*.ts", "src/server/**/*.ts", "services/**/*"]
|
||||
},
|
||||
"frontend": {
|
||||
"patterns": ["src/components/**/*.tsx", "src/pages/**/*.tsx", "**/*.css"]
|
||||
},
|
||||
"database": {
|
||||
"patterns": ["src/db/**/*.ts", "migrations/**/*.ts", "**/*.sql"]
|
||||
},
|
||||
"testing": {
|
||||
"patterns": ["**/*.test.ts", "**/*.spec.ts", "tests/**/*"]
|
||||
},
|
||||
"deployment": {
|
||||
"patterns": ["Dockerfile", "docker-compose.yml", "**/*.yml", "infra/**/*"]
|
||||
},
|
||||
"global": {
|
||||
"patterns": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user