lua-reserved-words
CommunityQuote reserved Lua keys to avoid errors.
AuthorWayneWalterBerry
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Lua reserved words cannot be used as bare table keys — must bracket-quote them.
Core Features & Use Cases
- Always bracket-quote reserved words when used as table keys, e.g. ["break"] = { ... }.
- Lua 5.x reserved words: and, break, do, else, elseif, end, false, for, function, goto (5.2+), if, in, local, nil, not, or, repeat, return, then, true, until, while.
- Common traps in game content: break, end, return, not, and, or, do, repeat. The sandboxed loader catches this at load time — error message: "unexpected symbol near 'break'"
Quick Start
Always bracket-quote reserved words when used as table keys in your definitions.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: lua-reserved-words Download link: https://github.com/WayneWalterBerry/MMO/archive/main.zip#lua-reserved-words Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.