rmc-imports-exports

Community

Audit Rust crate boundaries and dead surfaces

Authormolaco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you identify whether a Rust workspace’s cross-crate API boundaries are clean and intentional by finding which crates export what, which consumers actually use it, and where declared public surface is dead or misleading.

Core Features & Use Cases

  • Workspace-wide import/export audit: Builds a consumer→producer edge matrix, then cross-checks declared pub use re-exports against dead-public findings to classify live facades vs dead facades vs dead canonical pubs.
  • Single-crate deep dive: Maps a crate’s root-level module visibility, declared re-exports, imports, and cross-crate dead-pub items to assess encapsulation discipline and API hygiene.
  • Hot-symbol forensics: Uses symbol-level usage summaries to determine whether dependencies are pulled broadly or heavily, and to support targeted refactoring decisions.
  • Optional architecture metrics: Provides Martin-style dependency instability and abstractness metrics to help prioritize architectural cleanup.

Quick Start

Run rmc-imports-exports on your Rust workspace directory to generate a severity-ranked report of dead and over-broad cross-crate import/export surfaces.

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-imports-exports
Download link: https://github.com/molaco/rust-code-mcp/archive/main.zip#rmc-imports-exports

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.