phaser-architect
Installation
SKILL.md
Phaser 4 Architecture
Use this skill to produce maintainable Phaser 4 architecture before coding or during a brownfield architecture review.
Workflow
- Read the project context first. If
docs/GDD.mdexists, use it as the requirements source. For existing projects, inspectsrc/main.ts,src/scenes/,src/objects/, and shared type files before proposing changes. - Identify the genre, core loop, target platform, physics mode, scene count, and state boundaries. Ask one targeted question if those choices are unclear.
- Recommend one concrete architecture with a short rationale.
- Define the scene graph, module layout, shared type files, registry/event keys, asset loading plan, and phased implementation order.
- Include a complete typed
Phaser.Types.Core.GameConfigwhen planning a new project. - Flag Phaser 4 migration risks early, especially removed Phaser 3 APIs.
Output Shape
For greenfield work, return: