lsp-cross-repo

Identify all call sites of a library symbol across multiple repositories.

102|5|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-cross-repo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsp-cross-repo
Source: https://github.com/blackwell-systems/agent-lsp/tree/main/skills/lsp-cross-repo
Command: npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-cross-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cross-repo analysis of a library symbol across multiple consumer repositories to understand impact before refactoring.

Core Features & Use Cases

  • Multi-root cross-repo caller analysis to identify all usages of a library symbol.
  • Initialize and index workspaces across library and consumer repos to gather references efficiently.
  • Provides library_references and consumer_references along with warnings to guide safe changes.
  • Optional: show call hierarchy and implementations to trace symbol usage across repos.

Quick Start

Start the LSP server on the library root, locate the symbol, and run the cross-repo reference lookup to enumerate all consumer usages.

Frequently Asked Questions about lsp-cross-repo

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

FAQPage Schema
How do I find all call sites of a library symbol across multiple repositories to support refactoring?

Cross-repo caller analysis identifies all call sites of a library symbol across multiple consumer repositories to support refactoring. Initialize and index workspaces across library and consumer repos to gather references efficiently in one pass.

What is the best way to analyze the impact of changes across consumer repos before modifying a library?

Analyzing the impact of changes across consumer repos requires multi-root cross-repo caller analysis to identify all usages of a library symbol. It provides library_references and consumer_references along with warnings to guide safe changes.

How do I trace symbol usage across repos using LSP cross-repo workspace management?

To trace symbol usage across repos, start the LSP server on the library root, locate the symbol, and run the cross-repo reference lookup. You can optionally show call hierarchy and implementations to trace symbol usage across repos.

Do I need an agent-lsp MCP server to perform cross-repo reference lookups?

Yes, cross-repo reference lookup requires an agent-lsp MCP server with cross-repo workspace management and reference lookup capabilities. The LSP server must be started on the library root to initialize and index workspaces across library and consumer repos.

Can I show call hierarchy and implementations to trace symbol usage across multiple projects?

Yes, you can optionally show call hierarchy and implementations to trace symbol usage across repos. This helps enumerate all consumer usages and prevent regressions when analyzing the impact of changes across multiple projects.

What are the limitations of cross-repo reference lookup when preventing regressions?

Cross-repo reference lookup depends on an agent-lsp MCP server for cross-repo workspace management. It provides library_references, consumer_references, and warnings to guide safe changes, but requires proper workspace initialization and indexing across all consumer repositories to prevent regressions.