원클릭으로
goudengine-debugging
Debugging workflow and diagnostic checklists for GoudEngine runtime via MCP tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Debugging workflow and diagnostic checklists for GoudEngine runtime via MCP tools
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | goudengine-debugging |
| description | Debugging workflow and diagnostic checklists for GoudEngine runtime via MCP tools |
| user-invocable | true |
Use this skill to diagnose runtime issues in a running GoudEngine game through the MCP debugger bridge. The workflow relies on the 20 MCP tools exposed by goudengine-mcp.
Use when a game is exhibiting unexpected behavior at runtime: performance problems, visual glitches, crashes, physics anomalies, or audio issues. The game must have debugger mode enabled and publish_local_attach = true set in its config.
Follow these steps in order. Stop and investigate if any step returns an error.
goudengine.list_contexts to find running debugger routes.goudengine.attach_context with the target contextId and processNonce.goudengine.get_diagnostics to get the full provider diagnostics map. This gives an immediate overview of render, physics, audio, input, sprite batch, assets, and window subsystems.goudengine.capture_frame to get the current framebuffer image plus snapshot and metrics attachments.goudengine.get_subsystem_diagnostics with key render -- check draw_calls and fps.goudengine.get_subsystem_diagnostics with key sprite_batch -- check batch_ratio (draw calls / sprite count). A ratio close to 1.0 means batching is not working.goudengine.record_diagnostics with durationSeconds: 10, sliceCount: 100 -- record 10 seconds of diagnostics and analyze FPS trends across 100 time-slices to identify drops.goudengine.get_metrics_trace -- export the full profiler trace and look for frame time outliers.goudengine.get_snapshot -- check entity count. A very high entity count may indicate leaked entities.goudengine.set_paused to freeze the game, then goudengine.step frame-by-frame to isolate which frame is slow.goudengine.capture_frame -- inspect the framebuffer image for visible artifacts.goudengine.inspect_entity on suspect entities -- check Transform2D, Sprite, Visibility, and GlobalTransform2D components.goudengine.get_scene_hierarchy -- verify parent/child relationships. Transform propagation depends on correct hierarchy.goudengine.get_subsystem_diagnostics with key render -- confirm the correct renderer type is active.goudengine.get_subsystem_diagnostics with key window -- check resolution and DPI.goudengine.get_logs -- retrieve recent engine log entries. Use sinceFrame to narrow to the frame range around the crash.goudengine.get_diagnostics -- check all subsystems for error states or unexpected values.goudengine.get_snapshot -- look for entities with missing or corrupted components.goudengine.set_paused to stabilize it before deeper inspection.goudengine.get_subsystem_diagnostics with key physics_2d -- check body_count, gravity, and step_rate.goudengine.inspect_entity on affected entities -- check RigidBody2D, Collider2D, and Transform2D.goudengine.set_time_scale to slow down physics for observation.goudengine.step with kind Tick to advance physics one tick at a time.goudengine.start_recording before reproducing the issue, then goudengine.stop_recording and goudengine.start_replay to replay deterministically.goudengine.get_subsystem_diagnostics with key audio -- check active_playbacks and master_volume.goudengine.get_logs -- look for audio-related warnings or errors.goudengine.get_diagnostics -- confirm the audio subsystem is initialized.goudengine.get_subsystem_diagnostics with key input -- check which devices are detected.goudengine.inject_input to send synthetic input events and verify the game responds.goudengine.get_logs -- check for input-related warnings.All 20 MCP tools available through the goudengine-mcp server:
| Tool | Purpose |
|---|---|
goudengine.list_contexts | Discover debugger contexts from local processes |
goudengine.attach_context | Attach to a specific route-scoped context |
goudengine.get_snapshot | Fetch current debugger snapshot (entities, selection, frame) |
goudengine.inspect_entity | Get expanded detail for one entity |
goudengine.get_metrics_trace | Export versioned profiler/metrics trace |
goudengine.capture_frame | Capture framebuffer image plus metadata attachments |
goudengine.set_paused | Pause or resume the game loop |
goudengine.set_time_scale | Adjust debugger-owned time scale |
goudengine.step | Advance by N frames or ticks while paused |
goudengine.inject_input | Send synthetic input events |
goudengine.start_recording | Begin input recording |
goudengine.stop_recording | End recording and export replay artifact |
goudengine.start_replay | Start replaying from a stored or base64 recording |
goudengine.stop_replay | Stop an active replay |
goudengine.get_diagnostics | Full provider diagnostics map |
goudengine.get_subsystem_diagnostics | Diagnostics for one subsystem key |
goudengine.get_logs | Recent engine log entries, optionally filtered by frame |
goudengine.get_scene_hierarchy | Entity tree with parent/child relationships |
goudengine.record_diagnostics | Record diagnostics for a duration, return time-sliced aggregates |
goudengine.get_diagnostics_recording | Retrieve previously recorded diagnostics as time-sliced data |
DebuggerConfig or ContextConfig).publish_local_attach must be true for the route to be discoverable.goudengine-mcp server binary must be built: cargo build -p goudengine-mcp.Pick the fastest build/verify command for the change at hand, from cargo check to the full verify gate
Run and troubleshoot the SDK code generation pipeline (./codegen.sh) and the generated-artifact drift gate
How versioning and releases work via release-please, version.txt, and the version pins across the workspace
Build and debug the WASM browser target and the TypeScript web SDK, including the wasm-pack path and the debugger WebSocket relay
Dependency flow audit and layer validation for GoudEngine's 5-layer hierarchy
Discover and list available skills in the repository