Guides decisions on when to unify repeated code vs. when duplication is cheaper. Helps avoid wrong abstractions by evaluating reasons to change, not just appearance.
Not all repetition is duplication. Two blocks that look alike but change for different reasons are a coincidence, and unifying them couples things that should move apart. The costly mistake is the wrong abstraction: it is harder to back out of than the duplication it replaced.
if (mode === ...). That cost
compounds silently, while duplication's cost stays visible and local.Some repetition is banned regardless of count: a security rule or a protocol constant copied in two places is a bug waiting to diverge and belongs in one named home. This skill governs logic and structure; for bare repeated literals see magic-numbers, and for the mechanics of the extraction itself see refactoring.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job