check-similarity-rs
CommunityFind Rust code duplicates with AST analysis.
Authormizchi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rust projects often accumulate duplicate logic across modules that hampers maintainability. This skill uses AST-based similarity analysis to identify and surface duplicate or highly similar code in Rust sources (.rs files), enabling targeted refactoring.
Core Features & Use Cases
- Detect exact duplicates and near-duplicates in Rust code across modules.
- Analyze struct/enum definitions and impl blocks for shared patterns.
- Produce actionable refactoring recommendations to reduce duplication and improve maintainability.
Quick Start
Run similarity-rs on your Rust project to detect duplicates and receive refactoring guidance.
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: check-similarity-rs Download link: https://github.com/mizchi/similarity/archive/main.zip#check-similarity-rs 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 510,000+ vetted skills library on demand.