Rust Symbol Analyzer
Analyzes Rust code symbols (functions, structs, traits) to extract metadata and dependencies for automated tooling.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add rust-symbol-analyzer npx -- -y @trustedskills/rust-symbol-analyzer
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"rust-symbol-analyzer": {
"command": "npx",
"args": [
"-y",
"@trustedskills/rust-symbol-analyzer"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The rust-symbol-analyzer skill enables AI agents to analyze Rust code symbols, such as functions, structs, and modules. It provides insights into symbol relationships, dependencies, and usage patterns within a project, helping developers understand complex codebases more efficiently.
When to use it
- To identify unused or redundant symbols in a large Rust project.
- When refactoring code and needing to track how symbols are used across files.
- For debugging by tracing the origin of a symbol or its dependencies.
- During documentation generation to map out the structure of a library.
Key capabilities
- Symbol discovery: Identifies all functions, structs, enums, and modules in Rust code.
- Dependency mapping: Shows which symbols depend on others.
- Usage tracking: Tracks where each symbol is used within the project.
Example prompts
- "Find all unused functions in this Rust module."
- "Show me the dependencies of the
parse_inputfunction." - "List every struct and its usage in the
src/lib.rsfile."
Tips & gotchas
- Ensure the AI agent has access to the full codebase for accurate symbol analysis.
- Performance may degrade with very large projects, so consider analyzing smaller modules first.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.