roblox-luau-patterns

安装量: 1.4K
排名: #10799

安装

npx skills add https://github.com/tabooharmony/roblox-brain --skill roblox-luau-patterns

Luau Patterns When to Load Load when choosing a module shape, owning Roblox instances or event connections, scheduling work, or preserving failure semantics. Use roblox-luau-core for language behavior, roblox-luau-types for types, and roblox-architecture for project-wide ownership and startup. Quick Reference Choose the smallest shape Plain functions: default for stateless transformation or validation. Module with private state: one explicit subsystem owner. Do not create a manager class merely to namespace functions. Object with metatable: multiple independent values need shared behavior and lifecycle. Existing library abstraction: follow it when the project already uses it consistently. Do not add Promise, signal, cleanup, or framework dependencies for one call site. Constructors use . , instance methods use : , and mutable fields belong on the instance, not the class table. Make ownership visible Show more Installs 1.4K Repository tabooharmony/ro…ox-brain GitHub Stars 88 First Seen May 28, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

← 返回排行榜