rmc-module-audit

Community

Audit a Rust module’s exports and hygiene

Authormolaco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you assess whether a specific Rust module’s internal structure, imports, re-exports, and consumer-visible APIs are consistent, intentional, and visibility-disciplined.

Core Features & Use Cases

  • Module-level import & dependency inspection to understand what the module pulls in and where file-level dependencies matter.
  • Facade and re-export verification using declared vs consumer-filtered re-exports to detect dead facades and unintended exposure.
  • Export/visibility mismatch detection by comparing module-tree pub items against get_exports for an external consumer, highlighting pub(crate) leaks.
  • Decision-focused findings that classify results by severity (high/medium/low/info) for faster code review triage.
  • Targeted follow-ups to hand off deeper per-symbol work to rmc-symbol-forensics or crate-root API surface checks to rmc-api-surface.

Quick Start

Ask the Skill to audit the module my_crate::foo::bar for consumer crate my_client_crate after you have built the hypergraph for your workspace.

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

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.