nexo_learning_add
Capture a resolved error, pattern, or gotcha as a learning with title, category, and full context, and optionally set prevention rules and review schedule to avoid repetition.
Instructions
Add a new learning (resolved error, pattern, gotcha).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | Free-form category name (e.g., 'backend', 'frontend', 'devops', 'infrastructure', 'security'). Use consistent names across learnings. | |
| title | Yes | Short title for the learning. | |
| content | Yes | Full description with context and solution. | |
| reasoning | No | WHY this matters — what led to discovering this (optional). | |
| prevention | No | Concrete rule/check that prevents repeating this mistake (optional). | |
| applies_to | No | Files, systems, or areas this learning applies to (optional). | |
| review_days | No | Days until this learning should be reviewed again (default 30). | |
| priority | No | critical, high, medium, low (default: medium). Critical/high never decay below floor. | medium |
| supersedes_id | No | Existing learning ID this new canonical rule replaces (optional). |