web-games
Skill by sickn33
Guides an AI assistant through browser game development, including framework selection, WebGPU adoption, performance, PWA setup and audio unlock. It is for developers building HTML5, WebGL or WebGPU games.
Install web-games
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/game-development/web-games ~/.claude/skills/web-gamesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/game-development/web-games ~/.gemini/antigravity-cli/skills/web-gamesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an agent skill that gives browser game development guidance. It includes a decision tree for choosing a 2D or 3D runtime, covering Phaser 4, Kaplay, PixiJS 8, raw Canvas or WebGL, Three.js and Babylon.js. It also covers hybrid setups where HTML handles menus and a canvas guest runs gameplay inside a region.
The skill adds notes on WebGPU with a WebGL fallback, browser constraints, optimization priorities, asset formats such as KTX2, WebM/Opus and glTF, PWA considerations and Web Audio handling. It states that WebGPU availability depends on browser, OS, driver and secure context. It is aimed at developers building HTML5, WebGL or WebGPU games or choosing a browser runtime.
Written from the project's SKILL.md and checked against it.
What it can do
- Framework selectionHelps choose between Phaser, PixiJS, Kaplay, Canvas/WebGL, Three.js and Babylon.js using a decision tree.
- Hybrid DOM and canvasDescribes mounting a canvas guest inside an HTML shell and tearing it down after results are returned.
- WebGPU adoptionAdvises WebGPU with WebGL fallback and feature detection through navigator.gpu and requestAdapter.
- Performance principlesLists optimization priorities such as asset compression, lazy loading, object pooling and Web Workers.
- Asset strategyRecommends formats for textures, audio and 3D models, plus load phases for startup, gameplay and background.
- PWA for gamesExplains offline play, installation and the need to test cache updates and offline recovery.
- Audio handlingCovers creating or resuming AudioContext on user input and reusing decoded AudioBuffers.
- Anti-patternsLists common mistakes such as loading all assets upfront and ignoring tab visibility.
Try asking
- Which 2D framework should I use for a small HTML5 platformer game?
- Show me how to add WebGPU with a WebGL fallback to my game
- How do I unlock Web Audio after the first user click in my browser game?
Good to know
- Use only when the task clearly matches the browser game scope described.
- Not a substitute for environment-specific validation, testing or expert review.
- WebGPU support depends on browser version, OS, adapter, driver and secure context.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/game-development/web-games/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to web-games
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
web-games: common questions
Which browser game framework does this skill recommend?
The skill gives a decision tree rather than one pick. It lists Phaser 4 for full 2D game features, Kaplay for fast prototypes, PixiJS 8 for raw rendering, and Babylon.js or Three.js for 3D.
Does this skill cover WebGPU?
Yes. It advises using WebGPU with a WebGL fallback for new GPU-heavy projects and says support depends on browser, OS, driver and secure context.
Does installing a PWA give offline gameplay?
No. The skill says installation alone does not provide offline gameplay, so cache and offline recovery must be implemented and tested.
How do I install web-games?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is web-games free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is web-games safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to web-games?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
