Skip to main content
skill CX Codex

phaser-gamedev — Claude Code skill for Phaser 3 games

This skill guides an agent building 2D games with Phaser 3, from scene structure to sprites and physics. Use it when adding gameplay systems or shaping a new game project.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add chongdashu/phaserjs-tinyswords --skill phaser-gamedev -a claude-code
Open on GitHub

What phaser-gamedev does

The skill covers structuring a game around scenes and passing state between them. Its guidance includes scene lifecycle methods, asset loading, game objects, animations, input, and tilemaps. That structure helps when gameplay logic needs to live in distinct parts of a project.

For collisions, it discusses Arcade and Matter physics. Arcade fits straightforward 2D interactions; Matter is aimed at more realistic behavior. The examples also cover physics groups, collisions, and overlap handling. Choose the physics system before writing collision logic, since that decision shapes how those interactions work.

The material also addresses frame-rate-independent updates and referencing loaded assets by key. Examples use JavaScript and the Phaser 3 API. This is guidance for an agent working on a game, not a finished game project.

What it helps with

  • organize game logic into scenes
  • add physics bodies and collisions to sprites
  • pass data between scenes
  • handle keyboard input in the game loop
  • choose a physics system for 2D gameplay

Example prompts for the agent

  • Create menu, level, and game-over scenes for my Phaser 3 game.
  • Give the player Arcade physics and add collisions with platforms.
  • Pass the player's score to the game-over scene when the level ends.

How to install phaser-gamedev

1Skills CLI (Vercel)

npx skills add chongdashu/phaserjs-tinyswords --skill phaser-gamedev -a claude-code

2Manually: put the files in place

~/.claude/skills/phaser-gamedev/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/phaser-gamedev/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about phaser-gamedev

How do I install phaser-gamedev in Claude Code?

Run npx skills add chongdashu/phaserjs-tinyswords --skill phaser-gamedev -a claude-code. The skill file is at ~/.claude/skills/phaser-gamedev/SKILL.md.

What does phaser-gamedev do?

It guides an agent through Phaser 3 game development, including scene design, sprites, physics, input handling, and the game loop.

When should I use Arcade physics instead of Matter?

The skill positions Arcade for straightforward collisions in typical 2D gameplay and Matter for more realistic physics. Pick the system before implementing collision behavior.

Similar skills

All skills for Game dev and 3D: Unity, Unreal, Godot, Blender →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor