From sc-skills
Applies Neovim community best practices, plugin architecture patterns, and idiomatic Lua style when writing, reviewing, or refactoring Neovim plugins.
npx claudepluginhub kylesnowschwartz/simpleclaude --plugin sc-skillsThis skill uses the workspace's default tool permissions.
Apply best practices from the Neovim community to write clean, idiomatic Lua plugins.
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Builds DCF models with sensitivity analysis, Monte Carlo simulations, and scenario planning for investment valuation and risk assessment.
Calculates profitability (ROE, margins), liquidity (current ratio), leverage, efficiency, and valuation (P/E, EV/EBITDA) ratios from financial statements in CSV, JSON, text, or Excel for investment analysis.
Apply best practices from the Neovim community to write clean, idiomatic Lua plugins.
Use this skill automatically when:
The Type A Neovim developers use:
| Tool | Purpose |
|---|---|
| StyLua | Formatter (opinionated, like prettier) |
| selene | Linter (30+ checks) |
| lua-language-server | Type checking via LuaCATS annotations |
Neovim's own .stylua.toml:
column_width = 100
indent_type = "Spaces"
indent_width = 2
quote_style = "AutoPreferSingle"
From nvim-best-practices (parts upstreamed to :h lua-plugin):
setup(): Plugins should work out of the box. Separate configuration from initialization.<Plug> mappings: Let users define their own keymaps instead of hardcoding bindings.:Rocks install not :RocksInstall, :RocksPrune, etc.require(): Don't load everything at startup. Require inside command implementations.lua/{plugin}/health.lua for :checkhealth.snake_case for functions and variables, PascalCase for classes/modulesplugin-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 files
For detailed guidance with code examples, see references/nvim-best-practices.md.
External sources:
:h lua-guide:h lua-plugin