Loading...
Loading...
This skill SHOULD be used when writing, reviewing, or refactoring Neovim plugins in Lua. Apply Neovim community best practices, plugin architecture patterns, and idiomatic Lua style to ensure clean, maintainable plugins.
npx skill4agent add kylesnowschwartz/simpleclaude effective-neovim| Tool | Purpose |
|---|---|
| StyLua | Formatter (opinionated, like prettier) |
| selene | Linter (30+ checks) |
| lua-language-server | Type checking via LuaCATS annotations |
.stylua.tomlcolumn_width = 100
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle":h lua-pluginsetup()<Plug>:Rocks install:RocksInstall:RocksPrunerequire()lua/{plugin}/health.lua:checkhealthsnake_casePascalCaseplugin-name/
├── lua/
│ └── plugin-name/
│ ├── init.lua # Entry point, setup function
│ ├── health.lua # :checkhealth integration
│ └── *.lua # Module files
├── plugin/
│ └── plugin-name.lua # Auto-loaded, defines commands/autocommands
├── doc/
│ └── plugin-name.txt # Vimdoc for :h plugin-name
└── tests/
└── *_spec.lua # Busted test filesreferences/nvim-best-practices.md:h lua-guide:h lua-plugin