Claude Code, Cursor & GitHub Copilot CLI skill

Describe the game. Get the file.

H5 Game Builder is an installable skill that turns a one-line idea into a mobile-first HTML5 game — a single .html file with 2D Phaser or 3D Three.js gameplay, art, audio, and levels. No build step, no server, and no game ships without passing its own lint and QA checks first.

npx @krackzzz/h5-game-builder@latest

What you get

The same defaults on every build, not a scaffold you have to finish yourself.

01

Single-file output

One .html holding all code, styling, levels, and embedded assets. Open by double-clicking — no server, no build step.

02

2D & 3D templates

Golden templates for Phaser 2D and Three.js 3D, so gameplay code starts from a proven chassis instead of a blank file.

03

Standard home & flow

A consistent home shell, settings, pause, level-complete, win, and game-over screens wired the same way in every build.

04

Themed audio

A music + SFX engine keyed to the game's aesthetic, with an SFX hook on every core-loop event.

05

Mandatory QA gate

A lint pass plus a browser auto-QA harness must pass before a game is considered done — not just "looks right".

06

Mobile-first by default

Every layout is built and checked against small phone viewports first, desktop second.

How it works

Install the skill with one command — it registers itself with Claude Code, Cursor, and/or GitHub Copilot CLI.

Describe the game in a sentence. No special syntax needed — genre, mechanic, or vibe is enough.

The skill designs and builds it — core loop, art direction, levels, audio, and UI — from a golden template.

It self-checks with lint and an automated browser playtest before handing back a finished file.

Example prompts:

build a flappy bird clone
make a match-3 with a candy theme
create a runner where I dodge cars
build a 3D ball-rolling game with 5 levels

Requirements

Node.js 16+, Bash, and Python 3. Core workflow supports macOS and Linux; reference-image matching additionally needs macOS (sips).