DRY refactoring Official Refactoring Needs app Runs the jscpd copy-paste detector, reads each clone pair, leaves look-alikes that should stay apart, removes real duplication by extracting shared code and re-runs to confirm. @kucherenko MIT

Skill · Refactoring

DRY refactoring

Runs the jscpd copy-paste detector, reads each clone pair, leaves look-alikes that should stay apart, removes real duplication by extracting shared code and re-runs to confirm.

Author
Andrey Kucherenko (official: the maker of the tool)
Source
kucherenko/jscpd at version a5ac161
Licence
MIT
Needs
Needs an app or CLI: Node.js (jscpd runs through npx)
Works in
Terminal agents such as Claude Code, Codex and Cursor
Reviewed
Nov 2026, skill file read in full
Note
Starts jscpd with npx, which downloads the package from npm on first use. For the full list of options it points to the sibling jscpd skill in the same repository.

Install only this skill

npx skills add kucherenko/jscpd@a5ac161f1574565f4c632af6ff3acc089f152466 --skill dry-refactoring -g -y

Comes in these collections