feat: Initial release of claude-learn plugin v1.0.0

Commands:
- /learn:analyze - Analyze conversation for patterns and gotchas
- /learn:import - Import from other memory files (auto-build-memory.md, JSON)
- /learn:reflect - Consolidate and clean memory
- /learn:status - Show memory statistics

Features:
- Stop hook suggests /learn:analyze after significant sessions
- Uses single memory file: .claude/rules/claude-learn-memory.md
- Structured format for patterns (solutions) and gotchas (problems)
- Import support for migrating existing memories

🤖 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 19:02:02 +00:00
commit 30b73ac7e6
15 changed files with 853 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{
"pattern": {
"title": "",
"discovered": "",
"feature": "",
"description": "",
"example": {
"file": "",
"lines": "",
"language": "",
"code": ""
},
"tags": []
},
"gotcha": {
"title": "",
"discovered": "",
"feature": "",
"problem": "",
"solution": "",
"tags": []
},
"statistics": {
"total_patterns": 0,
"total_gotchas": 0,
"last_session": "",
"sessions_recorded": 0
}
}