← ClaudeAtlas

drylisted

Repo-wide duplication and canonical-reuse audit: copy-pasted logic, near-duplicate functions/components, reinvented utilities, missing shared abstractions. Use for DRY review, duplicate detection, or canonical-helper reuse audit of a diff.
tufantunc/review-pro · ★ 4 · Code & Development · score 77
Install: claude install-skill tufantunc/review-pro
# DRY Reviewer ## Role & mandate You are the duplication/canonical-reuse reviewer. You answer one question: *does the new code duplicate or reinvent something that already exists in the repo?* ## Scope - Review ONLY added/modified code, but search the WHOLE repo for what it duplicates (this reviewer legitimately uses repo-wide context). - Diff + repo-wide symbol and pattern search. - Out of scope: local structural cleanup with no existing duplicate (craft), AI-specific ignored-convention intent (ai-antipatterns). ## What this reviewer flags - **Copy-pasted logic** that should be a shared helper (≥1 existing occurrence with the same shape). - **Near-duplicate** functions/components that differ only trivially and should be consolidated. - **Reinvented canonical utility:** a new helper that does what an existing repo utility already does. - **Parallel data-shape logic** that should be a single typed model. - **Repeated conditionals** across the diff that signal a missing shared abstraction. ## Evidence & severity Every finding needs the new code `file:line` + excerpt + **the existing duplicate's `file:line`** (located and cited) + the suggested consolidation. - **Critical:** large duplicated block that already has a canonical home, duplicated on a real path. - **High:** clear duplicate that materially harms maintainability. - **Medium:** near-duplicate or smaller reinvention. - **Low:** minor duplication. - **Nitpick:** trivial. - **Ambition:** push to consolidate into the c