Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

unity-performance

/unity-performance

Optymalizuje wydajność w Unity i C#: klasy, widoki, funkcje i moduły, przy spadkach FPS, alokacjach GC i dużym rozmiarze buildu.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
29.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
22
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Optymalizuje wydajność w Unity i C#: klasy, widoki, funkcje i moduły, przy spadkach FPS, alokacjach GC i dużym rozmiarze buildu.

Oryginalny opis (EN)

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 cs

Jak działa

  1. Choose the task
  2. Workflow
  3. Technical reference routing
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 637 słów
Podgląd SKILL.md
---
name: unity-performance
description: "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."
---

# 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](references/runtime-ladder.md) when the answer depends on runtime/compiler compatibility.
- **Symptom diagnosis:** read [core rules](references/core-rules.md) and [diagnosis](references/diagnosis.md), 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](references/core-rules.md), [diagnosis](references/diagnosis.md), [device acceptance](references/device-acceptance.md), 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

1. For a project-code review or optimization, read [core rules](references/core-rules.md) and [execution strategy](references/execution.md). Confirm the target assembly, platform and scope.
2. Then read the [review method](references/review-method.md): 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](references/runtime-ladder.md) 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.
3. For symptom diagnosis, read [diagnosis](references/diagnosis.md); load profiling or the implicated subsystem reference as evidence narrows the problem.
4. Before delivering findings or making changes, read [finding validation](references/finding-validation.md) and [reporting](references/reporting.md). Preserve the complete-review-before-editing rule, evidence requirements and change tiers.
5. For device acceptance or live incidents, also read [device acceptance](references/device-acceptance.md).

## 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](references/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](references/benchmarking.md) | Benchmarking methodology: no numbers, no optimization |
| [csharp-hotpath.md](references/csharp-hotpath.md) | Hot-path allocation sources and their standard fixes |
| [Allocation inventory](../csharp-zero-gc/references/allocation-inventory.md) | 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](references/engine-rendering.md) | Rendering, physics, asset memory, build size, loading, and Unity 6 features |
| [jit-il2cpp-tricks.md](references/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](references/jobs-burst-dots.md) | Job System / Burst / ECS: moving heavy computation off the main thread and vectorizing it |
| [memory-gc-internals.md](references/memory-gc-internals.md) | Extreme optimization at the memory layer: GC internals, struct layout, cache friendliness |
| [profiling.md](references/profiling.md) | The bottleneck isn't located yet, or the user needs to learn how to capture data |
| [span-collections-simd.md](references/span-collections-simd.md) | The Span family, collection internals, SIMD, and concurrency |
| [tencent-optimization-playbook.md](references/tencent-optimization-playbook.md) | Tencent field optimization handbook (integrating UPA / WeTest / Bugly official practice) |
| [ui-ugui-tmp.md](references/ui-ugui-tmp.md) | UGUI / TextMeshPro specific optimization |
| [wetest-bugly-fieldops.md](references/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.
Pliki w paczce (22)
  • LICENSE 1 KB
  • SKILL.md 6 KB
  • references/baseline-antipatterns.md 14 KB
  • references/benchmarking.md 5 KB
  • references/core-rules.md 3 KB
  • references/csharp-hotpath.md 11 KB
  • references/device-acceptance.md 1 KB
  • references/diagnosis.md 1 KB
  • references/engine-rendering.md 9 KB
  • references/execution.md 2 KB
  • references/finding-validation.md 5 KB
  • references/jit-il2cpp-tricks.md 9 KB
  • references/jobs-burst-dots.md 6 KB
  • references/memory-gc-internals.md 7 KB
  • references/profiling.md 5 KB
  • references/reporting.md 6 KB
  • references/review-method.md 12 KB
  • references/runtime-ladder.md 4 KB
  • references/span-collections-simd.md 9 KB
  • references/tencent-optimization-playbook.md 12 KB
  • references/ui-ugui-tmp.md 8 KB
  • references/wetest-bugly-fieldops.md 9 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · sheepk95/The-Cartographer90Apache-2.0
claude-dev-suite/claude-dev-suite100MIT
IdoCohen560/claude-unity-game-studio100MIT

Migawka bazy z 13.11.2026 · wersja paczki 6f4712599ef8 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90csharp-zero-gc
    Przygotowuje plany pracy bez alokacji w C#, z poziomami zobowiązań, kryteriami akceptacji i strażnikami przed regresją.
  • 100performance-optimization
    Diagnozuje gry pod kątem wydajności: budżet czasu klatki, wąskie gardło CPU lub GPU i poprawki, takie jak pule obiektów i mniej alokacji.
  • 100performance-optimization
    Znajduje i naprawia problemy z wydajnością gier: profiler silnika, budżet czasu klatki, wąskie gardło CPU lub GPU, pooling obiektów, batching draw calli i budżety zasobów.
  • 100game-perf-budget
    Diagnozuje spadki FPS i przycięcia gry metodą pomiaru, sprawdza czy wąskim gardłem jest CPU czy GPU i wskazuje poprawki.
  • 100unity-optimization
    Prowadzi profilowanie i optymalizację wydajności Unity: wąskie gardła CPU i GPU, alokacje GC, fizyka, renderowanie, batching, ładowanie, ograniczenia mobilne oraz dowody porównania przed i po zmianie.
  • 100roblox-performance
    Profiluje i naprawia wydajność Roblox przy niskim FPS, spadkach klatek, pamięci, obciążeniu sieci i słabych telefonach.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.