/lua-toolkit:lua-toolkitfrom Lua Toolkit
Creates, refactors, tests, or releases Neovim Lua plugins and migrates standalone/embedded Lua programs across versions 5.1-5.5.
Ships in Lua Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
For Neovim plugins, target LuaJIT/Lua 5.1 with LuaRocks-first distribution,
LuaCATS types, self-lazy-loading, and no forced setup(). For standalone or
embedded programs, provide Lua version migration and compatibility verification
without imposing Neovim architecture or APIs.
Route to one mode and load only that reference unless work crosses boundaries. Identify the actual interpreter or embedding host and the versions the project must retain before choosing syntax, library replacements, or checks.
plugin/ vs lua/ separation, deferred-require loading,
no-runtime-entrypoint plugins, util.lua refactoring, global-pollution
rules, if jit then ... else fallback.vim.g.<plugin>
(table-or-function) config not forced setup(), partial LuaCATS config
classes, dict-vs-list vim.tbl_deep_extend behavior, modern vim.validate
(0.11+) signature, lua/<plugin>/health.lua checks.plugin/+ftplugin/ (don't rely on the plugin
manager), minimal lazy.nvim specs, native-API-over-plenary, lazy = true
deps, coroutine build constraints.complete, <Plug> mappings with no default keymaps, buffer-local
state, ftplugin vs after/ftplugin..luarc.json ("Lua 5.1"), lua51
.luacheckrc, stylua baseline.plenary.job, plenary.path, plenary.scandir, plenary.async,
plenary.curl, plenary.test_harness, popup/window helpers, strings,
filetype, and logging with native Neovim APIs or focused dependencies.busted+nlua (neorocksTest for Nix), stable/nightly CI matrix,
vimcats/panvimdoc generation, SemVer .rockspec/luarocks-tag-release.Target Lua 5.1 / LuaJIT 2.1, avoid globals, self-lazy-load, prefer lazy
vim.g.<plugin> config over forced setup(), expose one scoped command plus
<Plug> mappings, and gate types with LuaCATS/lua-ls. Read
core-rules.md when writing or reviewing plugin code.
Canonical real-world examples: nvim-best-practices,
nvim-lua-nix-plugin-template (Nix CI), rustaceanvim, neotest-haskell.
See operating-rules.md.
agents/openai.yaml (opens in a new tab)references/apis-and-keymaps.md (opens in a new tab)references/configuration.md (opens in a new tab)references/core-rules.md (opens in a new tab)references/loading-and-install.md (opens in a new tab)references/lua-compatibility-verification.md (opens in a new tab)references/lua-version-migration.md (opens in a new tab)references/operating-rules.md (opens in a new tab)references/plenary-migration.md (opens in a new tab)references/plugin-architecture.md (opens in a new tab)references/testing-and-distribution.md (opens in a new tab)references/tooling-and-quality.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub khaneliman/khanelinix --plugin lua-toolkitOther plugins' skills for the same job