lsp-navigator
БесплатноЗапускает вложенные скриптыНе проверенCompiler-level code intelligence via native LSP — definitions, references, types, call hierarchies, and diagnostics.
от oimiragieo★ 48 звёзд на GitHubОб этом скилле
LSP Navigator
PREREQUISITE: LSP tools are deferred. Load first: ToolSearch({query:"select:LSP"}) CRITICAL: LSP returns EMPTY for .cjs files. Use ripgrep for .cjs instead.
When to Use
Use lsp-navigator when you need compiler-verified precision rather than text-based heuristics:
- Tracing where a symbol is defined (following imports, re-exports, index files)
- Finding every callsite of a function before refactoring
- Verifying parameter types and return types without reading the whole file
- Building complete call hierarchy trees for architecture review
- Validating that imports resolve correctly after a move/rename
- Checking what methods an interface requires vs. what a class provides
Use the diagnostics runner (lsp-diagnostics-runner.cjs) when you need:
- Bulk dead-code detection across many files (exports with zero importers)
- Broken import scanning (require() paths that don't resolve)
- Codebase health checks as part of QA or proactive-audit workflows
Do NOT use for:
- Discovering code you don't have a position for yet (use
pnpm search:codefirst) - Searching text inside comments or string literals (use ripgrep)
- Finding code by pattern shape (use code-structural-search)
Operation Reference
| Operation | Purpose | Best For |
|---|---|---|
goToDefinition |
Find where a symbol is defined | Navigating to source of imported functions/classes |
findReferences |
Find all usages of a symbol | Impact analysis before refactoring |
hover |
Get type info and docs | Verifying parameter types, checking API contracts |
documentSymbol |
List all symbols in a file | File structure overview, finding entry points |
workspaceSymbol |
Search symbols by name | Finding functions/classes across the workspace |
goToImplementation |
Find implementations of interface | Tracing concrete behavior of abstract types |
prepareCallHierarchy |
Get call hierarchy item ⚠️ Always call this BEFORE incomingCalls/outgoingCalls or you get silent empty results. | Setting up for incoming/outgoing call analysis |
incomingCalls |
Find all callers | Understanding who depends on this function |
outgoingCalls |
Find all callees | Understanding what a function depends on |
All operations require: filePath (absolute path), line (1-based), character (1-based).
Search Intelligence Decision Table
| Question | Tool | Why |
|---|---|---|
"Where is foo defined?" |
lsp-navigator (goToDefinition) |
Compiler-pre |
Установить lsp-navigator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashВложенные файлы
FAQ
Что делает скилл lsp-navigator?
Compiler-level code intelligence via native LSP — definitions, references, types, call hierarchies, and diagnostics.
Как установить скилл lsp-navigator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lsp-navigator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic