rust-symbol-analyzer

Installation
Summary

Analyze Rust project structure and symbols using LSP with filtering by type.

  • Supports three analysis modes: entire project workspace, single file, or filtered by symbol type (struct, trait, function, module)
  • Uses LSP document and workspace symbol operations to extract nested symbol hierarchies with metadata like visibility, async status, and derives
  • Generates multiple output formats including module trees, symbol tables by type, complexity metrics, and dependency analysis
  • Handles common queries in English and Chinese, with support for glob-based file discovery across the codebase
SKILL.md

Rust Symbol Analyzer

Analyze project structure by examining symbols across your Rust codebase.

Usage

/rust-symbol-analyzer [file.rs] [--type struct|trait|fn|mod]

Examples:

  • /rust-symbol-analyzer - Analyze entire project
  • /rust-symbol-analyzer src/lib.rs - Analyze single file
  • /rust-symbol-analyzer --type trait - List all traits in project

LSP Operations

1. Document Symbols (Single File)

Related skills

More from zhanghandong/rust-skills

Installs
624
GitHub Stars
1.1K
First Seen
Jan 22, 2026