unity-performance
Installation
SKILL.md
Unity performance review
Load the unity-core skill with this one: its
default stack decides what a finding recommends. When it is not installed, say
so and recommend from each rule's Fix alone.
The review has two passes. A script runs every rule mechanically, so no rule
is skipped and the coverage numbers are real; then you read only the hits,
drop false positives, and report what holds. Rule bodies stay in rules/ and
are read only for the rules that hit.
| Part | Checks | Needs |
|---|---|---|
scripts/scan.py |
C#, shaders, USS/UXML, and Unity YAML: regex patterns on the added lines of a diff, ABSENT and MANUAL rules | Python 3.11+, Git for a diff |
scripts/editor_audit.cs |
Importer values (texture size, compression, Read/Write, mipmaps, mesh size, audio load type, rigs) and project settings (stripping, C++ configuration, physics, Quality Levels, URP assets), through Editor APIs | An Editor reachable through the Unity CLI and its Pipeline package |