Skip to content
Back to skills

Debug

ASecurity

Use when Godot prints an error or warning (SCRIPT ERROR, Parse Error, 'Invalid access', 'Cannot infer the type', a crash or a black screen), or when a Godot game behaves wrong (falls through a floor, jitters, slides off a moving platform, a node is null, a signal never fires). Finds the cause with Godotwright's lessons from real projects, the 4.7 API and the project map, fixes it, and proves the fix with Godot. Also in Dutch: 'Godot geeft een fout', 'het script laadt niet', 'valt door de vloe...

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsgonodeapi

Works with

  • api

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add laaielichter/Godotwright --skill debug --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Debug?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Debug
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/laaielichter-debug/badge)](https://www.skillsdirectory.com/skills/laaielichter-debug)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: debug
description: "Use when Godot prints an error or warning (SCRIPT ERROR, Parse Error, 'Invalid access', 'Cannot infer the type', a crash or a black screen), or when a Godot game behaves wrong (falls through a floor, jitters, slides off a moving platform, a node is null, a signal never fires). Finds the cause with Godotwright's lessons from real projects, the 4.7 API and the project map, fixes it, and proves the fix with Godot. Also in Dutch: 'Godot geeft een fout', 'het script laadt niet', 'valt door de vloer', 'stuitert op het dek', 'zwart scherm', 'crasht', 'waarom werkt dit niet'."
argument-hint: "[error message, log file or symptom, optional]"
---

# Debug a Godot problem

Find the cause of the problem ($ARGUMENTS, or what the user described), fix it and prove the fix. Do not guess: every
step below answers from the project or from Godot.

1. **Get the exact message.** If the user ran the game from the editor (F5/F6) and saw it go wrong, call
   `godot_logs` first: the errors and warnings of that run from the log file the game writes, with `file:line`, the
   call chain and the lessons; pass its `since` next time for only what is new. Then `godot_doctor` (pass the symptom
   as `symptom`): it runs the review and Godot and puts the most likely cause first. To reproduce at run time, `godot_play` on the scene with the values you
   suspect in `watch`, `until` the moment it goes wrong and `signals` for the order of events. Runtime errors come
   with their call chain: read the callers, not only the line. When the world loads slowly or the state is hard to
   reach, `godot_session` (start) and `godot_game`: step to the moment, `get` the values, `set` one to test an idea;
   edit the script and `reload` it into the running game to try the fix without loading the world again.
2. **Ask the lessons first.** Call `godot_lessons` with the message as `error`. If nothing matches, call it with a few
   words of the symptom ("helicopter bounces on moving deck", "textures shimmer far away", "stutter when streaming").
   A lesson gives symptom, cause, fix and how to test; read the full one with its id.
3. **Read the code that runs.** `godot_scan` for the scene tree, autoloads and input map; `godot_usages` for everything
   that touches the name in the message. Check every engine call on the path with `godot_api`: Godot 3 names, wrong
   argument counts and properties that moved are the usual cause.
   When something falls through, is not hit or a `body_entered` never fires: `godot_collisions` with
   `between: [a, b]` says who detects whom and the mask value that fixes it.
4. **Name the cause in one sentence** before you change anything, in Godot terms (which node, which property, which
   frame or physics tick). If two causes fit, design a check that tells them apart (`godot_play` with `watch`).
5. **Fix the cause, not the symptom.** No `if x == null: return` around a null that should never be null, no lowered
   physics settings to hide a contact bug. Keep the change small and typed. `godot_review` the file (the hook does this
   after every edit when the plugin hooks are on).
6. **Prove it.** Run the same reproduction again (`godot_check`, `godot_play` with `expect`, `godot_test`) and show
   before and after.
   A fix that cannot be shown failing first is not proven. Keep a `godot_play` proof as a regression test with
   `godot_scenario` op `save` (same arguments).
7. **Teach it back.** If the fix took more than one try, keep it with `godot_lesson_add` (general words, the Godot
   message as `error`, no names or code). Rate every lesson you used with `godot_feedback` (`lesson`, verdict `right`
   or `wrong`).

End with: the message, the cause in one sentence, the fix per file, and the proof.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.