docs: Add pattern for plugin version increment before commit

Memory update:
- New pattern: Always increment plugin version before commit
- Version must be higher than remote

🤖 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 23:42:02 +00:00
parent eeebddca22
commit 8cc2549ce8

View File

@@ -22,6 +22,23 @@ Patterns și Gotchas universale, aplicabile tuturor domeniilor.
--- ---
### Incrementează versiunea plugin-ului înainte de commit
**Discovered**: 2026-01-06 (feature: plugin-versioning)
**Source**: explicit | **Confidence**: high | **Reinforced**: 0
**Trigger**: "ține minte"
**Description**: Când faci modificări la fișierele din plugin, trebuie să incrementezi versiunea în `plugin.json` ÎNAINTE de commit. Versiunea trebuie să fie mai mare decât cea de pe remote.
**Example** (`plugins/learn/.claude-plugin/plugin.json`):
```json
{
"version": "2.1.1" // incrementat de la 2.1.0
}
```
**Tags**: plugin, versioning, git, commit
---
--- ---
## Gotchas ## Gotchas
@@ -39,7 +56,7 @@ Patterns și Gotchas universale, aplicabile tuturor domeniilor.
## Domain Statistics ## Domain Statistics
- **Total Patterns**: 1 - **Total Patterns**: 2
- **Total Gotchas**: 1 - **Total Gotchas**: 1
- **Total Reinforcements**: 0 - **Total Reinforcements**: 0
- **Last Session**: 2026-01-06 - **Last Session**: 2026-01-06