Skip to content
majidmanzarpour avatar

Threejs Gameplay Systems

Structured scaffold and gameplay system guidance for building playable Three.js games with Vite and TypeScript.

CCM score
65 of 100
skills.sh installs
5K
GitHub stars
3.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers design briefs, core loop contracts, and level or encounter plans, each tied to concrete decisions, pressure, feedback, and consequence
  • Includes create_threejs_game.py to copy a Vite/TypeScript/Three.js starter with its own visual test and canvas inspector, plus --force for non-empty directories
  • Enforces incremental, always-playable builds, explicit update order, allocation-light hot paths, and seeded RNG so deterministic test hooks keep working
  • Designed for first playable slices, new Vite/TypeScript/Three.js game setups, and tuning feel through hitstop, screenshake, and camera follow

Install

$ npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-gameplay-systems -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Three.js Gameplay Systems

Create or evolve a playable browser game loop with clear ownership, responsive controls, deterministic update order, and a space that shapes player decisions.

Resolve <this-skill-dir> and local references from the actual loaded skill file; resolve sibling skills beside it before using runner-discovered alternatives.

References

FileRead it when
references/game-feel.mdtuning feel, juice, impact, hitstop, screenshake, or claiming polished gameplay
references/genre-design.mddesigning levels, arenas, tracks, waves, holes, puzzles, encounters, or difficulty curves
references/physics-engine-selection.mdadding or changing physics, collision-heavy gameplay, vehicles, rolling balls, character controllers, sensors, moving platforms

Start here

python3 <this-skill-dir>/scripts/create_threejs_game.py ./my-game

Copies assets/threejs-vite-game/, rewrites the project name, and gives the game its own visual test and canvas inspector. --force copies into a non-empty directory, overwriting files that collide with the scaffold and leaving everything else in place.

Design first

Details

Repository
github.com/majidmanzarpour/threejs-game-skills
Categories
Game Development, 3D, CAD & Modeling, Frontend & UI Code
First seen
Jul 14, 2026

Questions

What does the threejs-gameplay-systems skill do?

It helps an agent build and iterate playable Three.js game systems, including a starter Vite and TypeScript scaffold, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring, and game feel tuning such as hitstop and screenshake. It is meant for first playable slices and mechanics work, not custom VFX shaders or art passes.

How do I install the threejs-gameplay-systems skill?

Run npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-gameplay-systems -y in your project. Once installed, the agent can create a new Three.js game from the bundled scaffold or add gameplay systems to an existing one.

Which tools or runtimes does this skill need?

It assumes a TypeScript, Vite and Three.js project, with lil-gui for live-tuned constants and Web Audio for playback. Rapier is the default physics engine when the game needs real simulation, and gameplay randomness goes through the scaffold's seeded RNG.

Where does this skill fit in the Game Development category?

It is listed in the Game Development category on Claude Marketplaces and ranks in its top 100. It covers gameplay systems in Three.js specifically, and it hands off custom VFX shaders and art or lighting passes to sibling skills.

More from majidmanzarpour/threejs-game-skills

All 9

Similar to Threejs Gameplay Systems

More Game Development