rust-symbol-analyzer
Analyze Rust project structure using LSP symbols. Triggers on: /symbols, project structure, list structs, list traits, list functions, 符号分析, 项目结构, 列出所有, 有哪些struct
Profile →npx skills add majiayu000/claude-skill-registry --skill rust-symbol-analyzer --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 ``` ## Output Format ### Project Overview ``` ## Project Structure: my-project ### Modules
- Usage
- LSP Operations
- 1. Document Symbols (Single File)
- 2. Workspace Symbols (Entire Project)
- Workflow
- Output Format
- Project Overview
- By Symbol Type
- Single File Analysis
- Analysis Features
- Complexity Metrics
- Dependency Analysis
- Symbol Types
- Common Queries
What does the rust-symbol-analyzer skill do?
Analyze Rust project structure using LSP symbols. Triggers on: /symbols, project structure, list structs, list traits, list functions, 符号分析, 项目结构, 列出所有, 有哪些struct
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill rust-symbol-analyzer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.