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>
30 lines
473 B
JSON
30 lines
473 B
JSON
{
|
|
"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
|
|
}
|
|
}
|