rmc-api-surface
CommunityAudit Rust public APIs and catch accidental exposure.
Software Engineering#dependency analysis#rust#code refactoring#api audit#pub use#public surface#visibility hygiene
Authormolaco
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you identify and clean up a Rust crate’s public API by detecting accidental internal exposure, dead or unused public surface, and ineffective facades created by pub use re-exports.
Core Features & Use Cases
- Single-crate API surface audit focused on what is publicly visible and what is re-exported at the crate root.
- Facade vs canonical-path traffic detection using importer analysis to determine whether re-exports are actually used.
- Dead public and dead facade detection to flag unused public items and re-exports with no cross-crate consumers.
- Accidental internals exposure checks to surface cases where pub use patterns leak items that were intended to be crate-internal.
Quick Start
Use the rmc-api-surface skill with the target crate name to generate a severity-ranked audit report of declared re-exports, effective exports, and dead public surface.
Dependency Matrix
Required Modules
None requiredComponents
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-api-surface Download link: https://github.com/molaco/rust-code-mcp/archive/main.zip#rmc-api-surface Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.