From xonovex-skill-lua-opinionated
Use when tuning performance-critical Lua hot paths — the tunings especially benefit LuaJIT, and the principles apply to vanilla Lua 5.4 too. An overlay on lua-guide: covers only hot-path performance, not Lua fundamentals. Triggers on `.lua` files in performance-sensitive or LuaJIT projects and on prompts about JIT-friendly tables, table pre-allocation, cache lookups, stable table shapes, or hot-path tuning, even when the user doesn't say 'LuaJIT'.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xonovex-skill-lua-opinionated:lua-opinionated-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A performance overlay on **lua-guide**. Apply **lua-guide** for all Lua fundamentals — module pattern, local variables, metatables, coroutines, input validation, error handling, string building, idioms. This skill adds only hot-path tuning: the tunings especially benefit LuaJIT, and the same principles still help vanilla Lua 5.4.
A performance overlay on lua-guide. Apply lua-guide for all Lua fundamentals — module pattern, local variables, metatables, coroutines, input validation, error handling, string building, idioms. This skill adds only hot-path tuning: the tunings especially benefit LuaJIT, and the same principles still help vanilla Lua 5.4.
pairs() in a hot loop can't be JIT-compiled as tightly as a numeric for i = 1, #t loop over a dense arraynil holes) break both # and fast array traces — keep arrays densemath.sin/math.cos into locals matters in hot loops but is noise elsewhere — apply tuning where profiling shows it, not everywhereGuides 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-opinionated