/quality-tools:dryfrom quality-tools
Reviews code for duplicated knowledge (rules, constants, parsers, protocol details) that must change together. Distinguishes true duplication from coincidentally similar code. Use on pull requests or diffs for DRY review, copy-paste checks, or duplication analysis.
Ships in quality-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
DRY is about knowledge, not text. A finding is the same decision encoded in two or more places that have to change together — so that changing one and forgetting the other is a bug waiting to happen. Two blocks of similar-looking code that encode different decisions are not duplication, and merging them would couple things that should vary independently.
In a diff, check first whether the change adds a copy of something that already exists in the codebase: search for the key identifiers, strings and regexes it introduces.
high — the copies have already drifted: they disagree today, and you can show the input
that behaves differently in each.medium — default: the copies are identical now but must change together, and nothing ties
them.low — small repeated literals or helpers where a mismatch would be cosmetic.Each finding carries:
DRY;file:line of every copy, not just the one in the diff;Verify each finding by reading all copies side by side before keeping it. Fewer, true findings beat a long list.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub siva01c/claude-plugins --plugin quality-toolsOther plugins' skills for the same job