Skip to main content
WEB
Starter kitFreeBy GameSkill · tuned

Three.js Game Skills

Nine Agent Skills for Codex and Claude Code that build playable Three.js browser games, with a director skill, a Vite scaffold and Playwright QA.

License
MIT
By
By GameSkill
Download ZIP

Tested by GameSkill

23/23 checks passed on Three.js 0.184 + Vite 8 (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

What the AI learns

Build, upgrade and finish Three.js browser games, with a director skill that routes to sibling skills for gameplay, graphics, UI, assets, audio, debugging and release.

When it triggers

When you name threejs-game-director in a prompt (/threejs-game-director in Claude Code, $threejs-game-director in Codex) for any request to build, upgrade, polish or ship a Three.js game.

Example result

A playable Vite/TypeScript/Three.js game in your project, checked with a production build, browser screenshots and desktop and mobile viewports.

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 8286774b22a2, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

License: based on majidmanzarpour/threejs-game-skills by majidmanzarpour, under MIT. The ZIP keeps the license files (LICENSE) and lists everything GameSkill added in CHANGES.md.

Three.js Game Skills

Self-check

  • 从 threejs-game-director 开始,按任务交给对应的子 skill / Start from threejs-game-director and hand work to the matching sub-skill
  • 新游戏用 create_threejs_game.py 生成脚手架,再 npm install / Start a new game with create_threejs_game.py, then npm install
  • 改完画面先跑画布检查器,空白画布或超预算会直接失败 / Run the canvas inspector after visual changes; a blank canvas or a budget overrun fails
  • 软件渲染下的帧率不能当真 / Frame rates measured on software rendering do not count
  • 付费生成(Tripo、Gemini、ElevenLabs)先查密钥,不把密钥写进代码 / Check keys before paid generation (Tripo, Gemini, ElevenLabs) and never put keys in code

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/threejs-game-skills/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/threejs-game-skills.zip -o /tmp/gameskill-threejs-game-skills.zip
unzip -oq /tmp/gameskill-threejs-game-skills.zip -d .claude/skills
rm /tmp/gameskill-threejs-game-skills.zip

How to use

Prompt 1
Use threejs-game-director to build a premium futuristic tower defense game from scratch.
Automatically use the relevant gameplay, graphics, 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.
Prompt 2
Use threejs-game-director to upgrade this Three.js game from prototype visuals to
premium browser-game quality. Use the AAA graphics, UI, image, 3D, audio, debug,
and QA skills as needed. Include the visual scorecard and evidence from active-play
screenshots.
Prompt 3
Use threejs-game-director to debug and finish this Three.js game. First get it running,
then improve gameplay feel, UI, graphics, performance, and release verification until
the remaining risks are explicit.

What you should get (per the author's docs)

Per the README, the agent loads the director first, pulls in sibling skills as needed, creates or updates the game code and runs checks such as npm run build, a local browser run, Playwright screenshots and canvas pixel checks. Premium claims should rest on an active playable loop and a filled visual scorecard, not a static scene.

What you get

  • threejs-game-director, which sends each part of the work to the right specialist skill
  • Skills for gameplay systems, AAA-style graphics, game UI, debugging and profiling, and QA/release
  • Optional generator skills for Tripo 3D models, Gemini images and ElevenLabs audio
  • A Vite + TypeScript + Three.js scaffold with a seeded RNG, test hooks and Playwright templates

Good fit

  • Building a browser game from an empty folder with one prompt
  • Polishing an existing Three.js game with verification built in

Not for

  • Native engines such as Unity, Godot or Unreal

Try this prompt

Prompt
Use threejs-game-director to build a small third-person arena game with mobile controls.

Overview

Three.js Game Skills is a pack of nine agent skills for making browser games with Three.js. You install all of them and talk to one, threejs-game-director. The director keeps your scope and art direction and passes gameplay, graphics, UI, assets, audio and QA to the specialist skills.

The agent also checks its own work. Generated games come with deterministic test hooks, a seeded RNG and Playwright templates for smoke tests, visual-regression baselines and bot playtests. threejs-qa-release adds canvas-pixel checks, mobile viewports and a production build before the agent reports a game as done. Small changes get lighter checks: a HUD fix is not run through a full release pass.

To turn a reference image into a code-only model for one of these games, see img2threejs.

Requirements

  • Codex or Claude Code
  • Optional: TRIPO_API_KEY, GEMINI_API_KEY or ELEVENLABS_API_KEY for generated 3D, images or audio

Topics

FAQ

MATCHED PRO KIT$8.25/mo

84-SFX Commercial Combat & Card Audio Pack

84 royalty-free, studio-mastered 44.1kHz 16-bit PCM WAV SFX (0% copyright risk, 0 clipping) covering Melee Slashes, Steel Parries, Crit Thunders, Boss Roars, Card Draws/SSR Gold Bursts, Campfire/Anvil & UI — paired with Godot 4, Unity C# & WebAudio pitch-jitter controllers and an 84-pad soundboard.

  • 84 mastered 44.1kHz 16-bit PCM WAV files across 6 categories (3.50 MB raw PCM, 0 clipped)
  • 100% original procedural DSP source included (generate unlimited custom pitch/punch variants)

Based on majidmanzarpour/threejs-game-skills by majidmanzarpour (MIT). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

Similar skills