game-perf
Installation
SKILL.md
Game Performance Optimization
Sources: These are standard JavaScript engine behaviours (generational GC, hidden-class stability) rather than game-specific findings — see V8's public documentation on allocation and garbage collection. Spatial hashing is textbook broad-phase collision detection. No figures here are benchmarks; measure your own hot path with a profiler before optimising it, per the Numbers Policy in game-design.
This skill provides patterns for writing allocation-free, GC-friendly code in game loops and hot paths. Apply these patterns proactively when working on any code that executes per-frame.