Review Duplicates — Development skill for Claude Code
Duplicate Code Detection.
How to install Review Duplicates
Installs to ~/.claude/commands/nwiizo-ccswarm-review-duplicates.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nwiizo/ccswarm/HEAD/.claude/commands/review-duplicates.md -o ~/.claude/commands/nwiizo-ccswarm-review-duplicates.md Restart Claude Code, or start a new session, for it to be picked up.
What Review Duplicates does
Duplicate Code Detection
Uses similarity-rs to detect semantically similar code in the codebase and identify refactoring candidates.
Execution Method
# Basic execution (analyze crates/ directory)
similarity-rs crates/
# Specify similarity threshold (default: 0.85)
similarity-rs crates/ --threshold 0.80
# Include code in output
similarity-rs crates/ --print
# Specify minimum lines (default: 3 lines)
similarity-rs crates/ --min-lines 5
Options
| Option | Description | D
Alternatives in Development
- Auto — Smart router - Single entry point with natural language intent detection 2.8k ★
- /token Scan — Fast rug pull detection for meme coins and token contracts 1.7k ★
- Maestro Init — Initialize project with auto state detection 530 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Daedalai Bug
File a BUG work item from an error message + optional stack trace. Fingerprint-based duplicate detection retur
Vault Curator
Find orphaned notes, broken links, stale content, and duplicates. Use when the vault needs a focused content-q
Memory Consolidate
Review and consolidate similar or duplicate memories
Governance Review Agent
Chains adoption-report, drift detection scoped to at-risk teams, and stakeholder-brief into a periodic governa
Gc
Use when: you need to run Harness GC signal detection, review drafts, adopt/reject remediations, and feed less
Review Operability
Review operability - async workflows, DLQ, retries, drift detection
Related Agents
Harness Novelty Checker
Fresh-context duplicate detector for the benchmarking climb loop. Diffs a proposed variant against the variant
Duplicate Checker
Validates proposed ADRs against existing ones to prevent duplicates and identify update candidates
Code Refactor Agent
Duplicate code detection and refactoring specialist. Uses similarity-rs for semantic similarity detection and