What problem does it solve? Building browser-based 3D and 2D mini-games involves tricky scaffolding (pnpm monorepos, Vite, physics integration) and environment pitfalls (headless WebGL failures, Windows dev-server lockups) that repeatedly derail development. This Skill provides proven patterns, working code, and a verification workflow for shipping games with React Three Fiber and Rapier. ## Core Features & Use Cases - Monorepo Scaffolding: pnpm workspace layout with a hub launcher shell, per-game packages, and shared utilities (InputManager, AudioSynth, SeededRandom), including the critical pnpm filter-name and packageManager gotchas. - R3F + Rapier Game Patterns: Character controllers, kinematic moving platforms, collision handling via userData, and physics setup with correct frameloop configuration. - Headless QA Workflow: A substitute verification stack (per-game tsc, vite build route-wiring checks, esbuild-bundled Node unit tests) for environments where Playwright's software GL loses the WebGL context. - Use Case: Build a game arcade hub with a platformer, a maze game, and an idle game, each lazy-loaded as a route, with procedural audio, deterministic maze generation, and a verified production build. ## Quick Start Use the browser-game-r3f skill to scaffold a pnpm monorepo game arcade with an R3F platformer using Rapier physics and wire it into the hub launcher.