majidmanzarpour/threejs-game-skills
GamesAgent skills that guide coding assistants through building, polishing, and QA-ing playable Three.js browser games.
This repo is an agent skill pack · 10 skillsSkill list and install →What It Is
This is a pack of ten self-contained agent skills for Codex, Claude Code, and Antigravity that walk a coding agent through producing playable, polished Three.js browser games. Rather than a library, it is packaged guidance: each skill folder holds a SKILL.md, references, helper scripts, and assets. A threejs-game-director skill acts as the entrypoint and routes work to specialists for gameplay systems, AAA-style graphics, VFX, UI, asset generation, audio, debugging/profiling, and QA/release. The pack ships a Vite + TypeScript + Three.js scaffold, a drop-in TypeScript VFX kit, deterministic test hooks, a seeded RNG, and Playwright templates for smoke tests, visual baselines, and bot playtests.
The intended user is someone who wants an agent to build or upgrade a Three.js game and verify the result, not someone looking for a finished game engine. Optional integrations exist for Tripo (3D generation), Gemini (images), and ElevenLabs (audio), but the core workflow does not require paid API keys; when keys are absent the director falls back to procedural/local assets and reports the limitation.
Quick Start
- Install all skills for your agent. For Claude Code:
npx skills add majidmanzarpour/threejs-game-skills --skill '*' -a claude-code -g -y
For Codex, swap -a claude-code for -a codex; for Antigravity use -a antigravity. If your skills CLI lacks a target, clone the repo and run ./install.sh --claude, ./install.sh --codex, ./install.sh --antigravity, or ./install.sh --all. The local installer skips same-named skills unless you pass --force.
- Open your agent in an empty folder or an existing Three.js project, then prompt it, naming the director skill:
Use threejs-game-director to build a premium futuristic tower defense game from scratch.
Automatically use the relevant gameplay, graphics, VFX, UI, asset generation, audio, debug,
and QA skills. Build a playable loop first, then iterate until it passes browser,
mobile, visual, UI, performance, and release checks.
- The agent creates or edits game code in your project and runs verification appropriate to the change. For full games this includes
npm run build, browser console/error checks, Playwright screenshots, nonblank canvas pixel metrics, desktop and mobile viewport checks, and interaction tests. The README also publishes five playable demos, such as Neon Ridge Drift and Starship Dogfight, that show the intended output quality.
Optional API keys are read from TRIPO_API_KEY, GEMINI_API_KEY, and ELEVENLABS_API_KEY; the director's credential probe prints SET/MISSING without revealing values.
Usage Constraints
The skills are built for Codex, Claude Code, and Antigravity and are installed into each agent's global skills directory (~/.claude/skills, ~/.agents/skills, ~/.gemini/config/skills). Background subagents, native async execution, and steering depend on the host runner; where delegation is unavailable the agent works directly. Users are expected to interact through prompts rather than running packaged scaffold or QA helpers directly. The core skills need no paid API key, but generated external 3D, image, and audio assets require the corresponding provider credentials, which should be set in the shell environment and never committed or embedded in browser-side code. The project is MIT licensed.
The pack documents an evidence workflow rather than enforcing it: check_evidence.py --manifest validates a declared capture set and run ID, but the README notes it does not replace visual inspection or gameplay testing, and mocked helper tests do not demonstrate improved visual quality. The manifest reference specifies capture paths and state hooks.
HotRepo's Take
On the Python weekly GitHub list for the snapshot dated 2026-12-04, the repository recorded 3,379 stars and 347 forks with 475 stars gained in the week, reaching position 7. That sustained weekly movement suggests the skill-pack format is drawing attention beyond its early demos. The distinguishing structural choice is the director-plus-specialists layout with a packaged scaffold and a verification pass, which addresses a common failure mode of agent game generation: a static scene that looks done but is not playable. The caveat is that quality claims rest on the pack's own scorecard and evidence helpers; the README explicitly separates passing mocked helper tests from actual visual outcomes.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- op7418/guizang-game-skillA Claude Code/Codex skill that guides AI agents through building a playable 3D browser action game.
- win4r/video-directorA Claude skill that guides coding agents through planning, building and QA-checking code-rendered short videos.
- deqwreew-oss/haruko-waitsA browser-playable 3D first-person psychological anime adventure built with Three.js and WebGL 2, with Russian and English text and voice.
- wesbos/3d-model-anythingTurn an iPhone LiDAR room scan into an editable Three.js scene through an AI coding agent workflow.
- Leonxlnx/athenaionA procedurally generated ancient Greek 3D world in three.js, useful as a reference for code-only scene building and offline rendering.