## 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>
1.9 KiB
1.9 KiB
CLAUDE.md
Development instructions for the claude-plugins repository.
Repository Structure
claude-plugins/
├── .claude-plugin/
│ └── marketplace.json # Lists all plugins
├── plugins/
│ └── learn/ # Learn plugin
│ ├── .claude-plugin/plugin.json
│ ├── commands/ # Slash commands
│ ├── hooks/ # Event hooks
│ ├── rules/ # Rule files
│ └── templates/ # Templates
├── README.md # Marketplace README
├── CLAUDE.md # This file
└── CHANGELOG.md # Version history
Adding a New Plugin
-
Create plugin directory:
mkdir -p plugins/new-plugin/.claude-plugin mkdir -p plugins/new-plugin/commands -
Create
plugins/new-plugin/.claude-plugin/plugin.json:{ "name": "new-plugin", "description": "What the plugin does", "version": "1.0.0", "author": { "name": "Romfast Team" } } -
Add to
.claude-plugin/marketplace.json:{ "name": "new-plugin", "source": "./plugins/new-plugin", "description": "...", "version": "1.0.0", "keywords": [...] } -
Create commands in
plugins/new-plugin/commands/
Testing
# Test specific plugin
claude --plugin-dir ./plugins/learn
# Verify commands appear
/learn:status
Git
git remote: git@gitea.romfast.ro:romfast/claude-plugins.git
git push origin main
Learn Plugin Details
See plugins/learn/README.md for full documentation.
Key files:
plugins/learn/commands/analyze.md- Main analysis commandplugins/learn/commands/status.md- Statistics displayplugins/learn/commands/import.md- Import from other formatsplugins/learn/commands/reflect.md- Cross-domain consolidation