Lessons from real Godot projects
godot_lessonsFind real Godot 4 lessons by query, error, rule, topic, or gaps to diagnose what went wrong, get the fix, and test it before building moving platforms, vehicles, worlds, shaders, or headless tests.
Instructions
Answer from lessons learned in real Godot 4 projects and on this machine: what went wrong, why, the fix and how to test it. Find them by query (words such as 'helicopter slides off moving ship', or a lesson id), error (a Godot message as printed), rule (a review or model rule), or narrow by topic (gdscript, physics, rendering, import, models, world, performance, gameplay, ui, audio, tooling, process); with none of them it lists the lessons. gaps: true lists the Godot errors seen here (and by other installs) that no rule predicts and no lesson explains yet. Use it when Godot shows an error you do not understand, and before you build moving platforms, vehicles, ships, large worlds, runtime-loaded models, shaders or headless tests. detail brief gives title and fix; full adds symptom, cause, test, rules and the message. Lessons learned here are marked. It counts shown lessons in the local learning file (GODOTWRIGHT_LEARN=0 turns that off); say whether one helped with godot_feedback (lesson).
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": "godot_lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | No | list what Godotwright cannot predict yet instead of lessons | |
| rule | No | a rule id from godot_review or godot_model_lint, e.g. api/infer-variant | |
| error | No | a Godot error or warning message, as printed | |
| limit | No | max lessons (default 5; 20 when listing) | |
| query | No | words, or a lesson id | |
| topic | No | only lessons of this topic | |
| detail | No | brief (capped lists) or full (everything); default full |