godot-debugging-profiling
БесплатноЗапускает вложенные скриптыНе проверенExpert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
NEVER Do
- NEVER use
print()without descriptive context —print(value)is useless. Useprint("Player health:", health)with labels. - NEVER leave debug prints in release builds — Wrap in
if OS.is_debug_build()or use custom DEBUG const. Prints slow down release. - NEVER ignore
push_warning()messages — Warnings indicate potential bugs (null refs, deprecated APIs). Fix them before they become errors. - NEVER use
assert()for runtime validation in release — Asserts are disabled in release builds. Useif not condition: push_error()for runtime checks. - NEVER profile in debug mode — Debug builds are 5-10x slower. Always profile with release exports or
--releaseflag. - NEVER assume
Engine.capture_script_backtraces(true)is cheap — Capturing locals allocates significant memory and can prevent objects from being deallocated, causing artificial leaks [19]. - NEVER call
push_error()orprint()inside a customLogger._log_messageoverride — This causes infinite recursion and crashes as the logger intercepts its own output [20]. - NEVER leave the Visual Profiler running during gameplay tests — Continuous polling degrades framerates significantly, invalidating actual performance metrics [21].
- NEVER rely on
OS.get_ticks_msec()for microbenchmarking — Milliseconds lack precision for logic timing; ALWAYS useTime.get_ticks_usec()for microsecond precision [22]. - NEVER assume
OBJECT_ORPHAN_NODE_COUNTworks in production — This monitor is strictly debug-only; it safely returns 0 in release builds, potentially hiding leaks [23]. - NEVER benchmark with V-Sync enabled — V-Sync throttles metrics to the monitor refresh rate, masking the true CPU/GPU processing overhead [24].
- NEVER leave
print_stack()orprint_debug()in release builds — These are often stripped or useless outside the debugger. Use structured logging for production [25]. - NEVER strip debugging symbols if using external C++ profilers — Stripping destroys call stack readability for external tools like Perfetto or VerySleepy [26].
- NEVER forget to unregister an
EditorDebuggerPluginin_exit_tree()— Failing to clean up leaves "ghost" connections in the engine's debugging loop [27]. - NEVER trust the Visual Profiler on macOS when using the Compatibility renderer — Platform-specific driver limitations severely restrict OpenGL profiling accuracy on macOS [28].
Symptom → Monitor → Script
MANDATORY for the matching row. Do NOT Load every debug script for one bug.
| Symptom | Monitor / API | Script |
|---|---|---|
| Nodes removed but RAM climbs | OBJECT_ORPHAN_NODE_COUNT (debug) |
MANDATORY orphan_node_detector.gd |
| ObjectDB / instance growth | custom monitors + dump | memory_usage_threshold_alert.gd, scene_tree_dump.gd |
| GPU / overdraw mystery | Visual Profiler (briefly) | Pair with perf skill; use performance_plotter.gd for trends — do not leave Visual Profiler on |
| Flaky headless / CI exit | exit codes + asserts | MANDATORY automated_qa_suite.gd, push_error_safe_exit.gd |
| Microbenchmark lies | Time.get_ticks_usec |
MANDATORY high_precision_benchmarker.gd |
| Crash needs locals | backtraces (debug only) | advanced_backtrace_recorder.gd, stack_trace_logger.gd |
| Engine errors to backend | Logger intercept | engine_error_interceptor.gd — never print inside Logger |
| Custom Debugger metrics | Monitors tab | custom_editor_monitor.gd, debugger_tab_plugin.gd |
| Mobile/console no stdout | in-game console | remote_debug_console.gd, debug_overlay.gd (debug builds only) |
| Thread races / log corruption | mutex logger / asserts | thread_safe_logger.gd, thread_safety_assert.gd |
| Invisible logic (AI/physics) | debug draw / gizmos | custom_debug_draw.gd, property_watcher_gizmo.gd |
| Conditional halt | hardcoded break | break_on_condition.gd |
| Editor vs runtime paths | Engine.is_editor_hint |
engine_editor_hint_logic.gd |
Available Scripts (full catalog)
Leaks & memory
Timing & QA
- [high_precision_benchmarker
Установить godot-debugging-profiling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-debugging-profiling?
Expert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not print/breakpoint tutorials. Trigger on OBJECT_ORPHAN_NODE_COUNT, ObjectDB growth, Visual Profiler GPU spikes, flaky headless exits, or remote device consoles. Keywords: orphan nodes, Performance.get_monitor, Visual Profiler, Time.get_ticks_usec, EditorDebuggerPlugin, headless QA, push_error, backtrace.
Как установить скилл godot-debugging-profiling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-debugging-profiling запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub