Use this skill when creating Sprites or Images in Phaser 4. Covers factory methods, texture/frame selection, position, scale, rotation, tint, flip, alpha, origin, depth, and the component mixin system. Triggers on: Sprite, Image, this.add.sprite, this.add.image, texture, setTint, setAlpha.
Install
npx skills add phaserjs/phaser --skill sprites-and-imagesnpx skills add phaserjs/phaser --skill sprites-and-images -a claude-code -gnpx skills add phaserjs/phaser --skill sprites-and-images -a codex -ggemini skills install https://github.com/phaserjs/phaser.git --path skills/sprites-and-imagesgh skill install phaserjs/phaser sprites-and-imagesgit clone --depth 1 https://github.com/phaserjs/phaser /tmp/phaserjs__phaser
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/phaserjs__phaser/skills/sprites-and-images ~/.claude/skills/sprites-and-images # Claude Code
cp -R /tmp/phaserjs__phaser/skills/sprites-and-images ~/.agents/skills/sprites-and-images # Codex, Cursor, Gemini CLI, Copilot, OpenCode