Rust Call Graph

🌐Community
by goooice · vlatest · Repository

Analyzes Rust codebases to generate detailed call graphs, identifying dependencies and potential performance bottlenecks for optimization.

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 goooice-rust-call-graph npx -- -y @trustedskills/goooice-rust-call-graph
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "goooice-rust-call-graph": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/goooice-rust-call-graph"
      ]
    }
  }
}

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

About This Skill

What it does

This skill generates call graphs from Rust code. It analyzes function calls within a given codebase, producing a visual representation of how functions interact with each other. This allows developers to understand the flow of execution and dependencies within their Rust projects.

When to use it

  • Debugging complex logic: Visualize the sequence of function calls leading up to an error or unexpected behavior.
  • Understanding unfamiliar codebases: Quickly grasp the structure and relationships between functions in a new project.
  • Performance analysis: Identify potential bottlenecks by observing frequently called functions and their dependencies.
  • Code review: Provide reviewers with a clear overview of function interactions to facilitate better understanding and identify potential issues.

Key capabilities

  • Generates call graphs from Rust code.
  • Analyzes function calls within a codebase.
  • Provides visual representation of function interaction.

Example prompts

  • "Generate a call graph for the src/main.rs file."
  • "Show me the call graph for the process_data function and its dependencies."
  • "Create a call graph visualizing all functions in the lib.rs library."

Tips & gotchas

  • The skill requires access to the Rust code being analyzed. Ensure the AI agent has appropriate permissions or file paths.

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
goooice
Installs
6

🌐 Community

Passed automated security scans.