npx skills add https://github.com/melonjs/melonJS/tree/master/packages/melonjs/skillsRun it in a terminal, then start a new agent session so the skill loads. Read the repo's README and scripts before you install: skills run with your agent's permissions.
What it does
melonJS is a free, open-source HTML5 game engine for 2D, 2.5D and 3D games that renders with WebGPU, WebGL 2 or Canvas. Its main repository ships 25 agent skills inside the engine package, so the skills are versioned with each release and a copy matching your installed version sits in node_modules/melonjs/skills/. The star count shown is for the whole melonJS repository, since the skills live inside it.
One router skill points the agent to the right guide for the task instead of loading all of them. The guides cover getting started, renderables, sprites and animation, physics, input, tilemaps, audio, scenes and state, UI and text, particles and trails, cameras and drawing, lighting, effects and shaders, 3D and 3D assets, math, events, plugins, loading assets, renderer backends, display and scaling, performance and deployment. Each one ends with a symptom-to-cause table aimed at mistakes that fail silently rather than throwing an error, plus a migration skill for moving to melonJS 20.
The repo also includes a Claude Code plugin marketplace that registers the same 25 skills, and an AGENTS.md template you copy into your game's project root for Codex, Cursor, Gemini CLI and other agents that read that file. For anything the skills don't cover, the README points agents to an llms.txt index of the full API.
Features
- Official skills from the melonJS team, versioned with each engine release
- 25 skills with a router that picks the right guide for the task
- Symptom-to-cause tables for bugs that fail silently
- Covers 2D, 2.5D and 3D, from tilemaps and physics to lighting and shaders
- Migration skill for moving a game to melonJS 20
- Claude Code plugin plus an AGENTS.md template for other agents
Limits
- Only useful for games built with melonJS
- Written for melonJS 20.x; older projects need the migration skill first
- Stars are for the whole melonJS repo