refactoring-patterns
CommunityElevate code quality with design patterns.
AuthorACubero
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of improving existing code by refactoring it to eliminate "code smells" and applying established design patterns for better maintainability, readability, and scalability.
Core Features & Use Cases
- Code Smell Detection & Resolution: Identifies and provides solutions for common issues like long functions and nested conditionals.
- Design Pattern Implementation: Demonstrates practical application of patterns like Strategy and Factory.
- SOLID Principles Guidance: Reinforces adherence to object-oriented design principles.
- Use Case: Refactor a complex, legacy Python module to be more modular and easier to extend by applying the Strategy pattern to interchangeable algorithms.
Quick Start
Refactor the provided Python code to eliminate nested conditionals using early returns.
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-patterns Download link: https://github.com/ACubero/IA_AGENT_esqueleto_proyectos_python_antigravity/archive/main.zip#refactoring-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.