← ClaudeAtlas

roblox-best-practiceslisted

Framework-agnostic Roblox/Luau coding standards. Use when writing, reviewing, or refactoring any Luau code (Script, LocalScript, ModuleScript) in a Roblox project, or when the user asks to keep best practices in mind as standing guidance — enforces the VARIABLES/FUNCTIONS/INITIALIZATION layout, naming, performance, memory, networking, and security rules regardless of framework, folder structure, or genre. Two modes: Default (apply these conventions as-is) and Adaptive (study the project's existing style first, confirm, then apply). Adapts to community libraries (ProfileStore, Packet, Trove, Knit, Fusion, ...) and honors supervision levels (!ask / !bal / !go). Not for non-Roblox Lua, Studio UI or asset questions that do not touch code, or game design discussion with no Luau to write or review.
andrian-syh/roblox-best-practices-skill · ★ 6 · Code & Development · score 79
Install: claude install-skill andrian-syh/roblox-best-practices-skill
# Roblox Game Development Best Practices Framework-agnostic standards for writing clean, efficient, lightweight, and resource-frugal Luau code. These rules fit any architecture — they govern *how each script is written*, not how the project is structured. **Goals, in priority order:** correct → secure (server-authoritative) → efficient (CPU/memory/network) → readable → consistent. *Skill version 1.19.2. If behaviour here contradicts a newer release, the installed copy is stale — check [CHANGELOG.md](https://github.com/andrian-syh/roblox-best-practices-skill/blob/main/CHANGELOG.md).* ## Session Invariants (must survive compaction) A summary that drops these rules silently downgrades every file written afterwards. Two standing obligations: 1. **Carry it forward verbatim** in any summary, handoff, plan, or task note. It is active instruction, never compressed into "follow the Roblox skill". 2. **Re-read this file before acting** whenever the card's full text is not visible in your context. Never reconstruct these rules from memory — a half-remembered layout rule looks deliberate and is worse than none. ```text ROBLOX LUAU SKILL - INVARIANT CARD 1 Three sections, this order: -- // VARIABLES // -- Services > Modules > Objects > Configuration > State Management -- // FUNCTIONS // -- definitions only (ModuleScript: Private before Public) -- // INITIALIZATION // -- everything that runs 2 Documentation Comments (Luau Comments) - default style, adapts to the pr