check-similarity-mbt

Community

Detect MoonBit code duplicates in MBT projects.

Authormizchi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify and reduce code duplication in MoonBit projects by analyzing MBT files with AST-based similarity, enabling targeted refactoring and quality enforcement.

Core Features & Use Cases

  • Detect exact and near-duplicate MBT code blocks across a MoonBit project.
  • Propose concrete refactoring plans to extract shared logic and parameterize differences.
  • Apply threshold-based filtering to prioritize high-impact duplicates and surface actionable insights.

Quick Start

Run similarity-mbt on the target MoonBit project to identify duplicate MBT functions and surface a refactoring plan.

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: check-similarity-mbt
Download link: https://github.com/mizchi/similarity/archive/main.zip#check-similarity-mbt

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 510,000+ vetted skills library on demand.