Cleanup Dedupe

Detect duplicated code blocks and refactor to DRY where it reduces complexity. Runs jscpd (multi-language), filters by signal-to-noise, and auto-extracts only token-identical blocks ≥30 LOC. Use when the user asks to deduplicate, DRY up, find copy-paste, or consolidate repeated logic. Example queries — "DRY this up", "find copy-paste in the codebase", "consolidate repeated logic", "where are the duplicated blocks".

tuyv Updated 1 repo stars

File contents

tuyv/ccpm commit 7c4b17a319

Frequently asked questions

npx get-skill add tuyv/cleanup-dedupe