What problem does it solve?
This Skill helps you produce consistent, maintainable Lua code by enforcing clear style rules, disciplined scoping, and predictable error handling.
Core Features & Use Cases
- Style Guidance: Follows the Lua Style Guide to keep code readable and idiomatic.
- Tooling Alignment: Supports StyLua formatting, luacheck linting, and busted testing for a cohesive quality workflow.
- Safe Runtime Patterns: Encourages local-only scope, nil-and-error returns for expected failures, and pcall or xpcall for unexpected failures.
- Lua OOP Patterns: Uses metatables and __index for object-oriented design in modules and application code.
- Use Case: Apply this Skill when reviewing or authoring Lua plugins, scripts, or game logic that must stay clean, testable, and free of global namespace pollution.
Quick Start
Ask the assistant to review my Lua file for style, local scoping, error handling, and metatable-based object orientation.