From xonovex-skill-lua
Use when editing general-purpose Lua 5.4+ — modules, scripts, configuration. Triggers on `.lua` files and prompts about module patterns, local scoping, metatables, coroutines, error handling, even when the user doesn't say 'Lua'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-lua:lua-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Lua ≥ 5.4.
local, one module per file returning table, see references/module-pattern.md, references/local-variables.mdnil hole breaks the # length operator (it stops at the first nil)/ always returns float, // does integer division — silent bugs in pre-5.3 codelocal — forgetting local in a loop counter leaks into the surrounding scoperequire caches modules; reloading needs package.loaded[name] = nil before re-requiringGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub xonovex/platform --plugin xonovex-skill-lua