phaser-init
Installation
SKILL.md
Phaser 4 Project Initialization
Scaffold a new Phaser 4 (v4.0.0-rc.7) project with TypeScript and Vite.
Quick Scaffold (Recommended)
Use the official scaffolder for the fastest setup:
npm create @phaserjs/game@latest
This interactive CLI supports React, Vue, Angular, Svelte, Next.js, SolidJS, and plain TypeScript. For beginners: choose TypeScript + Vite when prompted.
After scaffolding, it installs phaser@beta automatically. Run: