luau-type-expert
Installation
SKILL.md
Luau Type Expert
Expert guidance for writing type-safe, clean Luau code that passes strict type checking.
Type Modes
Always use --!strict at file top. Three modes exist:
| Mode | Behavior |
|---|---|
--!nocheck |
Disables type checking entirely |
--!nonstrict |
Unknown types become any (default) |
--!strict |
Full type tracking, catches mismatches |
Syntax Essentials
Standard annotation syntax (variables, function params/returns, optionals ?, multiple returns, variadics, table types, aliases) is covered in references/api_reference.md. The parts worth remembering: