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
Adsense Site Auditor
Claude Code Skill that audits websites against Google's 73 official AdSense eligibility requirements, with aut
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
Prepare Application
Prepare a full application pack for one job (duplicate check, folder, CV, cover letter), then get gap advice a
Governance Review Agent
Chains adoption-report, drift detection scoped to at-risk teams, and stakeholder-brief into a periodic governa
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