About
The game-perf skill provides a comprehensive set of patterns and best practices for writing high-performance, allocation-free game code. It specifically targets 'hot paths' in game development—such as update loops, physics calculations, and render cycles—where minor allocations can lead to frame stutters due to garbage collection. By identifying common anti-patterns like array spread operators or frequent object creation and providing production-ready alternatives like scratch buffers, in-place filtering, and spatial hashing, this skill helps developers maintain smooth 60+ FPS performance in complex web and desktop games.