Unity performance is an AI agent skill from the GitHub repository AndreySkyFoxSidorov/UnifiedUnityMCP. Profile and optimize Unity projects without overengineering. Use for frame rate issues, editor tool slowness, allocation spikes, heavy scene scans, build size, or import bottlenecks.
Claude Code: save it as .claude/skills/unity-performance/SKILL.md
Cursor: save it as .cursor/rules/unity-performance.md
Codex: save it as .agents/skills/unity-performance/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
Unity Performance
Use This Skill When
A Unity Editor tool, scene operation, or target project workflow is slow.
Console, profiler, or tests show allocations or long operations.
Optimizing build, import, scene, UI, or asset workflows.
Workflow
Identify the measured bottleneck or likely hot path.
Check the smallest relevant scope first.
Prefer direct Unity API improvements over architecture changes.
Re-run the same check after the change.
Rules
Do not optimize cold paths by adding complexity.
Avoid allocations in repeated scans and frame-sensitive code.
Cache only when repeated lookup cost is real.
Use collection pools only for measured temporary allocations.
Do not add broad managers, global caches, or new dependencies by default.
Do not use switch.
Report
State the bottleneck or assumption.
State what changed.
State what was measured or which check could not run.
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.