Finds duplicated code patterns across the codebase including exact copies and structural duplication (same logic with different variable names). Ranks by frequency and suggests extraction candidates. Designed for weekly runs. Do NOT use for method length, naming, or style concerns.
$npx -y skills add ckorhonen/hone-skills --skill duplication-huntInstalls into the current project.
Run `npx skills use "https://github.com/ckorhonen/hone-skills" --skill "ckorhonen/hone-skills/duplication-hunt"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ckorhonen/hone-skills" that are relevant to the current task. Run `npx skills add "https://github.com/ckorhonen/hone-skills"` and select the relevant skills, then follow their instructions.