phaser-analyze
Installation
SKILL.md
Phaser 4 Brownfield Project Analysis
Perform a comprehensive analysis of an existing Phaser 4 project to assess architecture quality, identify performance risks, flag API correctness issues, and produce a prioritized improvement roadmap.
Analysis Process
Follow all five phases in order. Do not skip phases — each builds on the previous.
Phase 1 — Discovery
Gather raw facts about the project before making any judgments.
- Read
package.jsonfor dependencies and Phaser version - Glob for all
.ts/.jsfiles insrc/ - Read
main.tsforGameConfig - Identify all scenes:
grep "extends Phaser.Scene"acrosssrc/ - Map scene graph:
grepforthis.scene.start,this.scene.launch,this.scene.stop - Identify all custom game objects:
grep "extends Phaser.Physics"orgrep "extends Phaser.GameObjects" - Count total source files and lines of code