lsp-docs
Three-tier documentation lookup for any symbol — hover → offline toolchain doc → source definition. Use when hover text is absent, insufficient, or the symbol is in an unindexed dependency.
Target: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- lsp-docs
- Decision table
- Tier 1 — LSP hover (fast, live, position-based)
- Tier 2 — Offline toolchain documentation (authoritative, name-based)
- Tier 3 — Source definition (last resort)
- lsp-impact integration note
- Example
Requires the agent-lsp MCP server. Three-tier documentation lookup for any symbol. Works when the language server is unavailable, when hover returns empty results, or when the symbol lives in a transitive dependency that gopls or pyright does not index. Read-only — does not modify any files. Invocation: User provides symbolname in fully-qualified form (e.g. "fmt.Println", "std::vec::Vec::new", "os.path.join"). Optionally provide filepath for any file in the same module, which improves Go package resolution. -- | Situation | Recommended tier | |-----------|-----------------| | Symbol in current workspace | Tier 1 (hover) | | Symbol in direct dependency | Tier 2 (toolchain doc) | | Symbol in transitive dep (not indexed by LSP) | Tier 2 | | No LSP server available | Tier 2 → Tier 3 | | No toolchain installed (e.g., Rust without cargo) | Tier 3 | -- Call inspectsymbol with the file path and cursor position (1-based). If the result contains a non-empty contents field with useful type and doc information, stop here and return it. Hover is the fastest path and should always be tried first. If hover returns empty contents, or the language server is not initialized, proceed to Tier 2. -- Ca
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- OKHP3/skillz
- Source file
- community/lsp-docs/SKILL.md
- Fixed revision
- 7b187777d42ab7bc7bab1e5f2c940cd3139ecebf
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: OKHP3/skillz · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T10:00:54.248Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.