Unity Performance
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, then copy.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install multi-language-standards-unity-performanceWhat this does: Decide Unity performance work from target Player evidence, not Editor symptoms. Use for Unity profiling, Player frame time, GC allocation, caching, pooling, or performance-regression questions. (triggers: Unity profiling, Unity Player profiling, Unity GC allocation, Unity frame time, Unity performance regression)
Manual setup by platform
Claude Code
~/.claude/skills/multi-language-standards-unity-performance/SKILL.md
Instructions
Unity Performance Evidence
Priority: P1 (HIGH)
Measure the target Player before recommending a rewrite, and name the evidence the claim depends on.
Player-First Profiling
- Build a Development Player for the target platform and device; connect the Profiler to that Player.
- Use the same build, scene, content, quality settings, and input sequence for before and after.
- Record CPU main-thread frame time, GPU frame time where relevant, and GC allocation per frame.
- An Editor profile cannot prove a target Player improvement. Editor-only samples and Editor-only allocations can differ from a built Player.
- Keep the Editor profile for iteration, but label it as an Editor observation, not Player evidence.
Repeatable Scenario
Define the scenario before measuring:
- fixed starting state and content set;
- fixed camera, resolution, quality, and thermal state;
- a warm-up period, then a fixed capture window;
- the exact build target, device, build identifier, and scenario script;
- the same scenario for baseline and candidate.
Without a repeatable scenario, frame-time and allocation numbers are anecdotes.
Allocation Evidence
- Use the Profiler's CPU Usage module and the
GC.Alloccolumn, or captureGC allocated in framefrom the Memory module. - Use call stacks or a
ProfilerRecordercapture to locate the allocating call site. - Distinguish steady-state allocation from one-time startup allocation.
- Do not treat Editor-only allocation as proof of Player behavior; Unity documents that
GetComponentalways allocates in the Editor but not in a built project.
Caching and Pooling
- Cache only a lookup that measurement shows is repeated and whose target lifetime is stable.
- Pool only an allocation that measurement shows is frequent and costly; define the pool's ownership, reset, and leak checks.
- Do not rewrite unrelated code or claim a speedup without before/after evidence from the target Player.
- Prefer the smallest change that removes the measured cost; verify the same scenario afterward.
Reporting
- State the scenario, build, target, device, capture window, and evidence source.
- Report frame time and GC allocation before and after, with units and variance.
- Separate measured results from estimates. Mark unmeasured claims as hypotheses.
- If the target Player cannot be run, report the profiling plan and the missing evidence; do not present an Editor result as a Player result.
Anti-Patterns
- No Editor-only proof: An Editor profile cannot establish a target Player improvement.
- No unmeasured speedup: Do not claim a percentage without a before/after measurement.
- No automatic rewrite: Do not apply a cache or pool before the measurement justifies it.
- No one-frame sample: Use a warm-up and a fixed capture window; report variance.
References
- Player profiling plan and allocation evidence
Security
Reviews (0)
Related skills
Browse all →More from Multi-Language Standards
View source →More Game Dev skills
Browse category →Frequently asked questions about unity-performance
What does the unity-performance skill do?
Decide Unity performance work from target Player evidence, not Editor symptoms. Use for Unity profiling, Player frame time, GC allocation, caching, pooling, or performance-regression questions. (triggers: Unity profiling, Unity Player profiling, Unity GC allocation, Unity frame time, Unity performance regression) It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the unity-performance skill?
Run `npx @skills-hub-ai/cli install multi-language-standards-unity-performance` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/multi-language-standards-unity-performance/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does unity-performance work with?
unity-performance runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the unity-performance skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use unity-performance after installing it?
In Claude Code, type `/multi-language-standards-unity-performance` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the unity-performance skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/multi-language-standards-unity-performance)<a href="https://skills-hub.ai/skills/multi-language-standards-unity-performance"><img src="https://skills-hub.ai/api/badges/skill/multi-language-standards-unity-performance" alt="Install on Skills Hub"></a>More options in the badge docs.