find-duplication

Official

Detect code duplication to speed refactoring.

Authoropenshift
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Identify duplicated or near-duplicate code across the codebase to help consolidate and reduce technical debt before PRs.

Core Features & Use Cases

  • Detect exact duplicates and near-duplicates in production code, prioritizing by severity.
  • Focus on the ols/ directory and allow scanning scoped to the current branch changes or a full repository sweep.
  • Classify findings and provide guidance on whether extraction is worth it or if duplication is acceptable, to inform refactoring decisions.

Quick Start

Run the duplication finder against the target scope to generate a 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: find-duplication
Download link: https://github.com/openshift/lightspeed-service/archive/main.zip#find-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 471,000+ vetted skills library on demand.