/lihfolk:roblox-performance-auditfrom lihfolk
Audits Roblox game performance using MicroProfiler, memory analysis, and mobile budgets. Diagnoses lag, low FPS, spikes, memory growth, and phone crashes.
Ships in lihfolk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Performance work is a loop: name the problem, measure on the right device, fix the biggest item, measure again, leave a guard. Never optimise a suspected cause without a profile; the MicroProfiler usually disagrees with intuition.
VAULT: LihFolk Vault V2, the knowledge base in the plugin root's LihFolk Vault V2/ folder: <base directory>/../../LihFolk Vault V2, where the base directory is the one Claude Code shows when this skill loads. Resolve it to an absolute path before any Read, Grep or command (the vault is in the plugin, not the user's project). Start with VAULT/INDEX.md to find notes fast.Name the problem. Exactly one of: compute (frame time), memory (growth or crashes), or load time (join, zone load). Then client, server or both. Read frame time in milliseconds and worst frames, not average fps.
Reproduce with production-like load. Two clients in Studio are not a 30-player server. Studio numbers include Studio itself: measure client memory and frame time on the device class the players use (a low-end Android phone and an older iPhone are the usual baselines). Record baseline numbers before touching code: frame ms, memory MB by category, join seconds.
Profile compute with the MicroProfiler.
debug.profilebegin("ConstantName") and debug.profileend() around suspect systems. Use constant strings, keep begin and end balanced, and never span a yield.Compare against budgets (rules of thumb for a 60 fps phone target, from the vault):
Hunt memory leaks by slope, not by snapshot.
Stats:GetMemoryUsageMbForTag. Use debug.setmemorycategory in large scripts so the heap view is readable.Destroy() does not clean, per-player tables never cleared on PlayerRemoving, infinite loops spawned per object, uncapped caches and pools, menus cloned on every open.Measure bandwidth.
FireAllClients per hit is multiplied by every player.Audit instance counts and place size.
.rbxm on disk and rely on Version History. The reference project reached about 1.07 million instances, where Studio ran at about 15 fps with about 18 GB of memory and cloud saves timed out (measured).Mobile pass.
Fix one thing at a time, re-measure in the same scenario, and leave a guard: a label, a budget assertion, a soak test or a regression check.
A table: symptom, measurement (before), cause, fix, measurement (after), guard left behind. Then any budgets that are missing.
12 Performance Testing and Debugging/Performance Fundamentals.md12 Performance Testing and Debugging/MicroProfiler Guide.md12 Performance Testing and Debugging/Developer Console and Stats.md12 Performance Testing and Debugging/Memory Budgets and Leaks.md12 Performance Testing and Debugging/Hunting Memory Leaks Step by Step.md12 Performance Testing and Debugging/Network Bandwidth Budgets and Measuring Them.md12 Performance Testing and Debugging/Mobile and Low-End Optimization.md12 Performance Testing and Debugging/Script Performance.md12 Performance Testing and Debugging/Rendering Performance.md07 Lighting VFX and Audio/VFX Performance Budgets and Culling.md06 World Building and Art/Art Budgets - Triangles Draw Calls Memory.md13 Production and Case Studies/Case Study - Instance Cleanup and Place Size.md13 Production and Case Studies/Case Study - Fast Join and Deferred Loading.mdWhat SKILL.md sets; muted values are Claude Code's defaults
2 plugins ship this exact skill · first indexed Oct 30, 2026
22 skills in this plugin
/council-methodLihFolk Council: blind multi-agent verdict for high-stakes Roblox decisions, ship-readiness, "be objective", "second opinion". Not for routine coding./lihfolkLihFolk Roblox knowledge router (1,300+ notes; "check the vault"). Use before non-trivial Roblox work: Luau, Studio, remotes, data, UI, building, VFX, animation, design, money, performance, security, publishing./lihfolk-assetsFind and import assets from the local LihFolk Asset Pack (models, materials, skies, animations, VFX). Use for "LihFolk asset", "what assets do we have".npx claudepluginhub lihfolk-cy/v2-vault --plugin lihfolkOther plugins' skills for the same job