dibs_lesson_add
Record coding gotchas, conventions, and fixes in markdown files under .dibs/lessons/. Persist them with git so future agents learn from past mistakes.
Instructions
Save a lesson for future agents as a markdown file under .dibs/lessons/ (committed with the repo, shared via git). Record gotchas, conventions, and hard-won fixes — not routine work logs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"body": "<body>"
},
"name": "dibs_lesson_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | the lesson itself: the gotcha, the fix, the context a future agent needs | |
| tags | No | optional topic tags like auth, migrations, ci | |
| title | Yes | one-line summary of the lesson, e.g. 'rate-limit middleware must register after auth' |