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.