Files
claude-plugins/plugin/rules/memory-format.md
Claude Agent 30b73ac7e6 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>
2026-01-06 19:02:02 +00:00

1.6 KiB

paths
paths
.claude/rules/claude-learn-memory.md

Claude Learn Memory Format

Acest fișier definește formatul pentru .claude/rules/claude-learn-memory.md.

Template Gol

# Claude Learn Memory

Patterns și Gotchas învățate din sesiuni de lucru.

---

## Patterns

<!-- Patterns vor fi adăugate aici -->

---

## Gotchas

<!-- Gotchas vor fi adăugate aici -->

---

## Memory Statistics

- **Total Patterns**: 0
- **Total Gotchas**: 0
- **Last Session**: -
- **Sessions Recorded**: 0

Format Pattern

### {Titlu Descriptiv}
**Discovered**: {YYYY-MM-DD} (feature: {context-scurt})
**Description**: {Descriere clară a pattern-ului și când să-l folosești}

**Example** (`{file}:{lines}`):
\```{language}
{cod exemplu}
\```

**Tags**: {tag1}, {tag2}, {tag3}

---

Format Gotcha

### {Titlu Descriptiv}
**Discovered**: {YYYY-MM-DD} (feature: {context-scurt})
**Problem**: {Ce problemă a apărut}
**Solution**: {Cum s-a rezolvat}

**Tags**: {tag1}, {tag2}, {tag3}

---

Convenții

  1. Titluri: Folosește titluri descriptive, nu generice

    • "Vue Watch Needs Immediate Flag for Initial Load"
    • "Vue Problem"
  2. Tags: Folosește kebab-case, maxim 5 tags per entry

    • vue, reactivity, watch, initialization
    • Vue.js, REACTIVITY, this is a tag
  3. Exemple: Include întotdeauna cod exemplu când e posibil

  4. Context: Folosește feature name scurt pentru context

    • (feature: user-dashboard)
    • (feature: implementing the new user dashboard with stats and charts)