cleanup-dedupe
OfficialAutomate code deduplication and DRY principles enforcement.
Software Engineering#code quality#code refactoring#code deduplication#programming automation#DRY principles
Authorraintree-technology
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the detection of duplicated code blocks and refactors them to follow the DRY (Don't Repeat Yourself) principle, reducing complexity and improving code quality.
Core Features & Use Cases
- Code Duplication Detection: Identifies and lists duplicated code blocks based on token and line count.
- Refactoring: Automatically refactors code blocks that meet certain criteria to follow DRY principles.
- Use Case: When you need to clean up your codebase, find and consolidate repeated logic, or automate the process of refactoring duplicated code.
Quick Start
Run the cleanup-dedupe skill with the path to your codebase to find and refactor duplicate code blocks.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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: cleanup-dedupe Download link: https://github.com/raintree-technology/agent-starter/archive/main.zip#cleanup-dedupe 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 620,000+ vetted skills library on demand.