unity-performance
Skill1 starsChanged 45 days agoMITView on GitHub
Unity performance optimization. Use when the user asks to optimize a class, view, function, folder or an entire module, or mentions stutter, lag, frame drops, low FPS, jank, overheating, battery drain, GC allocation, memory leaks, DrawCalls, batching, overdraw, slow loading, large build size, Profiler, PerfDog, or crash rates. Also covers pure C# micro-optimization: algorithmic complexity, memory layout, SIMD, and compiler-level tuning. Fixing individual allocations found while optimizing belongs here; a committed plan to make a whole system allocation-free with regression guards belongs to csharp-zero-gc.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- skysepehru/unity-claude-skillstheir own version, first seen Nov 29, 2026
- TheArcForge/hades-plugintheir own version, first seen Nov 16, 2026
- MRCalderon3D/everything-game-dev-codetheir own version, first seen Oct 13, 2026
- Nice-Wolf-Studio/unity-claude-skillstheir own version, first seen Sep 14, 2026
- aluminumBath/unity-meshy-studiotheir own version, first seen Jul 12, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- MRCalderon3D/everything-game-dev-code★ 105same name
- Nice-Wolf-Studio/unity-claude-skills★ 32same name
- TheArcForge/hades-plugin★ 3same name
- skysepehru/unity-claude-skills★ 1same name
- aluminumBath/unity-meshy-studio★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- code-standardsSkill
- csharp-zero-gcSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Focused explanation or technique question: read only the matching technical reference below.
- Distinctive: line 13
Symptom diagnosis: read core rules and diagnosis, then the implicated profiling/subsystem reference.
- Distinctive: line 14
Project-code review or optimization: follow the full workflow below.
- Distinctive: line 15
Device acceptance or live incidents: read core rules, diagnosis, device acceptance, and the implicated field-operations reference.
- Distinctive: line 24
Before delivering findings or making changes, read finding validation and reporting.
- Distinctive: line 29
Read a row when the task involves its topic.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
unity-performance
Use progressive disclosure: read the required workflow references at the stage where they apply, and only the technical references relevant to the task. Do not bulk-load this directory or sibling skills. References contain binding original rules, not optional background. Loading less must not omit an applicable requirement.
Choose the task
- Focused explanation or technique question: read only the matching technical reference below. Load runtime premises when the answer depends on runtime/compiler compatibility.
- Symptom diagnosis: read core rules and diagnosis, then the implicated profiling/subsystem reference. Read runtime premises before runtime-dependent recommendations.
- Project-code review or optimization: follow the full workflow below; scale the report to the target as the execution rules require.
- Device acceptance or live incidents: read core rules, diagnosis, device acceptance, and the implicated field-operations reference. Follow the full workflow if this expands into code optimization.
Conceptual answers do not constitute project findings or acceptance. Do not initiate a project review for a conceptual question. Once making project-specific findings, proposing code changes or claiming a path is clean, apply the full relevant evidence, validation and reporting rules below.
Workflow
- For a project-code review or optimization, read core rules and execution strategy. Confirm the target assembly, platform and scope.
- Then read the review method: exploration operators, coverage dimensions and the coverage inventory. Explore first; use the applicable technical references below to catch omissions afterward. Read runtime premises and optimization ladder before recommending anything whose support depends on the runtime or compiler (Span, unsafe, SIMD, inlining, new value-type generics, hot-update assemblies), or when choosing which optimization layer to work on.
- For symptom diagnosis, read diagnosis; load profiling or the implicated subsystem reference as evidence narrows the problem.
- Before delivering findings or making changes, read finding validation and reporting. Preserve the complete-review-before-editing rule, evidence requirements and change tiers.
- For device acceptance or live incidents, also read device acceptance.
Technical reference routing
Read a row when the task involves its topic. For broad reviews, select all implicated topics after reconnaissance; for a narrow question, select only that topic.
| Reference | Topic / when to read |
| baseline-antipatterns.md | Final omission sweep after exploration, not the main review loop. Group A: algorithms and redundancy; group B: API and lifecycle anti-patterns. Numbered for citation |
| benchmarking.md | Benchmarking methodology: no numbers, no optimization |
| csharp-hotpath.md | Hot-path allocation sources and their standard fixes |
| Allocation inventory | Enumeration/boxing edge cases including Transform children, implicit delegates, and allocation sources missing from the hot-path reference; for a focused explanation, read the matching paragraph only |
| engine-rendering.md | Rendering, physics, asset memory, build size, loading, and Unity 6 features |
| jit-il2cpp-tricks.md | Compiler-layer techniques: JIT / IL2CPP behavior and how to steer it (including unsafe as a last resort) |
| jobs-burst-dots.md | Job System / Burst / ECS: moving heavy computation off the main thread and vectorizing it |
| memory-gc-internals.md | Extreme optimization at the memory layer: GC internals, struct layout, cache friendliness |
| profiling.md | The bottleneck isn't located yet, or the user needs to learn how to capture data |
| span-collections-simd.md | The Span family, collection internals, SIMD, and concurrency |
| tencent-optimization-playbook.md | Tencent field optimization handbook (integrating UPA / WeTest / Bugly official practice) |
| ui-ugui-tmp.md | UGUI / TextMeshPro specific optimization |
| wetest-bugly-fieldops.md | On-device acceptance and live-ops remediation: WeTest (PerfDog) + Bugly/CrashSight |
The references are validated criteria and standard implementations: a safety net and a source for citations, not a ceiling. Propose something better when you have it.
Related skills: unity-performance covers bottlenecks and engine optimization; csharp-zero-gc covers system allocation commitments and regression guards; code-standards covers conventions, design and orchestrated reviews. Load a sibling only when that distinct workflow is needed.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

