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

View File

@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.0.0] - 2026-01-06
### Changed (Repository)
- **Reorganized for multi-plugin marketplace**: `plugin/``plugins/learn/`
- Repository to be renamed: `claude-learn``claude-plugins`
- Updated marketplace.json source path
### Added
- **Domain-based memory**: Memory is now split into domains (backend, frontend, database, testing, deployment, global)
- **Selective loading via `paths` frontmatter**: Each domain file has a `paths:` frontmatter that triggers loading only when working with matching files
- **Automatic domain detection**: `/learn:analyze` detects the domain based on file paths in the conversation
- **Automatic pattern suggestion**: When creating new domains, glob patterns are auto-generated from conversation files
- **Cross-domain analysis**: `/learn:reflect` now analyzes duplicates and misplaced entries across domains
- **Domain configuration file**: `.claude/rules/claude-learn-domains.md` for user-editable domain definitions
- New templates: `domains-config.md`, `domain-memory.md`
### Changed
- `/learn:analyze` now prompts for domain confirmation before saving
- `/learn:status` aggregates statistics from all domain files with breakdown table
- `/learn:import` routes entries to appropriate domains with detection
- `/learn:reflect` includes cross-domain duplicate detection and domain migration suggestions
- Memory files now use format `claude-learn-{domain}.md` instead of single `claude-learn-memory.md`
### Migration
- Run `/learn:import .claude/rules/claude-learn-memory.md` to migrate from v1.0 format
- Old format is auto-detected and migration is offered
## [1.0.0] - 2025-01-06
### Added