lua-standards
Installation
SKILL.md
Lua Best Practices
When to Use This Skill
This skill should be triggered when:
- Writing or reviewing Lua code
- Configuring Neovim, Hammerspoon, or other Lua-scriptable tools
- Working with game engines (LÖVE2D, Defold, Roblox)
- Discussing Lua patterns and conventions
- Setting up Lua tooling or type checking
Core Capabilities
- Scoping:
localeverywhere, avoid globals - Type Safety: LuaLS annotations for IDE support and checking
- Code Quality: StyLua for formatting, luacheck for linting
- Error Handling: pcall/xpcall for recoverable errors
- Module Pattern: Clean exports, no global pollution