rust-symbol-analyzer

Extract and categorize Rust workspace symbols into hierarchical views.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-symbol-analyzer-jylhis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-symbol-analyzer
Source: https://github.com/Jylhis/claude-marketplace/tree/main/plugins/rust-dev/skills/rust-symbol-analyzer
Command: npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-symbol-analyzer-jylhis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly understand Rust codebases by producing a structured symbol view across modules, structs, enums, traits, and functions via LSP.

Core Features & Use Cases

  • Generate a hierarchical map of project symbols for entire workspace or individual files
  • Visualize module boundaries and symbol relationships to aid onboarding and refactoring
  • Use case: quickly assess the structure of a crate or large Rust project to plan changes

Quick Start

Run the rust-symbol-analyzer on a Rust project or file to list symbols by type.

Frequently Asked Questions about rust-symbol-analyzer

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

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

You can visualize Rust project structure by extracting workspace symbols and categorizing modules, structs, traits, and functions. This process leverages LSP operations to generate a nested, hierarchical symbol map for the entire codebase.

Can I analyze individual Rust source files instead of an entire workspace?

Yes, you can analyze individual Rust source files. The tool works on entire projects, per-crate layouts, or single files to generate hierarchical symbol views using documentSymbol and workspaceSymbol operations.

What is the best way to map module boundaries in a large Rust codebase?

The best way to map module boundaries is by extracting LSP symbols to visualize symbol relationships. This produces a structured view of modules, structs, enums, traits, and functions, which aids onboarding and refactoring.

Do I need rust-analyzer to extract Rust workspace symbols?

Extracting Rust workspace symbols relies on LSP operations like documentSymbol and workspaceSymbol. Any environment providing standard LSP capabilities can be used to assemble the nested symbol map for your codebase.

What Rust symbol types are extracted when analyzing code structure?

When analyzing code structure, the extracted Rust symbol types include modules, structs, enums, traits, and functions. These symbols are categorized to provide a clear hierarchical view of the project layout.

How do I plan refactoring for a Rust crate when I am new to the codebase?

To plan refactoring, you can generate a hierarchical map of project symbols for the workspace or crate. Visualizing module boundaries and symbol relationships helps you quickly assess the structure and prepare changes.