When your Three.js game renders a blank canvas, tanks to 15 FPS on mobile, or ships a 12 MB bundle, this walks you through the diagnosis. It loads checklists for scene debugging, performance profiling, and mobile input issues, then enforces a structured workflow: reproduce, check console errors, verify canvas size and renderer ownership, inspect camera and scene graph, profile draw calls and memory, fix one bottleneck at a time, and re-measure. The checklist ledger stops you from skipping steps during debug sessions. Honest take: the rigid reference-loading requirement feels heavy for quick fixes, but if you're stuck on why shadows disappeared after a refactor or why frame time doubled, the methodical approach pays off.

skills.sh installs
3.6K
GitHub stars
2.8K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/majidmanzarpour/threejs-game-skills
Categories
Debugging, Automation & Workflows, Mobile Development, Design & UI/UX, Game Development
First seen
Jul 14, 2026

More from majidmanzarpour/threejs-game-skills

All 9

Recommended

More Debugging
1aj-geddes avatardatabase-performance-debuggingaj-geddes/useful-ai-promptsDebug database performance issues through query analysis, index optimization, and execution plan review. Identify and fix slow queries.499skills.sh installs
2aj-geddes avatarperformance-regression-debuggingaj-geddes/useful-ai-promptsIdentify and debug performance regressions from code changes. Use comparison and profiling to locate what degraded performance and restore baseline metrics.449skills.sh installs
3thedivergentai avatargodot-debugging-profilingthedivergentai/gd-agentic-skillsExpert debugging and profiling for leaks, GPU/Visual Profiler, headless CI QA, orphan nodes, thread-safe logs, and custom Debugger monitors — not print/breakpoi242skills.sh installs
4josiahsiegel avatardebugging-troubleshooting-2025josiahsiegel/claude-plugin-marketplaceComprehensive bash script debugging and troubleshooting techniques for 2025. PROACTIVELY activate for: (1) debugging a misbehaving bash script, (2) using set -x196skills.sh installs
5JamieMason avatarfix-bugJamieMason/syncpackDebug and fix bugs in Syncpack using scientific debugging methodology. Use when a test is failing, unexpected behaviour occurs, or investigating issues. Covers 0skills.sh installs
6alirezarezvani avatarperformance-profileralirezarezvani/claude-skillsSystematic performance profiling for Node.js, Python, and Go applications. Identifies CPU, memory, and I/O bottlenecks, generates flamegraphs, analyzes bundle s750skills.sh installs