/roblox-skills:roblox-code-reviewfrom roblox-skills
Reviews Roblox/Luau code for exploits, data loss, memory leaks, performance issues, lifecycle bugs, policy violations, and deprecated APIs using a severity-ranked checklist and 2026 deprecation map. Use for PR review, pre-launch audits, or legacy modernization.
Ships in roblox-skills. 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.
Read when SKILL.md points to them.
Review in severity order. Report each finding with file:line, severity, what breaks, and the fix. Verify claims against the code (and the engine reference when unsure) — don't pattern-match blindly.
| Severity | Examples |
|---|---|
| Critical | Client-authoritative rewards/damage/currency; unvalidated remote args (NaN, instance spoofing); purchases granted outside ProcessReceipt or non-idempotent; data saved with SetAsync from multiple servers without session locking; secrets/API keys in replicated code; unfiltered player text shown to others. |
| High | Data loss paths (no BindToClose, saving default data after a failed load, no retry); memory leaks (connections, player-keyed tables); InvokeClient; per-frame remotes; infinite yields (WaitForChild without timeout on optional instances, RemoteFunction handlers that can yield forever); streaming-unsafe client indexing. |
| Medium | Deprecated/superseded APIs; wait/spawn/delay; polling loops; server-side tweens; missing pcall on network/yielding APIs; missing late-joiner handling; race conditions on CharacterAdded. |
| Low | Style, naming, missing types, magic numbers, dead code, minor inefficiencies. |
Security (roblox-security)
OnServerEvent/OnServerInvoke: types checked with typeof, numbers math.isfinite, strings
length/UTF-8 checked, instances IsA + IsDescendantOf(trusted), rate limited, context checked.ReplicatedStorage/StarterPlayer/Workspace.ProximityPrompt/ClickDetector/Touched handlers re-validate distance/state on the server.Data (roblox-data-stores)
UpdateAsync for read-modify-write; retries with backoff.BindToClose flushes saves in parallel; no saves of Instance/Vector3/mixed tables.User_{UserId}), Studio uses a separate store/universe.Monetization (roblox-monetization)
ProcessReceipt; idempotent by PurchaseId; returns PurchaseGranted only after persisting.PolicyService.Correctness & lifecycle (roblox-architecture)
for _, p in Players:GetPlayers()) and characters already spawned.PlayerRemoving.WaitForChild/nil checks for Workspace content).Performance (roblox-performance)
FindFirstChild/GetDescendants/Instance.new; params objects reused.Text & safety (roblox-text-chat)
FilterStringAsync), fail closed.TextChatService; public editable text rate-limited (≥ 1 minute).Modern API usage
task.*, *Async variants, Raycast, mover constraints, PivotTo, Animator:LoadAnimation,
TextChatService, UIDragDetector, workspace collision-group APIs, CreatePath+ComputeAsync.Code quality (roblox-luau)
--!strict with typed public APIs; services via GetService; no _G/shared.roblox-testing).## Summary
<2–3 sentences: overall risk, the most important fixes>
## Findings
1. [Critical] src/server/Shop.server.luau:42 — Price read from client argument.
Impact: exploiters buy anything for 0 coins. Fix: look up ITEMS[itemId].price on the server.
2. [High] ...
## Modernization (optional)
- Replace `wait()` → `task.wait()` (12 occurrences) ...
Offer to apply fixes; when fixing, keep behavior identical except for the bug, and re-run the relevant
checks (type check, tests, Studio playtest via roblox-studio-mcp).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
roblox, luau, code-review, game-security, data-stores, deprecation
npx claudepluginhub el4cteo/roblox-skills --plugin roblox-skills23 skills in this plugin
/roblox-analytics-liveopsAnalytics and live ops - AnalyticsService economy/funnel/onboarding/progression/custom events, player segments, experience configs via ConfigService, A/B experiments, badges, experience notifications, timed events, daily rewards, season passes. Use when instrumenting a game, tuning economy or onboarding, running A/B tests or feature flags, or planning live events and re-engagement./roblox-architectureRoblox project structure and client/server model - replication, where code and assets belong (ServerScriptService, ReplicatedStorage, StarterPlayer), RunContext, service/controller bootstrapping, player/character lifecycle, CollectionService components, attributes, streaming-safe client code, library choices. Use when starting a project, deciding where code goes, or fixing replication/streaming bugs./roblox-audioSound and music - the Audio API (AudioPlayer, AudioEmitter, AudioListener, AudioDeviceOutput, Wire, effects, faders), classic Sound/SoundGroup, 2D vs 3D audio, music and SFX volume, client vs server playback, asset permissions, streaming caveats, voice routing, text-to-speech. Use when adding music, sound effects, spatial audio, mixing, or fixing sounds that don't play./roblox-characters-animationCharacters and animation - Humanoid properties/states, spawning (LoadCharacterAsync), health and damage, HumanoidDescription appearance, Animator/AnimationTrack playback, priorities and markers, default animation replacement, Tools, TweenService, IKControl, Character Controller Library (beta). Use when changing movement, abilities, damage, respawn, avatars, animations, tweens, or tools/weapons./roblox-data-storesPersistence and cross-server data - DataStoreService (UpdateAsync, retries, budgets, limits), session locking with ProfileStore, schema migrations, OrderedDataStore leaderboards, MemoryStore queues/sorted maps/hash maps, MessagingService, right-to-be-forgotten. Use when saving player data, building leaderboards or queues, or fixing data loss, duplication, or throttling./roblox-game-systemsRecipes for common systems built on server authority - currency service and leaderstats, XP/levels, round loops with intermission and teams, validated melee/ranged combat, inventory and tools, soft-currency shops, obby checkpoints, daily rewards, pets. Use when implementing or reviewing gameplay systems such as rounds, combat, weapons, inventories, shops, currencies, or progression.Other plugins' skills for the same job