use-lsp

Navigate TypeScript and Rust code via Language Server Protocol.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/jamesc/skills --skill use-lsp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-lsp
Source: https://github.com/jamesc/skills/tree/main/skills/use-lsp
Command: npx skills add https://github.com/jamesc/skills --skill use-lsp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides intelligent code navigation capabilities, allowing developers to understand code structure, find definitions, and trace execution paths more efficiently than traditional text-based searches.

Core Features & Use Cases

  • Semantic Navigation: Go to definitions, find references, and understand code context based on symbol meaning.
  • Code Intelligence: Get hover information for types and documentation, and trace call hierarchies.
  • Use Case: When refactoring a function, use this skill to quickly find all its call sites and understand its impact across the codebase.

Quick Start

Use the LSP skill to find all references for the function at file 'main.py', line 10, character 5.

Frequently Asked Questions about use-lsp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all references of a function in TypeScript or Rust using semantic code navigation?

Semantic code navigation finds all references of a function in TypeScript or Rust by using the Language Server Protocol to trace symbol meanings. It locates exact call sites across the codebase instead of relying on text matching.

How do I trace call hierarchies and understand types when refactoring a Rust codebase?

To trace call hierarchies and understand types when refactoring a Rust codebase, semantic code navigation uses the Language Server Protocol. It provides hover information for types and documentation, allowing you to understand execution paths and impact efficiently.

Does semantic code navigation work when the Language Server Protocol results are unavailable?

Semantic code navigation supports fallback to Grep or Glob for file-based searches when Language Server Protocol results are unavailable or insufficient. This ensures you can still locate symbols and definitions even without full LSP support.

What is the best way to go to definitions across TypeScript files without text matching errors?

The best way to go to definitions across TypeScript files without text matching errors is semantic code navigation. It uses the Language Server Protocol to find definitions based on symbol meaning, ensuring accurate code context retrieval.

Can I use LSP to find all call sites of a function before modifying its signature?

You can use the Language Server Protocol to find all call sites of a function before modifying its signature. Semantic code navigation traces references and call hierarchies, helping you understand the full impact of refactoring across the codebase.