rust-call-graph

Visualize Rust function call relationships using LSP call hierarchy.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-call-graph-jylhis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-call-graph
Source: https://github.com/Jylhis/claude-marketplace/tree/main/plugins/rust-dev/skills/rust-call-graph
Command: npx skills add https://github.com/Jylhis/claude-marketplace --skill rust-call-graph-jylhis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing Rust codebases often reveals opaque call relationships; this Skill visualizes and navigates function call graphs via LSP to improve understanding and debugging.

Core Features & Use Cases

  • Visualize incoming and outgoing calls for a selected function to identify hot paths and dependencies.
  • Explore bidirectional call graphs across modules, enabling safer refactoring and performance analysis.
  • Use cases include code exploration, debugging, and architectural planning for Rust projects.

Quick Start

Invoke /rust-call-graph <function_name> in your editor to generate the call graph automatically.

Frequently Asked Questions about rust-call-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize a Rust function call graph to understand code dependencies?

To visualize a Rust function call graph, you can use LSP call hierarchy tooling to map incoming and outgoing function calls. This approach improves code comprehension by revealing caller and callee relationships across modules for debugging and architectural planning.

Can I trace incoming and outgoing function calls across modules in Rust?

Yes, you can trace incoming and outgoing function calls across modules in Rust using bidirectional call graph visualization. By leveraging LSP call hierarchy, you can identify hot paths and dependencies for safer refactoring and performance analysis.

What is the best way to explore Rust call relationships for code comprehension?

The best way to explore Rust call relationships for code comprehension is using LSP-based call graph visualization. This method automatically maps callers and callees, enabling deep analysis of function call structures across varying project sizes.

Do I need LSP tooling to generate a Rust call graph?

Yes, LSP tooling is required to generate a Rust call graph. The visualization process relies entirely on the Language Server Protocol call hierarchy to map and navigate function call relationships within your codebase.

How do I start generating a call graph for a specific Rust function?

To start generating a call graph for a specific Rust function, provide the function name along with optional depth and direction hints. This input drives the LSP to automatically produce the visual call relationship map.

Does Rust call graph visualization work for large codebases?

Yes, Rust call graph visualization works for large codebases. The Skill applies to Rust projects of varying sizes, enabling architectural planning and code exploration by analyzing bidirectional function calls across modules.