dry-refactoring

Installation
SKILL.md

dry-refactoring

Guided workflow to eliminate copy-paste duplication in source code. Use after running jscpd to detect clones.

Prerequisites

First, run jscpd to identify duplications:

npx jscpd --reporters ai <path>

In codebases that mix related formats (e.g. JavaScript and TypeScript), add --cross-formats so clones spanning both are detected too:

npx jscpd --reporters ai --cross-formats "js-ts" <path>

See the jscpd skill for full option reference, including cross-format group syntax.

Installs
901
GitHub Stars
6.0K
First Seen
May 14, 2026
dry-refactoring — kucherenko/jscpd