duplicate-code-detection

Community

Automatically detect and refactor duplicate code.

Authorkirti
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automatically detect and refactor duplicate code blocks in JavaScript/TypeScript projects, helping teams reduce maintenance costs and improve consistency.

Core Features & Use Cases

  • Detection & Reporting: Identify exact, structural, and logical duplicate code across files using static analysis and heuristic checks.
  • Automated Refactoring: Suggest or apply function extraction to consolidate duplicates into reusable utilities.
  • CI/CD & Pre-commit Ready: Integrates with Git hooks and workflows to prevent regression due to duplication.

Quick Start

Use the detection workflow to scan your repository and review the resulting duplication report.

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: duplicate-code-detection
Download link: https://github.com/kirti/react-ai-skills/archive/main.zip#duplicate-code-detection

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.