code-refactoring-solid
CommunityRefactor Python with SOLID for maintainable code.
Software Engineering#architecture#refactor#Python#SOLID#best-practices#design-principles#code-smells
Authorforever19735
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactor Python code to follow SOLID principles and improve maintainability across growing projects.
Core Features & Use Cases
- SRP, OCP, LSP, ISP, DIP guided refactoring to address single-responsibility, open-closed, substitutability, interface segregation, and dependency inversion.
- Concrete patterns: extract class, extract method, introduce parameter objects, and replace conditional logic with polymorphism.
- Use Case: refactor a monolithic module into smaller, testable components to improve readability and extensibility.
Quick Start
Begin by identifying a large class with multiple responsibilities, then apply the SOLID principles to split concerns and define clear interfaces. Provide concrete examples following the patterns above.
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: code-refactoring-solid Download link: https://github.com/forever19735/Garbage/archive/main.zip#code-refactoring-solid 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 471,000+ vetted skills library on demand.