Skip to main content
ANY
SkillFreeBy GameSkill · tuned

Game Performance Optimization

/performance-optimization

Fix performance methodically: profile first, set a frame budget, find the CPU or GPU bottleneck, then pool, batch and cut allocations.

License
Apache-2.0
By
By GameSkill
Download ZIP

Part of

Awesome Gamedev Agent Skills

77 portable SKILL.md skills across 12 engines (Godot, Unity, Unreal, Phaser, PixiJS, three.js, Bevy, pygame, LÖVE, Roblox, Defold, Ebitengine), with a router.

Tested by GameSkill

22/22 checks passed on Godot 4.7.2 (2026-10-28): trigger, a runnable example, a screenshot and self-check, one job per skill, and English + Chinese docs. Trigger checks match prompts against skill descriptions; they are not a live agent run.

Test report

What this skill does

When it triggers

Find and fix game performance problems methodically — measure with the engine profiler first, reason about the frame-time budget, locate the CPU-vs-GPU bottleneck, then apply the right fix: object pooling …

GameSkill's tested copy

GameSkill's tuned build of this skill: the skill files from commit 184b72be0288, plus our runnable example, test report, self-check list and Chinese guide, put through our skill process.

License: based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills, under Apache-2.0. The ZIP keeps the license files (LICENSE, NOTICE) and lists everything GameSkill added in CHANGES.md.

Game Performance Optimization

Self-check

  • 先用分析器测量,再动手优化 / Measure with the profiler before changing anything
  • 在发布版、目标硬件上测,不在编辑器里测 / Profile a release build on target hardware, not the editor
  • 先分清是 CPU 还是 GPU 瓶颈 / Find out whether the CPU or the GPU is the bottleneck first
  • 子弹、粒子等高频对象用对象池 / Bullets, particles and other hot objects are pooled
  • 共享贴图和材质、用 MultiMesh,减少 draw call / Shared textures and materials and MultiMesh keep draw calls down

Install

Tell your AI

Install the skill from https://gameskill.dev/skills/performance-optimization/install.md

GameSkill's tested copy

Tested copy into .claude/skills/
mkdir -p .claude/skills
curl -fsSL https://gameskill.dev/dl/skills/performance-optimization.zip -o /tmp/gameskill-performance-optimization.zip
unzip -oq /tmp/gameskill-performance-optimization.zip -d .claude/skills
rm /tmp/gameskill-performance-optimization.zip

What you get

  • Worked steps: Frame budget math; Measure with the engine profiler; Object pooling; Cut draw calls
  • A pitfalls section with the mistakes to avoid
  • Bundled 1 reference doc the agent reads when needed

Good fit

  • Requests about performance, optimize, low/dropping FPS, frame drops or stutter

Try this prompt

Prompt
My game drops to 40 FPS in big fights. Profile it and fix the bottleneck.

About this skill

Find and fix game performance problems methodically — measure with the engine profiler first, reason about the frame-time budget, locate the CPU-vs-GPU bottleneck, then apply the right fix: object pooling, draw-call batching, fewer allocations/GC spikes, and asset budgets. Engine- neutral method that pairs with each engine's profiler. Use when the user mentions performance, optimize, low/dropping FPS, frame drops, stutter, lag, profiler, frame budget, draw calls, batching, garbage collection/GC spikes, object pooling, or "the game runs slow".

From the performance-optimization SKILL.md in gamedev-skills/awesome-gamedev-agent-skills.

What's inside

  • The golden rule: measure first, never guess
  • Frame budget math (turn "feels slow" into a number)
  • Measure with the engine profiler (do this before any fix)
  • Object pooling (stop allocating/freeing in hot loops)
  • Cut draw calls (the most common GPU-side win)
  • Kill per-frame allocations (GC spikes = stutter)

FAQ

MATCHED PRO KIT$8.25/mo

Game Polish Workflow

A repeatable workflow for getting an AI agent to actually improve your game: a 10-step polish loop, bilingual prompts, a troubleshooting guide for common AI-made game bugs, and playtest and release checklists.

  • 10-step polish loop with done criteria
  • 14 prompts in Chinese + 14 in English

Based on gamedev-skills/awesome-gamedev-agent-skills by gamedev-skills (Apache-2.0). The author's LICENSE and NOTICE files ship in the ZIP; ATTRIBUTION.md and CHANGES.md list the source commit and what GameSkill added.

Works well with

Skills the author points to as related or as the better fit for neighbouring tasks.

More from Awesome Gamedev Agent Skills

See all 42

Similar skills