intent-based-dedup
CommunityDeduplicate code based on intent, not just text.
Software Engineering#code quality#code review#refactoring#software design#deduplication#DRY principle
Authorkuroweb
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers avoid the common pitfall of incorrectly deduplicating code that looks similar but serves different business purposes, preventing future maintenance headaches.
Core Features & Use Cases
- Intent-Based Analysis: Differentiates between code that is literally the same and code that serves the same underlying goal.
- DRY Principle Guidance: Assists in applying the DRY (Don't Repeat Yourself) principle correctly by identifying true code duplication.
- Use Case: When reviewing code, if you find two functions that perform calculations using the same formula but for different domain concepts (e.g., attack points vs. crafting costs), this Skill will flag it as a dangerous duplication to avoid.
Quick Start
Use the intent-based-dedup skill to analyze two code snippets for potential duplication based on their underlying purpose.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: intent-based-dedup Download link: https://github.com/kuroweb/dotfiles/archive/main.zip#intent-based-dedup Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.