What problem does it solve?
This skill helps you identify which methods on a specific Rust type are actually used in the codebase, including dead APIs, test-only helpers, and naming inconsistencies.
Core Features & Use Cases
- Method-surface inventory: Pulls a single type’s complete method API surface (methods, associated consts, and associated types) using the Layer-4 module tree.
- Fan-in analysis: Computes per-method usage fan-in via
who_uses_summary, enabling you to rank critical entry points and detect unused methods.
- Inherent vs trait dispatch clarity: Helps distinguish inherent methods from trait/impl dispatch patterns so you can reason about how callers reach the API.
- Practical outputs for review: Produces summaries listing dead methods and top-by-fan-in methods to drive refactors and API cleanup.
Quick Start
Run the skill to build the hypergraph for your workspace, generate the depth-4 module tree for your target crate and type, then rank each method by who_uses_summary fan-in to produce a dead-method list and top callers.