khaneliman/khanelinix/lua-toolkit
Claude Code and agent skill by khaneliman/khanelinix
- community
Checking that the SKILL.md file is still in the repository.
Create, refactor, test, or release Neovim Lua plugins; assess Lua 5.1-5.5 compatibility and migrate standalone or embedded Lua programs.
Install
npx vskill@latest install khaneliman/khanelinix/lua-toolkitSKILL.md
The same SKILL.md was published earlier as khaneliman/khanelinix/lua-toolkit.
Lua Toolkit
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.
Routing (progressive disclosure)
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.
- Lua version migration or compatibility audit: read
lua-version-migration.md, then lua-compatibility-verification.md for runnable checks and evidence requirements. Cover every intervening boundary from the starting version to 5.5. Keep Neovim/LuaJIT support when required; installing standalone Lua 5.5 does not upgrade an embedding host.
- Neovim plugin work: select the relevant reference below. These modes
retain their Lua 5.1 target and plugin-specific conventions.
- plugin-architecture.md: runtimepath
directory model, plugin/ vs lua/ separation, deferred-require loading, no-runtime-entrypoint plugins, util.lua refactoring, global-pollution rules, if jit then ... else fallback.
- configuration.md:
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.
self-lazy-loading via plugin/+ftplugin/ (don't rely on the plugin manager), minimal lazy.nvim specs, native-API-over-plenary, lazy = true deps, coroutine build constraints.
- apis-and-keymaps.md: single scoped command
with complete, <Plug> mappings with no default keymaps, buffer-local state, ftplugin vs after/ftplugin.
- tooling-and-quality.md: LuaCATS + lua-ls
as primary correctness tool, .luarc.json ("Lua 5.1"), lua51 .luacheckrc, stylua baseline.
- plenary-migration.md: replace
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.
Neovim Plugin Rules
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.
Reference Implementations
Canonical real-world examples: nvim-best-practices, nvim-lua-nix-plugin-template (Nix CI), rustaceanvim, neotest-haskell.
Cross-Skill Boundaries and Reporting
See operating-rules.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/common/ai-tools/skills/lua-toolkit/SKILL.md
Popularity
- Repository stars
- 347
- Repository forks
- 18
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/khaneliman/khanelinix/lua-toolkit)