nvim-context

Neovim context provider

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "nvim-context" with this command: npx skills add majjoha/dotfiles/majjoha-dotfiles-nvim-context

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-context tool 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

Technical details

To use this skill, execute the nvim-context CLI command which outputs JSON:

{ "cursor": { "line": 43, "col": 3 }, "file": "/path/to/current/file.rb", "selection": null, "diagnostics": [] }

Implementation

When this skill is loaded, execute nvim-context via Bash and parse the JSON output to understand the current editor state. Use the returned data to answer user questions about their code.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

dotnet-10-csharp-14

No summary provided by upstream source.

Repository SourceNeeds Review
General

flutter-riverpod-expert

No summary provided by upstream source.

Repository SourceNeeds Review
General

modern-css

No summary provided by upstream source.

Repository SourceNeeds Review
General

web-animation-design

No summary provided by upstream source.

Repository SourceNeeds Review