rmc-complexity

Community

Rank Rust hotspots by blast radius.

Authormolaco
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you locate and prioritize gnarly Rust code by measuring cyclomatic complexity and then estimating how widely the impact of refactoring will propagate.

Core Features & Use Cases

  • Complexity triage (file-level): Uses file aggregates like total cyclomatic, average per function, and function-call counts to quickly identify likely hot files.
  • Hot function discovery (structural): Uses call-graph structure to identify dispatch-like functions with high out-degree inside a hot file.
  • Blast-radius prioritization: Estimates impact via usage summaries and can be refined with workspace-level caller recursion counts.

Quick Start

Ask for a workspace or crate complexity ranking by providing the crate name or a file path hint as an argument, then follow the suggested triage-to-validate workflow.

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

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.