Rust Symbol Analyzer

🌐Community
by actionbook · vlatest · Repository

Analyzes Rust code symbols from Actionbook projects to extract metadata for documentation generation and tooling.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add actionbook-rust-symbol-analyzer npx -- -y @trustedskills/actionbook-rust-symbol-analyzer
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "actionbook-rust-symbol-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/actionbook-rust-symbol-analyzer"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

Rust Symbol Analyzer

What it does

This skill enables AI agents to parse and analyze Rust source code files, extracting structured symbol information such as functions, structs, and methods. It provides a programmatic way to understand code topology without manual inspection.

When to use it

  • Codebase Navigation: Quickly locate specific modules or dependencies within a large Rust project.
  • Dependency Analysis: Identify external crates used in a specific function or file.
  • Refactoring Support: Map out call graphs to understand the impact of changing a specific struct or trait.
  • Documentation Generation: Automatically extract symbol signatures for generating API docs.

Key capabilities

  • Parses Rust source files into an internal representation.
  • Extracts detailed metadata for functions, structs, enums, and traits.
  • Supports filtering symbols by visibility (public/private) and attributes.
  • Returns structured JSON data suitable for further processing or display.

Example prompts

  • "Analyze src/main.rs and list all public functions along with their signatures."
  • "Find every struct in the project that derives the Serialize attribute."
  • "Extract the call graph starting from the run function in lib.rs."

Tips & gotchas

Ensure the target file is valid Rust code; syntax errors may cause parsing failures. For large projects, consider splitting analysis into smaller chunks to avoid memory overhead.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
actionbook
Installs
36

🌐 Community

Passed automated security scans.