luau-performance

Installation
SKILL.md

luau-performance

When to Use

Use this skill when the task is primarily about Luau runtime cost:

  • Profiling code to find real hotspots before changing implementation details.
  • Reducing allocation churn, GC pressure, or closure creation in repeated paths.
  • Choosing faster table construction, lookup, append, and iteration patterns.
  • Making code cooperate with Luau fast paths for builtin calls, method calls, and imports.
  • Explaining how compiler and runtime optimizations affect hot functions.
  • Tuning a confirmed hot path while balancing readability and maintainability.
  • Accounting for sandbox or environment behavior only when it changes Luau execution or deoptimizes code.

Do not use this skill when the task is mainly about:

  • Teaching general Luau syntax, control flow, tables, or metatables from first principles.
  • Designing deep type-system abstractions, analyzer behavior, or advanced type utilities.
  • Roblox-specific replication, streaming, rendering, networking, physics, or other engine performance patterns.
Related skills

More from stackfox-labs/luau-skills

Installs
31
GitHub Stars
4
First Seen
Mar 19, 2026