Skip to content

Debug and profile Three.js browser games by finding root causes and measured bottlenecks, not guessing.

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

Own this skill? Claim it

What it does

  • Covers blank canvases, render and runtime bugs, asset and audio loading, animation, resize, and mobile input fixes
  • Covers performance profiling of draw calls, triangles, textures, memory, shader and post-processing cost, and bundle size
  • Guides triage with references/debug-playbook.md, which orders causes such as multiple active loops and canvas display-size mismatches
  • Designed for developers who reproduce a failure first, then baseline one scenario, change one thing, and re-measure it

Install

$ npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-debug-profiler -y

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

Files

Three.js Debug Profiler

Find root causes and optimize measured bottlenecks without breaking playability.

Follow the changed behavior's scope. Reuse the lead's existing reproduction and evidence; verify the affected path after a fix. A passing focused check only needs broader testing when shared behavior changed or an unresolved risk warrants it. Return measurements and defects to the lead for the consolidated verification pass.

Reference

references/debug-playbook.md — ordered triage for blank canvas, asset and audio loading, loop/animation/physics, input and mobile, the profiling sequence, and the __THREE_GAME_DIAGNOSTICS__ shape. Read it when debugging or profiling anything non-obvious.

Debug

Reproduce first, with the same command and URL the user had, and read the console, page, and network errors. Find the module that owns the failure (renderer, loop, camera, scene, assets, audio, input, physics, UI, or base path), fix the root cause there, and retest the exact broken path. The playbook's triage order covers the common causes, such as more than one active loop, a canvas whose display size doesn't match its drawing buffer, and wrong delta units.

Profile

Details

Repository
github.com/majidmanzarpour/threejs-game-skills
Categories
Debugging, Game Development
First seen
Jul 14, 2026

Questions

What does the threejs-debug-profiler skill do?

It debugs and profiles Three.js browser games, covering blank canvases, HDR bloom NaN blackouts, render and runtime errors, asset and audio loading, animation bugs, resize issues and mobile input. It also profiles draw calls, triangles, textures, memory, shader and post-processing cost, and bundle size.

Who is threejs-debug-profiler for?

It is for developers diagnosing defects or optimizing frame times in Three.js browser games. The skill is not meant for greenfield feature authoring, so it suits fixing and tuning existing games rather than building new ones.

How do I install threejs-debug-profiler?

Run npx -y skills add majidmanzarpour/threejs-game-skills --skill threejs-debug-profiler -y in a project. Once installed, the agent can reproduce a broken path, find the owning module, and fix its root cause.

More from majidmanzarpour/threejs-game-skills

All 9

Similar to Threejs Debug Profiler

More Debugging