duplicate-detection-rules

Community

Find and remove code duplication fast.

Authorchkim-su
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Code duplication slows changes and introduces inconsistencies. This Skill codifies rules for detecting clone code, role duplication, and variable duplication to guide safe, DRY refactoring.

Core Features & Use Cases

  • Detection Categories: Type-1 to Type-3 code clones and role duplication signals.
  • Guided Remediation: Suggests patterns and strategies to consolidate duplicates.
  • Quality Guardrails: Thresholds ensure duplicates are kept under control and maintainability.

Quick Start

Review the defined clone and role-duplication patterns in references/clone-patterns.md and references/fix-patterns.md to kick off detection, then run the analyzer on your codebase.

Dependency Matrix

Required Modules

None required

Components

references

💻 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-detection-rules
Download link: https://github.com/chkim-su/serena-refactor-marketplace/archive/main.zip#duplicate-detection-rules

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.