# Review Dry

> Review codebase for DRY (duplication) issues Use when this capability is needed.

- Skill: `tomevault-io/review-dry` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/review-dry`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/review-dry/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/review-dry

---


# DRY review — duplication, single source of truth

Review the target codebase with a DRY lens and report **actionable** duplication.

## Scope
Use `$ARGUMENTS` to decide scope:
- If it mentions `git diff` / PR / commit: focus on changed areas first.
- If it mentions a path: review that subtree.
- If empty: scan the repository for high-impact duplication.

## What to look for (examples)
- Duplicated **types/interfaces** across packages
- Duplicated **constants** (paths, magic strings, category metadata, colors)
- Duplicated **validation** rules / parsing logic
- Repeated **error messages** and CLI usage guidance
- Copy-pasted **command steps** (install/build/serve)

## Output format
Produce:
1. **Top duplications (priority order)**
   - Evidence: file paths + short excerpt references
   - Why it hurts (change amplification / inconsistency risk)
   - Smallest refactor that removes duplication (shared module, helper, constant)
2. **Quick wins** (low effort, high payoff)
3. **Risks of over-abstraction** (what NOT to DRY)

$ARGUMENTS

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/yida29) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-15 -->

