rust-call-graph

Analyze and visualize Rust function call graphs via LSP.

287|18|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/fjrevoredo/mini-diarium --skill rust-call-graph-fjrevoredo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-call-graph
Source: https://github.com/fjrevoredo/mini-diarium/tree/main/.agents/skills/rust-call-graph
Command: npx skills add https://github.com/fjrevoredo/mini-diarium --skill rust-call-graph-fjrevoredo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables visualization of Rust function call graphs, helping developers understand code structure and call relationships efficiently.

Core Features & Use Cases

  • Call Hierarchy Visualization: Display callers and callees of specific functions in a clear, ASCII-based diagram.
  • LSP Integration: Use language server protocol operations to retrieve call data directly from Rust codebases.
  • Use Case: A Rust developer wants to analyze the call dependencies of a critical function to optimize performance or refactor the codebase.

Quick Start

Use the rust-call-graph skill to generate the call graph for the function process_request in your Rust project.

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, this Skill uses LSP to analyze your codebase and generates an ASCII-based diagram showing callers and callees. It helps you understand code dependencies and flow efficiently for refactoring or optimization.

Can I use LSP to get the call hierarchy of specific Rust functions?

Yes, you can use LSP to get the call hierarchy of specific Rust functions. This Skill retrieves call data directly from your Rust codebase using language server protocol operations to display caller and callee relationships.

What is the best way to analyze Rust code structure and call relationships?

The best way to analyze Rust code structure is by generating a call graph visualization. This Skill leverages LSP to extract function call dependencies and renders them in a clear ASCII-based diagram for easy interpretation.

Do I need to set up a language server to analyze Rust call graphs?

Yes, you need a language server setup because this Skill integrates with LSP to retrieve call data directly from Rust codebases. The language server protocol operations are required to extract the function call relationships for visualization.

How to generate a call graph for a specific function like process_request in Rust?

To generate a call graph for a specific function like process_request in Rust, invoke this Skill on your project. It uses LSP to analyze the codebase and outputs an ASCII diagram showing the function's callers and callees.