From supervibe
Use BEFORE making non-trivial changes to source code to find relevant existing code, similar patterns, and callers via hybrid keyword+semantic search. Triggers: 'найди код', 'кто вызывает', 'callers <symbol>', 'где используется'.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
Retrieval policy: code RAG is mandatory for code changes, unfamiliar code, bug
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Retrieval policy: code RAG is mandatory for code changes, unfamiliar code, bug fixes, implementation planning and stack discovery. Codegraph is mandatory for rename, move, delete, extract, public API change, dependency impact analysis, architecture review and multi-file refactor.
BEFORE any non-trivial code change. Specifically:
This skill replaces blind grep. It surfaces conceptually-related code even when keywords don't overlap, leveraging the multilingual-e5-small embedding model and FTS5 BM25 over the project's source files.
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
.supervibe/memory/code.dbnode <resolved-supervibe-plugin-root>/scripts/build-code-index.mjs --root . --resume --source-only --max-files 200 --max-seconds 120 --health --json-progress from the project root first; after source coverage is healthy, run node <resolved-supervibe-plugin-root>/scripts/build-code-index.mjs --root . --resume --graph --max-files 200 --health when graph data is neededWhat's the search intent?
"How does X work?" / concept-level → SEMANTIC: --query "<topic>"
"Where is X defined?" → SEMANTIC + Read top hit at file:line
"Who calls X?" / "what depends on X?" → GRAPH: --callers "X"
"What does X depend on?" → GRAPH: --callees "X"
"Show me everything around X" → GRAPH: --neighbors "X" --depth 2
"What are the most important parts of this code?" → GRAPH: --top-symbols 20
"Find similar patterns to X" → SEMANTIC then GRAPH expand
Just need exact symbol name (no neighborhood) → use Grep tool (faster)
node <resolved-supervibe-plugin-root>/scripts/supervibe-status.mjs (or rely on SessionStart banner)node <resolved-supervibe-plugin-root>/scripts/search-code.mjs --query "<text>" [--lang <lang>] [--limit 10]node <resolved-supervibe-plugin-root>/scripts/search-code.mjs --callers "<symbol>" (or --callees)... --neighbors "<symbol>" --depth <1-3>... --top-symbols 20 [--kind class] for orientation in unfamiliar code--callers "<top-hit-name>" then --neighbors "<top-hit-name>" --depth 2path:kind:name:line to pin down onenode <resolved-supervibe-plugin-root>/scripts/supervibe-commands.mjs --match "run code:index" and execute the printed COMMAND: from the project root, or wait for the watcher, then retryUse these before broad file reads:
--context "<task or symbols>" builds an agent-ready pack from RAG chunks, entry symbols, graph neighborhood, impact radius, related files, and semantic anchors.--symbol-search "<query>" returns ranked definitions/locations only.--impact "<symbol>" --depth 2 traces inbound blast radius for refactors and public API changes.--files "src/app" lists indexed files with language and symbol counts.For refactors, prefer --impact plus --neighbors over raw grep. The graph resolver is import-aware and intentionally leaves ambiguous same-name edges unresolved instead of guessing.
Agent-facing retrieval is not just "some hits were found." A high-quality context pack must show:
rewrite, exact-symbol, fts, embedding, repo-map, graph-neighbor, dedupe, rerank);If --context reports graph quality warnings, keep source RAG usable but do not perform a structural refactor until the graph query needed for that refactor has explicit Case A/B/C evidence.
Returns:
git status for uncommitted changes that might not be indexed)--context output includes Retrieval Quality and Graph Quality Gates when used for agent handoffsupervibe:project-memory — search past decisions/patterns (different corpus: markdown notes, not code)supervibe:_core:repo-researcher — uses this skill as primary tool