refactoring-to-patterns
CommunityTurn code smells into proven patterns.
Software Engineering#refactoring#design-patterns#polymorphism#code-smells#compose-method#template-method
Authorbostonaholic
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Recognize recurring design problems and apply proven refactoring patterns to improve code quality.
Core Features & Use Cases
- Identify classic refactoring patterns such as Compose Method, Replace Conditional with Polymorphism, Form Template Method, Introduce Null Object, and State/Strategy migrations.
- Use cases include cleaning up long methods, reducing complex conditionals, and enabling easier extension and maintenance.
- Real-world example: transform a monolithic method into focused, well-named helper methods with clear abstractions.
Quick Start
Identify a long method and apply at least two refactoring patterns to restructure it into simpler, well-named components.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: refactoring-to-patterns Download link: https://github.com/bostonaholic/dotfiles/archive/main.zip#refactoring-to-patterns 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.