nvim-context
SKILL.md
Neovim context provider
Purpose
Provides live context from the user's Neovim editor session to help answer context-aware questions about code.
How it works
- Executes the
nvim-contexttool to get the current editor state. - Returns JSON data including cursor position, open file, visual selection and diagnostics.
- Use this information to understand references like "this line", "the selection", "current file", etc.
Usage examples
- "What's wrong with this line?" → Check diagnostics at cursor
- "Explain the selected code" → Analyze visual selection
- "What file am I in?" → Return current file path
- "Show me all errors" → List all LSP diagnostics