Skip to content
Skill

dry

by majiayu000

AI Summary

Detect 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

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 4d ago
Active
Adoption100+ stars on GitHub
174 ★ · Growing
DocsMissing or thin
Undocumented

GitHub Signals

Stars174
Forks33
Issues2
Updated4d ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code