duplication-detection

Detects and proposes consolidation of duplicated instructions across marketplace plugins.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/karimStekelenburg/k3m-marketplace --skill duplication-detection-karimstekelenburg
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: duplication-detection
Source: https://github.com/karimStekelenburg/k3m-marketplace/tree/main/.claude/skills/duplication-detection
Command: npx skills add https://github.com/karimStekelenburg/k3m-marketplace --skill duplication-detection-karimstekelenburg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? As a plugin marketplace grows, the same instructions, skills, and reference content tend to get copied into multiple plugins, causing drift, maintenance burden, and conflicting guidance. This Skill audits the K3M marketplace to find duplicated content and proposes concrete consolidation actions. ## Core Features & Use Cases - Three-level duplicate detection: Compares components by name, by description keyword overlap, and by semantic analysis of SKILL.md bodies to catch both obvious and subtle duplication. - Finding classification: Labels each finding as an exact duplicate, overlapping responsibility, complementary coverage, or shared foundation, so only real problems trigger action. - Consolidation proposals: Recommends which plugin should own the content based on registry.yaml scope declarations, and proposes moves to a shared/ directory, cross-references, or merges. - Use Case: Before adding a new hook-validation skill to a plugin, run this Skill to check whether another plugin already covers hook validation, then consolidate or cross-reference instead of duplicating. ## Quick Start Audit the marketplace for duplicated instructions across all plugins and propose consolidation for any overlaps you find.

Frequently Asked Questions about duplication-detection

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check for duplicate skills across Claude Code plugins?▼

Run a duplication audit that compares SKILL.md files across plugins at three levels: matching names, keyword overlap in frontmatter descriptions, and semantic comparison of instruction bodies. Findings are classified and paired with consolidation proposals.

How does the duplication detection decide which plugin owns content?▼

Ownership is determined from the scope declarations in the marketplace registry.yaml file. The plugin whose scope.owns statement covers the topic keeps the content, and the other plugin removes it or adds a cross-reference.

What types of duplication can this skill detect?▼

It detects exact duplicates, overlapping responsibilities between plugins, and shared foundational content that belongs in a shared/ directory. It also recognizes complementary coverage, which is related but legitimate content requiring no action.

When should duplicated content be moved to a shared directory?▼

Move content to shared/ only when it is foundational material genuinely needed by two or more plugins, such as platform reference documentation. Plugin-specific guidance should stay in its owning plugin to avoid over-centralization.

Does the duplication check run automatically before adding new content?▼

Yes, it supports a pre-addition check that scans existing plugins for similar content before a new skill or command is added. This prevents new duplication rather than only detecting it after the fact.