record_lesson
Save coding lessons with category, summary, evidence, and tags. Persist learned insights to avoid repeating mistakes and maintain conventions.
Instructions
Record a lesson into the persistent store. Returns the new lesson.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Comma-separated tags (no spaces within tags). e.g. 'python,async,timeout'. | |
| summary | Yes | One-line atomic takeaway. Prefers the form 'In <context>, do/avoid X because Y'. Target: ~80 chars. | |
| category | Yes | Lesson category: bug, style, perf, convention, debt, risky, win. | |
| evidence | No | Optional file:line or short quote that triggered the lesson. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||