Command Palette

Search for a command to run...

Назад к скиллам
скилл № 06498

troubleshoot

Diagnose Windows game runtime, controller, GPU, and capture failures using lessons from native GDK, 3D, WebXR, and software-rendered game demos.

БесплатноБез исполняемых скриптов
CognitionAIот CognitionAI★ 42 звезды на GitHub

Установить troubleshoot в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Troubleshoot games on Windows development machines

Use this after a build fails to launch, a capability behaves differently on a VM, or a demo needs verification. Record the OS, build/configuration, SDK edition, target, requested capability, and available devices. Change one thing at a time and rerun the smallest check that can confirm the fix.

Start here Check next What a pass proves
The native Windows GDK executable links but won't start Check the exact loader error or XGameRuntimeInitialize result. Compare the executable's architecture, package layout, and staged runtime dependencies to the installed GDK edition. Windows process startup and local game runtime initialization, not Xbox services sign-in.
Keyboard works but the controller doesn't Record the result from GameInputCreate and test actual connect, input and disconnect. A controller path only if a physical controller delivers input.
A discrete GPU is listed but the game is slow On NVIDIA hosts, use nvidia-smi -L to see whether the driver detects the device. Check the adapter the game uses (Direct3D adapter name or browser WebGL renderer), then measure utilization during the actual workload. Hardware use only if the runtime selects the expected adapter; a listed GPU alone is not evidence.
A Windows desktop WebXR test passes Check which runtime and devices were real versus emulated. Keep any emulator setup isolated to a test profile or test page. XR API and controller-flow behavior in simulation; not headset tracking, comfort, or performance.

Four lessons from game demos

  1. Native GDK game: One local, unpackaged desktop sample initialized after staging xgameruntime.dll and xgameruntime.thunks.dll from its matching GDK edition next to the executable. Check the project's deployment rules before applying that fix; don't copy DLLs from another edition or redistribute them from a debug build. On that Windows Server 2022 VM, GameInputCreate returned 0x80004001 (E_NOTIMPL) even though runtime initialization passed. A keyboard fallback kept the gameplay loop testable, but controller support remained unverified. Retest on a supported Windows client with real hardware.
  2. GPU-rendered 3D game: A VM can have a GPU attached but use a software adapter until its signed driver is active. Use the machine or cloud provider's documented driver procedure with approval. Recheck the application's adapter after launch rather than treating installation success as hardware acceleration. Record timing from gameplay, not from the encoded video.
  3. WebXR game: Check session start, controller selection, and the first in-game action with the test emulator; label that result as simulated. Repeat those checks on a physical headset before claiming headset support.
  4. Software-rendered arcade game: When a virtual display cannot capture the requested resolution, render frames offscreen at that resolution and encode them separately. A verified 4K/60 video is not a 60 FPS gameplay benchmark. Play the interactive build separately and reproduce the same first goal or score change.

Graphics and gameplay regressions

Symptom Smallest useful test
A native Direct3D or browser run silently falls back Log the native DXGI adapter or inspect Chrome's WebGL renderer on the same run. Microsoft Basic Render Driver/WARP or SwiftShader is software even when the VM inventory includes a T4. When the task requires hardware acceleration, fail the hardware check rather than accepting the fallback; a software run can still check basic gameplay.
Chrome reports a Direct3D backend Label the build WebGL in Chrome. ANGLE can translate WebGL to Direct3D on the GPU; that isn't evidence that a native DirectX executable was built or ran. Use a native build and a device/adapter check for that claim.
FPS is steady, but frames soften under load Check whether adaptive resolution reduced the internal render scale. Replay the same scene with scale logged and compare against a fixed-scale run; report frame time and scale along with output dimensions. A full-resolution export can still contain reduced-resolution game frames.
The chase camera clips through geometry after a scene swap Reproduce the exact transition, not just a fresh launch into the destination. Reset camera smoothing and previous pose when the player respawns or teleports, then recompute the camera against the new scene's collision geometry. Check the first frame, the first turn and a tight obstacle; verify in each target framing.

Report the result

Separate build, interactive gameplay, input/device, rendering, services, and target deployment results. xbox info demonstrates local CLI availability, not a configured sandbox, a GDK build, or Xbox hardware. A public PC GDK run, an unsigned Developer Mode package, and a console GDKX run are different results; report only the target

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл troubleshoot?

Diagnose Windows game runtime, controller, GPU, and capture failures using lessons from native GDK, 3D, WebXR, and software-rendered game demos.

Как установить скилл troubleshoot?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл troubleshoot запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить troubleshoot с