Lessons from real three.js projects
three_lessonsFind cause-and-fix lessons for three.js and react-three-fiber errors using console messages, review rules, topics, or search terms; record whether a lesson helped.
Instructions
Lessons from real three.js and react-three-fiber projects: symptom, cause, fix and how to test it. Pass error with a console or build message to get the lessons that explain it; rule with a review rule id for why it matters; query with words ('textures washed out', 'shadow cut off', 'model invisible'); topic to list one topic; id for one lesson in full. With id and verdict (helped or wrong) it records whether the lesson fit, which ranks lessons on this machine. Lessons you kept with three_lesson_add are included.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "three_lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| rule | No | a review rule id | |
| error | No | a message as it was printed | |
| limit | No | ||
| query | No | ||
| topic | No | ||
| verdict | No | with id: did the lesson fit? |