What problem does it solve?
This skill eliminates the friction of memorizing the complex Phaser 4 API, preventing common runtime errors like black screens, asset 404s, and physics misconfigurations by enforcing strict TypeScript-first development patterns.
Core Features & Use Cases
- TypeScript-first Implementation: Generates clean, class-based Phaser 4 code including scenes, physics, and input handling.
- API Guardrails: Enforces correct usage of Phaser 4 v4.0.0-rc.7, preventing the use of deprecated v3 APIs and ensuring proper lifecycle management.
- Use Case: Use this skill to implement a complex top-down shooter scene, ensuring that player movement, enemy AI, and collision detection are correctly typed and integrated with the existing project architecture.
Quick Start
Use the phaser-coder skill to implement a new player character class with arcade physics and keyboard movement controls.