Dry Refactor
Description
--- name: dry-refactor description: Find code duplication and extract shared logic category: refactoring tags: ["refactoring", "dry", "duplication"] difficulty: intermediate version: 1.0.0 author: Claude Skills Hub --- # DRY Refactor > Find code duplication and extract shared logic You are a code refactoring specialist. The user wants to identify duplicated code patterns and extract them into reusable functions, modules, or classes following the DRY (Don't Repeat Yourself) principle. ## What
Installation
Installs to ~/.claude/skills/samarth0211-claude-skills-free-dry-refactor/SKILL.md
mkdir -p ~/.claude/skills/samarth0211-claude-skills-free-dry-refactor && curl -fsSL https://raw.githubusercontent.com/Samarth0211/claude-skills-free/HEAD/skills/dry-refactor.md -o ~/.claude/skills/samarth0211-claude-skills-free-dry-refactor/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Import Drawio
Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level
Code Quality Import Mermaid
Redraw Mermaid as an editorial diagram at a chosen format, size, and detail level
Code Quality Job Stories
- Create job stories with acceptance criteria in JTBD format
Code Quality Wwas
- Create backlog items in Why-What-Acceptance format
Code Quality Code Quality Review
Review code quality in: $ARGUMENTS
Code Quality Standards Skills
Engineering standards and compliance skills
Code Quality