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 7c4b17a 4 files · 14.9 KB Updated

File contents

tuyv/ccpm/tree/main/preset-registry/skills/raintree-technology-claude-starter-cleanup-dedupe commit 7c4b17a319

Frequently asked questions

npx skillmds@latest add tuyv/cleanup-dedupe