
Rust Symbol Analyzer
Structured Rust project analysis that lists modules, structs, traits, functions, and enums from LSP symbols.
- skills.sh installs
- 3.5K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers project-wide and single-file views, with optional
--type struct|trait|fn|modfiltering on the symbol list - Includes LSP
documentSymbolandworkspaceSymboloperations, plus per-type tables for locations, fields, derives, and implementors - Adds complexity hotspot flags and internal import and imported-by dependency maps for each file
- Designed for developers who need a quick structural overview of a Rust codebase before navigating or refactoring it
Install
$ npx -y skills add actionbook/rust-skills --skill rust-symbol-analyzer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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)
Get all symbols in a file with their hierarchy.
LSP(
operation: "documentSymbol",
filePath: "src/lib.rs",
line: 1,
character: 1
)
Returns: Nested structure of modules, structs, functions, etc.
2. Workspace Symbols (Entire Project)
Search for symbols across the workspace.
LSP(
operation: "workspaceSymbol",
filePath: "src/lib.rs",
line: 1,
character: 1
)
Note: Query is implicit in the operation context.
Workflow
User: "What's the structure of this project?"
│
▼
[1] Find all Rust files
Glob("**/*.rs")
│
▼
[2] Get symbols from each key file
LSP(documentSymbol) for lib.rs, main.rs
│
▼
[3] Categorize by type
│
▼
[4] Generate structure visualization
Details
- Repository
- github.com/actionbook/rust-skills
- Categories
- Rust, Code Review & Quality
- First seen
- May 16, 2026
More from actionbook/rust-skills
All 38- Domain Web3.5K
- Domain Cli3.5K
- Rust Learner3.4K
- Rust Skill Creator3.4K
- Rust Deps Visualizer3.3K
- Meta Cognition Parallel3.3K
- Rust Daily3.3K
- Domain Embedded3.2K
- Domain Cloud Native3.2K
- Domain Fintech3.1K
- Domain Ml3.1K
- Domain Iot3K
- Rust Router3K
- Core Agent Browser2.3K
- Core Dynamic Skills2.1K
- Core Actionbook2.1K
- Core Fix Skill Docs2.1K
- M15 Anti Pattern9.4K
- Coding Guidelines4.3K
- M10 Performance4K
- M07 Concurrency3.8K
- M06 Error Handling3.8K
- M01 Ownership3.7K
- M05 Type Driven3.7K
Similar to Rust Symbol Analyzer
More Rust
rust-code-navigatorSkillactionbook/rust-skills3.6K installsNavigate Rust codebases with LSP to jump to definitions, find references, and inspect types.
rust-trait-explorerSkillactionbook/rust-skills3.5K installsRust trait-implementation finder that maps implementors and traits-per-type using LSP operations.
Tree-sitterMCP serverwrale312 starsTree-sitter parse trees, symbols, and queries across many languages for project code analysis.
sqry - Semantic Code SearchMCP serververivus-oss31 starsStructural code search over a local AST graph: symbols, callers, impact, and cross-language edges.
lsp-code-analysisSkilllsp-client/lsp-skill958 installsSemantic code navigation, symbol search, refactoring previews, and file outlines for exploring unfamiliar codebases via LSP.