
Rust Call Graph
Visualizes Rust function call graphs in both directions using LSP call hierarchy for impact analysis.
- skills.sh installs
- 3.5K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers callers, callees, or both directions, with traversal depth set by
--depth N(default 3) - Includes
prepareCallHierarchy,incomingCalls, andoutgoingCallsLSP operations, plus tree, box, flat, and Mermaid output styles - Adds analysis notes on entry points, leaf functions, hot paths, and high fan-out or fan-in functions
- Designed for Rust codebases where tracing who calls a function, or what it calls, needs to be done without grep
Install
$ npx -y skills add actionbook/rust-skills --skill rust-call-graph -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Rust Call Graph
Visualize function call relationships using LSP call hierarchy.
Usage
/rust-call-graph <function_name> [--depth N] [--direction in|out|both]
Options:
--depth N: How many levels to traverse (default: 3)--direction:in(callers),out(callees),both
Examples:
/rust-call-graph process_request- Show both callers and callees/rust-call-graph handle_error --direction in- Show only callers/rust-call-graph main --direction out --depth 5- Deep callee analysis
LSP Operations
1. Prepare Call Hierarchy
Get the call hierarchy item for a function.
LSP(
operation: "prepareCallHierarchy",
filePath: "src/handler.rs",
line: 45,
character: 8
)
2. Incoming Calls (Who calls this?)
LSP(
operation: "incomingCalls",
filePath: "src/handler.rs",
line: 45,
character: 8
)
3. Outgoing Calls (What does this call?)
LSP(
operation: "outgoingCalls",
filePath: "src/handler.rs",
line: 45,
character: 8
)
Workflow
Details
- Repository
- github.com/actionbook/rust-skills
- Categories
- Rust, Code Review & Quality, Debugging
- First seen
- May 16, 2026
More from actionbook/rust-skills
All 38- Rust Symbol Analyzer3.5K
- Domain Web3.5K
- Domain Cli3.5K
- Rust Learner3.4K
- Rust Skill Creator3.4K
- Rust Deps Visualizer3.3K
- Meta Cognition Parallel3.3K
- Rust Daily3.3K
- Domain Embedded3.2K
- Domain Cloud Native3.2K
- Domain Fintech3.1K
- Domain Ml3.1K
- Domain Iot3K
- Rust Router3K
- Core Agent Browser2.3K
- Core Dynamic Skills2.1K
- Core Actionbook2.1K
- Core Fix Skill Docs2.1K
- M15 Anti Pattern9.4K
- Coding Guidelines4.3K
- M10 Performance4K
- M07 Concurrency3.8K
- M06 Error Handling3.8K
- M01 Ownership3.7K
Similar to Rust Call Graph
More Rust
rust-code-navigatorSkillactionbook/rust-skills3.6K installsNavigate Rust codebases with LSP to jump to definitions, find references, and inspect types.
rust-symbol-analyzerSkillactionbook/rust-skills3.5K installsStructured Rust project analysis that lists modules, structs, traits, functions, and enums from LSP symbols.
ArborMCP serveranandb71161 starsCode graph and call tracing for symbol impact, callers, and paths across a codebase.
CodegraphMCP servercodegraph-ai166 starsSemantic code graph over 38 languages, exposing callers, impact analysis, memory, and PR review tools.
tldr-deepSkillparcadei/continuous-claude-v3484 installsLayered analysis that runs five tldr views (AST, call graph, CFG, DFG, slice) on one function.
grepai-trace-graphSkillyoanbernabeu/grepai-skills837 installsRecursive call-graph builder for GrepAI that maps every dependency of a function to a chosen depth.