phaser-debugger
Installation
SKILL.md
Phaser 4 Debugger
Use this skill to diagnose and fix Phaser 4 issues from evidence rather than guessing.
Workflow
- Collect the exact symptom, error text, stack trace, browser/device context, and reproduction steps when available.
- Read the relevant code before editing. For black screens, inspect
src/main.ts, scene registration, scene transitions, preload paths, and browser console/network errors. - Trace likely root causes using Phaser lifecycle order: config, preload, create, update, asset keys, physics body creation, collisions, input, scene start/stop state, and rendering depth.
- Make the smallest fix that addresses the root cause.
- Verify with
npx tsc --noEmitfor TypeScript projects and, when practical, a local dev-server smoke test.