roblox-luau-patterns
Installation
SKILL.md
When to Load
- Designing classes with metatables (constructors, methods, inheritance)
- Async control flow (Promises, coroutines, pcall/xpcall, retry patterns)
- Module structure and organization (service pattern, singletons)
- Roblox-specific patterns (Instance creation, service access, events, task library)
- Choosing between architectural approaches (OOP vs modules vs flat functions)
- Error handling strategy (pcall wrapping, fallbacks, retry logic)
Hand off when: Pure syntax → roblox-luau-core · Type annotations → roblox-luau-types · Networking/data/security → roblox-networking, roblox-data, roblox-security · Performance → roblox-performance.
Full examples and code samples: references/full.md