Skip to main content

Unity Performance

v1.0.0New

Unsigned, install at your own risk

Unverified

This 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-performance

What 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)

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/multi-language-standards-unity-performance/SKILL.md

Setup guide →
0Save

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.Alloc column, or capture GC allocated in frame from the Memory module.
  • Use call stacks or a ProfilerRecorder capture 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 GetComponent always 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
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →

More from Multi-Language Standards

View source →
typescript-best-practicesWrite idiomatic TypeScript patterns for clean, maintainable code. Use when writing or refactoring TypeScript classes, functions, modules, or async logic.32 installscavemanUltra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.26 installsphp-securityPHP-only security standards for database access, password handling, and input validation. Use when securing PHP apps against SQL injection, XSS, or weak password storage; defer Laravel middleware and security questions in other languages.16 installscommon-security-auditProbe for hardcoded secrets, injection surfaces, unguarded routes, business logic flaws, and platform-specific weaknesses across backend (Node, Go, Java, Python, Rust), frontend (React, Angular, Vue), and mobile (iOS, Android, Flutter) codebases. Use when performing security audits, vulnerability scans, secrets detection, or penetration testing.13 installsandroid-performanceOptimize Android app startup, UI rendering, frame stability, and benchmark performance with Baseline Profiles, Macrobenchmark, and lazy initialization. Use when reducing startup time, diagnosing jank, or measuring rendering; defer Compose state API and test-only questions.10 installsnextjs-architectureStructure Next.js projects with Feature-Sliced Design layers, domain-grouped slices, and strict import hierarchy. Use when organizing features into FSD layers, enforcing slice boundaries, or keeping page.tsx thin.9 installs

More Game Dev skills

Browse category →
godotDevelop, test, build, and deploy Godot 4.x games. Includes GdUnit4 for GDScript unit tests and PlayGodot for game automation and E2E testing. Supports web/desktop exports, CI/CD pipelines, and deployment to Vercel/GitHub Pages/itch.io.12 installsscenario-godot-2dUse when building a 2D game in Godot 4.7: make a platformer or top-down controller that feels right (coyote time, jump buffer, jump height), TileMapLayer and TileSet in code, terrains and autotiles that pick wrong tiles, a dual grid, a camera that jitters or stutters, pixel art that looks blurry or uneven, stretch and integer scaling, 2D lights and shadows, y-sort order wrong, parallax gaps, or importing AI-generated sprites and tilesets from Scenario.3 installsscenario-godot-3d-worldUse when building 3D levels and worlds in Godot 4.7: third-person or FPS controller, player stuck on stairs, spring arm camera clipping, blockout with CSG, GridMap and MeshLibrary, terrain (heightmap, HeightMapShape3D, Terrain3D regions, textures, painting), scattering trees with MultiMesh, streaming a big world, procedural meshes with SurfaceTool, Jolt physics settings, importing GLB or glTF from Blender or AI generators (Scenario, Tripo, Meshy, Hitem3D), import scripts, name suffixes, model facing, collision generation, LODs.2 installsscenario-godot-animationUse when animating characters or scenes in Godot 4.7: AnimationPlayer clips and RESET, AnimationTree state machines and blend spaces built in code, Mixamo or glTF import, loop settings, BoneMap retargeting and shared animation libraries, root motion, foot sliding, foot IK with TwoBoneIK3D or custom SkeletonModifier3D, tweens, SpringArm3D cameras, cutscenes; or when a character T-poses, slides, floats, freezes mid-blend or a transition never fires.1 installsscenario-godot-vfxUse when making or fixing particle effects and game feel in Godot 4.7: GPUParticles3D or GPUParticles2D explosion, fireball projectile with trail, impact, sparks, smoke, shockwave, ribbon trails, sub-emitters, particle collision, color curve does nothing, particles pop out or vanish, effect too heavy on mobile, CPUParticles fallback for Compatibility or web, overdraw, hit-stop, freeze frame, screen shake, juice.1 installsscenario-godot-architectureUse when structuring Godot 4.7 game code: folders, scenes and nodes, signals or an event bus autoload, custom Resources for item data, components (health, hitbox, hurtbox), an inventory, save and load, InputMap and key rebinding for keyboard, mouse and gamepad, GDScript static typing and style, or GDScript vs C#; or when code is spaghetti, a folder scan breaks in the export, a save loads wrong, the gamepad does nothing, or @onready is null.1 installs

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.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/multi-language-standards-unity-performance)](https://skills-hub.ai/skills/multi-language-standards-unity-performance)
HTML
<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.