From setup-neovim-plugin
Configure a Neovim plugin from GitHub. Use whenever the user mentions adding, installing, or setting up a Vim/Neovim plugin, even if they don't say "skill" or "setup". Fetches docs via context7, writes minimal config to init.lua/init.vim, and updates the project README.md in Chinese.
How this skill is triggered — by the user, by Claude, or both
Slash command
/setup-neovim-plugin:setup-neovim-pluginThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user provides a plugin name or GitHub URL.
The user provides a plugin name or GitHub URL.
https://github.com/preservim/nerdtree), extract the repo path (preservim/nerdtree).nerdtree), assume https://github.com/preservim/{name} unless told otherwise.vim-airline/vim-airline), use it directly.Resolve the library ID for the plugin's GitHub repo. Use the repo path as libraryName (e.g. preservim/nerdtree) and query for installation and configuration instructions.
If context7 returns no useful results, fall back to a basic config template using the plugin name in lowercase with hyphens.
Check in the current working directory for:
init.lua (preferred — Neovim's modern config format)init.vimvim.cfgIf none exist, create init.lua. If multiple exist, prefer init.lua.
Read the existing config file. Track:
use, plug, dein, packer, or lazy).Goal: keep config minimal and non-redundant. Rewrite sections for the same plugin rather than appending duplicate blocks.
Use the context7 docs (or fallback) to write the minimal required config:
lazy.nvim as default for new setups)require('plugin-name').setup({}) if the plugin uses Lua moduleIf the project already has a plugin manager set up (e.g. vim-plug), reuse it. If not, prefer lazy.nvim for new setups — it's the modern standard for Neovim.
Read the existing README.md in the current working directory.
Add or update a ## 插件配置 (Plugin Config) section with:
Keep it concise. If the section already exists for this plugin, replace it entirely.
Format example:
## 插件配置
### [plugin-name](https://github.com/org/repo)
**安装方式**
```lua
-- init.lua
return {
"org/repo"
}
基本用法
: command description
### Step 7: Verify
- Config file is valid Lua (no syntax errors)
- README.md has the new/updated section
- Report to the user: what was added/modified and where
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub starmountain1997/g-claude --plugin setup-neovim-plugin