pi-lens-lsp-navigation
Installation
SKILL.md
LSP Navigation and Diagnostics
Use lsp_navigation as PRIMARY for code intelligence. Use lens_diagnostics with source=lsp as PRIMARY for proactive type/error checks. Do NOT use grep/glob/ast-grep first for code intelligence.
Aggregate-tool hosts
Some hosts expose pi-lens through a single aggregate tool — lens(action=...) — instead of registering the standalone names below. On those hosts:
- Proactive checks:
lens({ action: "lsp_diagnostics", ... })— same parameters as the table below; the cached-report entry point maps tolens({ action: "diagnostics", ... }). - If
lsp_navigationis not among the aggregate's actions, do not call the standalone name: use the host's structural search funnel (symbol_search→module_report→read_symbol) or theast-grepCLI for navigation instead.
Diagnostics
Use lens_diagnostics with source=lsp before builds/tests or after touching several files: