Phaser 4 Agent Skills
Official skills that teach AI agents the Phaser 4 API

- Best for
- Web game developers using Claude Code, Cursor or Codex on Phaser 4 games, especially when porting from Phaser 3
- Makes
- Correct Phaser 4 game code: an agent loads the skill for each part of the engine it's working on
- Made by
- Phaser Studio Inc.
- Where you use it
- CLI
- Engines
- Phaser
- Pricing
- Free and open source (MIT), part of the Phaser repository
- Free plan
- Yes
- Open source
- Yes (MIT)
- Export
- The skills are plain SKILL.md files; the code your agent writes is ordinary Phaser 4 JavaScript or TypeScript in your own project.
- Status
- Available
Phaser 4 Agent Skills is a set of 31 skills in the official Phaser repository that teach AI coding agents how to write Phaser 4 code. Phaser is a free, open-source 2D game engine for the browser, made by Phaser Studio; its GitHub repository had 40,883 stars on December 3, 2026. Each skill is a SKILL.md file in the Agent Skills format, with a short description that tells the agent when to load it, plus the rules, common traps and exact API names for one part of the engine.
According to the skills README, agents should start with phaser4-core, which lists the Phaser 3 habits that break in version 4 (removed features such as preFX, postFX and pipelines, for example) and says which skill to load for each task. Others cover scenes, sprites, text, particles, tweens, cameras, input, Arcade and Matter physics, tilemaps, lighting, filters and post effects, and a full Phaser 3 to 4 migration guide. In Claude Code you copy the folders you want into .claude/skills; other agents can be pointed at the folder.
The skills were first added to the repository on March 25, 2026, and were last updated on December 3. A December 3 post on X by 宋宋 (@songsong) drew attention to them alongside Phaser 4's small download size. AIGamer hasn't tested them.
Limitation: They cover Phaser 4 only, and are checked against Phaser 4.3.0, which wasn't on npm yet on December 3, 2026 (the latest release was 4.2.1). The README says they ship in the npm package, but the 4.2.1 package doesn't include them, so for now you copy them from GitHub.
FAQ
What are the Phaser 4 Agent Skills?
A set of official SKILL.md files in the Phaser GitHub repository that teach AI coding agents the Phaser 4 API, one part of the engine per skill, starting with a core skill that maps out the rest.
Do the Phaser skills work with Claude Code and Codex?
Yes. The README names Claude Code, Cursor and Codex. In Claude Code you copy skill folders into .claude/skills; for other agents you point them at the skills folder and tell them to read phaser4-core first.
Can the Phaser skills help port a Phaser 3 game?
There's a v3-to-v4-migration skill that lists every removed or renamed API and its Phaser 4 replacement, and phaser4-core warns the agent off Phaser 3 habits that no longer work.
Are the Phaser skills in the npm package?
The README says they ship in the npm package under node_modules/phaser/skills, but the latest release on npm, 4.2.1, didn't include them when we checked on December 3, 2026. Copy them from GitHub until a newer release ships.
Sources
Compiled by AIGamer from Phaser 4 Agent Skills's own pages and the sources below, checked 3 December 2026. We haven't tested Phaser 4 Agent Skills hands-on.
- Phaser on GitHub: skills/README.md (how to use the skills, the full list, Phaser 4.3.0 version note)
- Phaser on GitHub: phaser4-core SKILL.md (core rules and removed Phaser 3 APIs)
- npm: phaser package (latest version 4.2.1, released July 9, 2026)
- 宋宋 (@songsong) on X: Post about Phaser 4 and its built-in skills/ folder for Claude Code and Codex, December 3, 2026 (in Chinese)
Image: Phaser Studio (phaserjs/phaser on GitHub)
Written in our own words; quotes are marked and credited. How we report