OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add tabooharmony/roblox-brain --skill roblox-luau-core
Use for Luau language semantics, tables, control flow, string patterns, scope, closures, and cross-language translation errors.
npx skills add tabooharmony/roblox-brain --skill roblox-luau-core
Load for pure Luau syntax and semantics: truthiness, tables, iteration, functions, scope, operators, string patterns, and JS/Python ports. Routing: types → roblox-luau-types; ownership/lifecycle → roblox-luau-patterns; Roblox APIs → domain skills.
false and nil are falsy. 0, "", and {} are truthy.0 == "0" is false. Inequality is ~=.#array is meaningful only for a sequence without nil gaps.nil removes a table key; assigning a table copies the reference; table.clone is shallow.record[field]. Dot syntax uses a literal identifier.nil; extra results and arguments can be discarded.if expression over condition and a or b when a may be falsy... concatenation are both valid. Choose the clearer form; join many fragments once in a hot loop.</>; test with x ~= x.buffer library: fixed size, 0-based offsets, explicit-width reads/writes. Avoid buffer.readinteger/writeinteger (stubs, not released runtime).EncodingService (buffers, not strings; JSON via HttpService). Details: see full reference.===, !==, null, optional chaining, spread, arrow functions, and array methods are not Luau syntax.None, zero-based list assumptions, list comprehensions, exceptions, and implicit tuple behavior do not translate directly.x or fallback tests truthiness, not only absence. It replaces a valid false value.typeof(value) recognizes Roblox datatypes; type(value) reports the underlying Luau type category.Valid Luau, no nil gaps, no assumed dictionary order, no accidental aliases, no cross-language syntax, no fallbacks hiding false or nil.
Detailed language traps and translation examples: references/full.md