What problem does it solve? Finding opportunities to consolidate duplicated code into shared libraries is time-consuming and error-prone, often requiring manual inspection of codebases and careful verification of caller patterns. This Skill automates the discovery of code reuse opportunities within recent commits and pull requests. ## Core Features & Use Cases - Automated Candidate Discovery: Scans recent work across commits and PRs (default 14 days) to identify repeated code patterns and similar implementations. - Verification & Ranking: Validates that candidates have at least two real callers, evaluates extraction impact (lines removed/added/saved), and ranks candidates by reliability gains and net savings. - Implementation Guidance: For the top three recommendations, provides concrete migration paths, testing strategies, and deployment blast radius analysis. - Use Case: Your team has made fifteen small fixes to error handling across different API endpoints over the past two weeks. This Skill discovers that pattern, confirms three separate locations use the same logic, and recommends extracting a shared error handler that saves 80 lines while improving consistency. ## Quick Start Run this Skill to review your repository's recent work and get ranked recommendations for shared-code extraction opportunities.