/vibing-nvim:vibing-code-tourfrom vibing-nvim
Drives a running Neovim to walk through code execution paths file-by-file, line-by-line. Use instead of describing flows in chat text.
Ships in vibing-nvim. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A list of file:line references in a chat message is something the user still has to go open
themselves. This skill instead drives their editor: each stop of the explanation is a real file
opened at a real line, and the whole route is left behind in the quickfix list so they can walk it
again afterwards with :cnext / :cprev.
Requires the vibing-nvim MCP tools (a running Neovim). Without them, fall back to explaining the
flow as text with file:line references, and say that's what you're doing.
Not for single-symbol questions ("where is X defined") — use the nvim-lsp-navigation skill for
those.
Establish the path with the LSP tools (see nvim-lsp-navigation for which tool answers which
question), falling back to Grep/Glob where LSP has nothing to say. nvim_load_buffer loads a
file in the background so you can analyze it without disturbing what the user is looking at.
Build an ordered list of stops as you go: { filename, lnum, col, text }, where text is a short
label — it is what shows in the quickfix window, so make it say what happens at that line, not
what the file is called.
One nvim_set_qflist call with every stop in visiting order, a title naming the tour, and
open: true.
Call it exactly once per tour. Each call pushes a new quickfix list, so a second call leaves
:cnext walking a different list than the one you are narrating. (The same property is why this
is safe to call at all: whatever the user had in quickfix before is still there under :colder.)
Note col is 1-based here, matching native quickfix — unlike the 0-based col that
nvim_set_cursor and the nvim_lsp_* tools use. Add 1 when you carry a position over from an LSP
result.
For each stop:
nvim_list_windows to find a window that isn't the chat buffer — never assume winnr: 0nvim_win_open_file with that winnr, then nvim_set_cursor with the same winnr
(1-based line, 0-based col)Pass winnr to nvim_set_cursor every time. nvim_win_open_file restores focus before it
returns, so the window holding the file is not the current one; omitting winnr moves the chat's
cursor instead and nothing reports an error. Same for nvim_highlight_range — give it the bufnr
the open returned, not 0.
Every stop or two, ask the user to choose — options along the lines of "next", "go deeper here",
"stop" — by ending your reply with a vibing-question block, as your system prompt describes.
This ends your turn. The block must be the last thing you write, so nothing after it runs; the user's choice arrives as the next turn's message.
The consequence for a tour: nothing you are holding in your head survives the question. Before
every ask, write the tour state into your chat message as plain text — which stop you are on, how
many there are, and the remaining stops with their file:line. The next turn resumes the same
session, so that text is what you will read to pick the tour back up. There is no way to query the
quickfix list back out of Neovim; the transcript is the only copy of the route.
When the tour ends — finished, or the user stopped it — tell them the route is still in quickfix:
:cnext / :cprev to walk it, :cc N to jump to one stop, :copen to see the list, and
:colder to get back to whatever quickfix list they had before the tour.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub shabaraba/vibing.nvim --plugin vibing-nvim12 skills in this plugin
/nvim-contextUse only when the user's request depends on live Neovim state, such as the current buffer, cursor, visual selection, unsaved edits, windows, tabs, or an explicit request to use nvim tools. Do not use for ordinary questions or tasks that do not reference the active editor./nvim-lsp-navigationUse when navigating or analyzing a codebase that's open in a running Neovim instance via vibing.nvim with an LSP client attached. Prefers the vibing-nvim MCP LSP tools (definitions, references, hover, diagnostics, symbols, call hierarchy) over text search for "where is X defined/used/called", "what type is this", "what's broken here" style questions, since they reflect language-aware, live analysis rather than a text match./vibing-chat-recallUse when a vibing.nvim chat session's context feels lost or discontinuous — after a session reset, a dropped connection, or when Claude's own reasoning no longer matches what was discussed earlier in this conversation. Re-reads this conversation's own chat buffer (the buffer announced via the "Current vibing.nvim chat buffer number:" line in the system prompt) to silently restore context. Also invoke when the user explicitly asks to "remember", "recall", or "re-read the chat history" (in any language). Not for browsing other, unrelated past chat files — use vibing-chat-search for that./vibing-chat-searchUse when the user wants to find a past vibing.nvim conversation by topic — phrases like "前に〜について聞いたことあったっけ", "did we talk about X before", "find that chat where I asked about Y". Searches every chat file under .vibing/chat/ (both User and Assistant content) for a natural-language query, narrows candidates with grep, then reads and semantically judges the survivors before presenting matches. Not for recovering this conversation's own lost context — use vibing-chat-recall for that./vibing-orchestrateRun several independent tasks in parallel by creating worker vibing.nvim chats, handing each one a self-contained brief, and aggregating their results. Use when the user asks for parallel work ("do these three in parallel", "split this across separate chats", "並行でやって", "この2つを別々のチャットで")./vibing-workerUse when this chat's system prompt states it was started by another vibing.nvim chat (an orchestrator). Covers where and when to report back, the report's shape, and what not to do — the full version of the protocol summarized in that system-prompt line.Other plugins' skills for the same job