rust-symbol-analyzer

Enumerate Rust modules, structs, traits, and functions via LSP symbols.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mberetvas/dbt-migrator --skill rust-symbol-analyzer-mberetvas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-symbol-analyzer
Source: https://github.com/mberetvas/dbt-migrator/tree/main/.github/skills/rust-symbol-analyzer
Command: npx skills add https://github.com/mberetvas/dbt-migrator --skill rust-symbol-analyzer-mberetvas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly understand Rust codebases by mapping their structure through LSP symbol data, revealing modules, structs, traits, and functions.

Core Features & Use Cases

  • Extract workspace and file-level symbol hierarchies using LSP to visualize project organization.
  • Support enumeration of modules, structs, traits, and functions for code navigation, refactoring planning, and onboarding.
  • Apply to multi-crate workspaces to compare structures across crates and identify dependencies and boundaries.

Quick Start

Analyze a Rust project or file with the rust-symbol-analyzer to reveal its symbol structure.

Frequently Asked Questions about rust-symbol-analyzer

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

FAQPage Schema
How do I map Rust project structure using LSP symbols?

Mapping Rust project structure with LSP symbols involves enumerating modules, structs, traits, and functions to reveal code organization. The analysis applies to individual files or entire crates, producing structured output that visualizes symbol hierarchies across a workspace.

What is the best way to analyze a Rust workspace for code navigation and onboarding?

Analyzing a Rust workspace for code navigation is best done by extracting file-level and workspace symbol hierarchies. This approach enumerates key code constructs across multiple crates, helping you identify dependencies, compare structures, and understand module boundaries for onboarding.

Can I enumerate Rust structs and traits across multiple crates in a workspace?

Yes, you can enumerate Rust structs, traits, modules, and functions across multiple crates. By applying workspace symbol queries, the analysis maps code organization across the entire workspace, allowing you to compare structures and identify dependencies between crates.

Does rust-analyzer support extracting Rust code structure for tooling integration?

rust-analyzer supports extracting Rust code structure by providing LSP document and workspace symbol queries. This allows you to map code organization and generate structured output suitable for visualization, tooling integration, or documentation generation.

How do I prepare to plan refactoring for a Rust codebase?

Preparing to plan refactoring for a Rust codebase requires mapping the existing project structure. By enumerating modules, structs, traits, and functions through LSP symbols, you can clearly visualize module boundaries and symbol hierarchies to guide your refactoring strategy.