Lightlines
Catalogue
Sign in
By kucherenko

dry-refactoring

kucherenko

Turn copy-paste hotspots into shared, tested code.

code refactoring

What it does

Eliminates copy-paste duplication by refactoring detected clones into clear shared abstractions.

When to use it

Use after running jscpd to detect clones in source code.

How to use it

Give it a target path in a project; it refactors detected clones, verifies their removal, and reports refactored and skipped candidates.

What you provide

  • the target path
  • An existing project

Access · 0

No additional actions listed in the analysis.

What you need · 1

jscpd must be runnable to identify duplications before the refactoring workflow begins.


About this skill

Visibility
Public
Repository
kucherenko/jscpd
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
1