/forgewright:phaser4-engineerfrom forgewright
Builds and maintains Phaser 4 2D browser games with Arcade/Matter physics, sprite animation, responsive canvas input, and scene lifecycle management.
Ships in forgewright. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
[email protected], reference pin 4.2.1) 2D browser game architecture, thin Scenes, Arcade/Matter physics integration, sprite-atlas animation, Beam renderer Filters/RenderNodes, responsive input mapping, and lifecycle cleanup.phaser3-engineer), 3D WebGL/WebGPU scenes (threejs-engineer), GDD/economy design (game-designer), or standalone art direction (art-director).Inspect package/lockfile and current project conventions. The local reference fixture pins Phaser 4.2.1; API documentation may describe a different patch. Compile examples against the actual pin. New 2D browser work defaults here; new 3D goes to threejs-engineer. Existing v3 work stays with phaser3-engineer until an explicit migration plan is approved.
Consume the existing studio handoff and approved visual basis. Keep gameplay rules and serializable state outside Scene rendering. Prototype code may test one recorded hypothesis with labeled temporary art; it cannot certify production artwork or advance a production gate.
Use a thin boot/preload and gameplay Scene, with stable asset keys and one input-to-action boundary. Phaser owns physics velocity integration: do not multiply Arcade velocity by delta again. Use fixed steps for deterministic rules where appropriate. Pool measured high-frequency entities, reset their physics bodies on reuse, and preserve a bounded ownership contract.
Map each required screen/state to its wireframe, concept, component and asset. Production sprites need shared frame size/anchor/scale and named animation keys; inspect at actual camera scale. UI should preserve the playfield and use the project's Style DNA. DOM controls suit text-heavy responsive menus; NineSlice suits stretchable texture panels where supported by the pinned engine. Art sheets alone do not prove a working UI kit.
Menus own input focus; pause gameplay when required and restore focus/control deliberately. Restart must not duplicate handlers. Remove exact owned listener functions, timers and tweens on shutdown; destroy owned resources once, preserve borrowed resources.
For affected feel actions consume the designer's action card. Trace public pointer coordinates through canvas/camera/board mapping after resize, preview versus commit/cancel, input queue/expiry and control recovery. Keep state authority outside tween completion. Phaser 4.2.1's game-step delta may be smoothed; distinguish it from rawDelta when inspecting frame pacing, convert milliseconds to seconds only at a boundary that needs seconds, and do not multiply physics velocity twice. Follow the existing pause/large-gap policy; raw frame timing alone cannot measure physical input-to-photon latency.
Compile the fixture and extracted examples against the locked package. Test rules at their lowest reliable layer, then use public keyboard/touch input plus rendered screenshots for a full boot/play/win-or-loss/retry/pause journey. Compare protected reference mechanics separately from an approved ProductDelta; images and green unit tests do not prove improved fun.
Use runGameTest/createGameBrowser and the existing admission governor before server/browser effects. Reuse a page, close owned resources, and retain UNVERIFIED when pressure telemetry or cleanup proof is missing. No emulator is required for browser-game testing.
this.load.atlas / this.load.aseprite) or uniform spritesheets with locked bottom-center foot anchors and 1–2px extruded bleed padding; validate pixel-level pivot drift, loop seams, and alpha bleed via python3 scripts/art-direction/sprite-anim-qc.py.this.anims.exists(key) guard), cancel pending delayed timers/tweens on state interrupt or SHUTDOWN, and never grant damage/rewards inside ANIMATION_COMPLETE callbacks (presentation observes committed gameplay events).ParticleEmitter / sprite-burst objects with explicit active admission caps separate from pool retention, clear trails on recycle, and use Phaser 4 Beam renderer Filters / RenderNodes (not legacy Phaser 3 PostFXPipeline classes) after verifying the pinned [email protected] exports.PostFXPipeline imports, double-delta Arcade velocity scaling, reward grants coupled to ANIMATION_COMPLETE/tweens, unguarded animation re-registration, or leaked listeners/timers on SHUTDOWN.VERIFY.md Schema v2 evidence (tsc/build, unit/lifecycle checks, sprite-anim-qc.py when sprites change, and runGameTest/createGameBrowser rendered evidence); mark missing pressure telemetry or cleanup proof UNVERIFIED.References: studio, UI kit, game animation, game VFX, version-pinned pilot, Phaser release.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
phaser4, game-development, 2d-games, browser-games, sprite-animation
npx claudepluginhub buiphucminhtam/forgewright --plugin forgewright93 skills in this plugin
/3d-spatial-engineerUse for 3D spatial layouts, scene-graph coordinate transforms, greybox blockouts, culling volumes, static batching, and LOD optimization across 3D game engines./accessibility-engineerUse for web WCAG 2.1/2.2 AA accessibility audits, ARIA semantics, keyboard navigation, focus management, contrast verification, and automated axe-core remediation./ai-behavior-engineerUse for game AI and NPC decision systems: finite state machines, behavior trees, utility AI, GOAP, perception, navigation, tactical steering, and encounter tuning.Other plugins' skills for the same job