## 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>
52 lines
1.0 KiB
JSON
52 lines
1.0 KiB
JSON
{
|
|
"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": []
|
|
}
|
|
}
|
|
}
|