Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

lsp-navigator

БесплатноЗапускает вложенные скриптыНе проверен

Compiler-level code intelligence via native LSP — definitions, references, types, call hierarchies, and diagnostics.

oimiragieoот 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.

Compiler-level code intelligence skill. Uses Claude Code's native LSP tool to provide type-safe navigation: go-to-definition, find-references, hover info, call hierarchies, and workspace symbol search. Includes an automated diagnostics runner for dead-code detection and broken-import scanning. Complements text search (ripgrep), semantic search (code-semantic-search), and structural search (code-structural-search) with compiler- verified precision. - Navigate to symbol definitions across the workspace (goToDefinition) - Find all references to a symbol (findReferences) - Get type information and documentation on hover (hover) - List all symbols in a document (documentSymbol) - Search symbols across the workspace by name (workspaceSymbol) - Navigate to interface/abstract method implementations (goToImplementation) - Build call hierarchy trees: callers (incomingCalls) and callees (outgoingCalls) - Prepare call hierarchy items at a position (prepareCallHierarchy) - **Automated diagnostics**: Run dead-code and broken-import scans via `lsp-diagnostics-runner.cjs`

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:code first)
  • 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
Полный SKILL.md на GitHub

Установить lsp-navigator в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

commands/lsp-navigator.mdhooks/post-execute.cjshooks/pre-execute.cjsreferences/research-requirements.mdrules/lsp-navigator.mdschemas/input.schema.jsonschemas/output.schema.jsonscripts/main.cjstemplates/implementation-template.md

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить lsp-navigator с