phaser-architect
This skill should be used when the user asks to design a Phaser 4 game, plan game architecture, structure scenes, organize game state, define scene flow, choose module boundaries, or review/refactor an existing Phaser project architecture before implementation.
How do I install this agent skill?
npx skills add https://github.com/yakoub-ai/phaser4-gamedev --skill phaser-architectIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is generally safe to use for designing and planning Phaser 4 game architectures. It presents a standard indirect prompt injection attack surface by processing external game design documents and source code files without explicit delimiters, and outlines a command execution pattern for playtesting.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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:
- Scene flow diagram
GameConfig- Directory/module layout
- Shared constants/types to create first
- State management plan
- Asset pipeline plan
- Phased implementation plan with build checkpoints
For brownfield work, return:
- Current architecture summary
- Main risks or sources of coupling
- Minimal migration/refactor plan
- Files likely to change
- Verification steps
Full Guidance
For the detailed architecture playbook, read references/agent-guidance.md. It is copied from the Claude subagent definition but should be applied as a portable skill; ignore Claude-only fields such as model, color, and tools.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/yakoub-ai/phaser4-gamedev/phaser-architect">View phaser-architect on skillZs</a>