rmc-symbol-forensics

Community

Uncover how a Rust symbol is used

Authormolaco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you understand the real-world impact of a Rust symbol by locating where it is imported, referenced, and referenced via rust-analyzer cross-links, so you can make safer refactor or deletion decisions.

Core Features & Use Cases

  • Single-symbol deep dive: Produces a structured forensics report for one qualified symbol, including its declaration context and downstream usage patterns.
  • Import and usage intelligence: Compares who_imports, who_uses, and who_uses_summary to distinguish structural import-only presence from non-import references, including Test/Other consumer breakdowns.
  • Verification via rust-analyzer references: Uses find_references to catch additional reference types that hypergraph indexing might miss (e.g., macro-introduced or cfg-gated cases).
  • Risk-framing outputs: Applies decision frames (safe-to-delete, test-only, critical-path, shared-API, imported-as-bound) and recommends next actions, optionally extending to type method fan-in.

Quick Start

Ask for a single-symbol report by providing the symbol’s qualified name for a deep dive on its declaration, importers, non-import references, and rust-analyzer cross-references.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rmc-symbol-forensics
Download link: https://github.com/molaco/rust-code-mcp/archive/main.zip#rmc-symbol-forensics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.