n2q’s Posts
Log in
EZPost LogoPowered by EZPost© 2026 n2q
Three.js Game Skills: Turning an AI Coding Agent Into a Browser Game Studio
n2q’s PostsDesign, 3D & Video
Design, 3D & Video

Three.js Game Skills: Turning an AI Coding Agent Into a Browser Game Studio

An open-source skill pack attempts to turn Codex or Claude Code into a small Three.js game studio with a single prompt, routing work across nine specialized roles.

N
Written byn2q
02 Aug 20260 min read3 views

Table of Contents

  • What it is
  • Why it matters
  • How it works
  • Caveats
  • Who it's for

#Three.js Game Skills: Turning an AI Coding Agent Into a Browser Game Studio

An open-source skill pack attempts to turn Codex or Claude Code into a small Three.js game studio with a single prompt, routing work across nine specialized roles.

#What it is

Three.js Game Skills is an open-source repository that packages a set of self-contained skills for AI coding agents. The idea is that instead of asking one agent to build an entire game from scratch, you install the skill pack, call a single director command, and describe the game you want. The director then routes the work across nine specialized skills covering gameplay, graphics, user interface, debugging, release QA, and optional 3D, image, and audio generation.

The workflow is built around producing playable browser games, not static 3D scenes to look at. It starts with a playable loop, then upgrades visuals, HUD, effects, and audio on top of that foundation. The repo supports both Codex and Claude Code, and the core works without paid APIs by falling back to local or procedural assets.

#Why it matters

  • It demonstrates a practical multi-agent pattern: one director routes to specialized skills instead of forcing you to remember and invoke each one manually.
  • The workflow prioritizes a playable game first, which is harder and more useful than generating a pretty 3D demo.
  • Generated projects include seeded randomness, deterministic test hooks, and Playwright templates for smoke tests, visual regression, and bot playtests.
  • The agent is expected to self-check before declaring a task complete, which is a meaningful step beyond raw code generation.
  • The core runs without paid APIs, with optional integration for Tripo (3D models), Gemini (images), and ElevenLabs (audio) when keys are available.

#How it works

You install the skill pack and invoke the threejs-game-director with a description of your game. The director selects the appropriate specialist rather than making you choose. The nine skills cover gameplay logic, AAA-style graphics, UI, debugging, and release QA, plus optional branches for 3D model generation, image generation, and audio generation. Each skill is self-contained, so the director can compose them without tight coupling.

The QA layer is what sets this apart. Games come out with seeded RNG so tests are reproducible, fixed test hooks for deterministic behavior, and Playwright templates that let the agent run smoke tests, visual regression checks, and bot playtests. The agent must verify its own output before it can claim the job is done.

#Caveats

The repo is MIT licensed and has several demo games running in the browser, but it is still a skill pack layered on top of AI coding agents, not a mature game engine. Output quality depends heavily on the underlying model and your prompt clarity. The optional asset generation branches require paid API keys, and without them you fall back to local or procedural assets, which may not match the visual quality you see in polished demos.

#Who it's for

This is for developers experimenting with AI-assisted game development who want a structured, test-backed workflow rather than ad-hoc prompting, and who are comfortable with Three.js and agent tooling.

If you want to see what a disciplined, multi-skill approach to AI game generation looks like, Three.js Game Skills is worth a serious look, especially for the QA-first design.

Filed under
Design, 3D & Video
Share this post
N
About the author
n2q
Sharing ideas and building in public.
View all posts
Loading comments...

Table of Contents

  • What it is
  • Why it matters
  • How it works
  • Caveats
  • Who it's for
Keep reading

More from n2q

See all
Open Design: Design with AI AgentsDesign, 3D & Video

Open Design: Design with AI Agents

Open Design is an open-source alternative to Anthropic's Claude Design that turns your existing coding agents into a full design engine, and it has over 34,000 GitHub stars.

Nn2q0 min
HTML Video: Give a link to AI, get an MP4 backDesign, 3D & Video

HTML Video: Give a link to AI, get an MP4 back

Hand a coding agent a link to an article or a GitHub repository, and it returns a multi-scene MP4 rendered on your laptop. That is the ambitious pitch of HTML Video, an open source project that turns web technology into a video pipeline.

Nn2q0 min
img2threejs: An AI technical artist for Three.jsDesign, 3D & Video

img2threejs: An AI technical artist for Three.js

One image in, one procedural 3D model running on the web out. That is the compact promise of img2threejs, an open source skill for coding agents.

Nn2q0 min