detect-code-duplication

Community

Find duplicate TS/JS and craft refactor plans.

Authoryuki-yano
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Detect and map duplicated code across TypeScript and JavaScript projects, then generate a prioritized refactor plan to reduce duplication and improve maintainability.

Core Features & Use Cases

  • Code similarity detection across TS/JS files to surface duplicated patterns and hotspots.
  • Prioritized plan generation with actionable steps, owners, and phased execution guidance.
  • Logs and traceability by storing raw run data under docs/tmp/duplication/runs and producing a final plan under docs/plans/active.

Quick Start

Provide a target path to scan and I will generate a prioritized refactor plan.

Dependency Matrix

Required Modules

similarity-ts

Components

scriptsreferences

💻 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: detect-code-duplication
Download link: https://github.com/yuki-yano/dotfiles/archive/main.zip#detect-code-duplication

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