AI SummaryDetect duplicate code across your codebase using jscpd. If not installed, suggest: Results are stored in
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "dry" skill in my project. Please run this command in my terminal: # Install skill into your project (2 files) mkdir -p .claude/skills/dry && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/dry/SKILL.md "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/dry/SKILL.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/dry/metadata.json "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/dry/metadata.json" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Detect duplicate code and suggest DRY refactors using jscpd
DRY Check
Detect duplicate code across your codebase using jscpd.
Subcommands
| Command | Description | |---------|-------------| | dry or dry scan | Run duplication scan | | dry report | Show last scan results | | dry config | Show current jscpd configuration | | dry init | Create project-specific jscpd.json |
Parameters
| Parameter | Description | Default | |-----------|-------------|---------| | --threshold N | Minimum token count for duplicate detection (higher = fewer matches) | jscpd default | | --path <dir> | Directory to scan for duplicates | Current directory |
Scan with higher threshold (find only large duplicates)
/bluera-base:dry scan --threshold 100
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster