Get personalized plugin recommendations based on workflow or existing configuration analysis
Recommends personalized Neovim plugins based on workflow questions or configuration analysis.
/plugin marketplace add kriscard/kriscard-claude-plugins/plugin install neovim-advisor@kriscard[workflow|config]Provide personalized Neovim plugin recommendations based on user workflow or by analyzing existing configuration.
Help user discover plugins that enhance their Neovim experience through either workflow-based questions or configuration analysis.
If argument provided:
workflow - Ask about user's needs and workflowconfig - Analyze existing configurationIf no argument, ask user:
How should I recommend plugins?
- "Ask about my workflow" - Answer questions to get personalized suggestions
- "Analyze my config" - Review installed plugins and suggest improvements
- "Both" - Comprehensive recommendations
Use AskUserQuestion tool.
If workflow approach selected:
Use AskUserQuestion with multiple questions:
Question 1: Tech Stack
What languages/frameworks do you primarily work with? (select multiple)
- TypeScript/JavaScript
- Python
- Rust
- Go
- Other (specify)
Question 2: Development Focus
What type of development do you do most?
- Web frontend (React, Vue, etc.)
- Backend/API development
- Systems programming
- Data science/ML
- DevOps/Infrastructure
- General purpose
Question 3: Existing Tools
What tools do you currently use?
- Git (GitHub, GitLab, etc.)
- Docker/Kubernetes
- Databases (which ones?)
- Cloud platforms (AWS, GCP, Azure)
- Testing frameworks
Question 4: Workflow Preferences
What features are most important to you?
- Fast fuzzy finding
- Git integration
- Debugging capabilities
- AI assistance (Copilot, ChatGPT)
- Note-taking/documentation
- Terminal integration
Based on answers, recommend relevant plugins:
For TypeScript/JavaScript:
For Python:
For Rust:
For Git workflows:
For AI assistance:
For note-taking:
Present recommendations with:
If config analysis approach selected:
Use same logic as check-config:
Read lazy.nvim lock file and plugin specs:
# Check lazy-lock.json
cat ~/.config/nvim/lazy-lock.json
Or read plugin files:
-- Read lua/plugins/*.lua files
Use Read and Glob tools.
Categorize existing plugins:
Check for missing categories:
For each installed plugin, check:
For deep analysis, use Task tool:
Use plugin-advisor agent to:
- Analyze installed plugins
- Check for outdated plugins
- Suggest modern alternatives
- Recommend complementary tools
- Identify unused plugins
Agent has web access to check:
Show results in organized format:
## Plugin Recommendations
### Essential Missing Plugins
**1. nvim-dap (Debugging)**
- Why: You're using TypeScript but have no debugger
- URL: https://github.com/mfussenegger/nvim-dap
- Setup:
```lua
return {
"mfussenegger/nvim-dap",
dependencies = {
"rcarriga/nvim-dap-ui",
"mxsdev/nvim-dap-vscode-js",
},
keys = {
{ "<leader>db", function() require("dap").toggle_breakpoint() end },
},
}
2. neotest (Testing)
return {
"nvim-neotest/neotest",
dependencies = {
"nvim-neotest/neotest-jest",
},
}
1. Replace nvim-tree with oil.nvim
2. Add telescope-fzf-native.nvim
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
}
For Git workflow:
For TypeScript development:
Plugins to lazy-load:
event = "VeryLazy"Would you like me to:
### 5. Provide Installation Help
If user wants to install, offer options:
How would you like to proceed?
#### For Interactive Installation
Guide user through adding each plugin:
1. Create plugin file
2. Add configuration
3. Explain setup
4. Test installation
Use Write tool to create files.
#### For Batch Installation
Generate all plugin specs in one file:
```lua
-- lua/plugins/recommended.lua
return {
-- All recommended plugins
}
Reference neovim-best-practices skill for:
For each recommendation, verify:
Check .claude/neovim-advisor.local.md:
---
tech_stack:
- typescript
- python
plugin_preferences:
- prefer oil.nvim over nvim-tree
- use telescope not fzf
---
Respect user preferences in recommendations.
Use WebFetch to check:
Mention trending/new plugins when relevant.
Help users discover tools that genuinely improve their workflow without overwhelming them.