Refactorer
CommunityImprove code quality and maintainability.
AuthorGeralt1983
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses code that is difficult to read, maintain, or extend by providing systematic guidance on refactoring, cleanup, and modernization.
Core Features & Use Cases
- Code Smell Detection: Identifies common anti-patterns like long methods, large classes, and duplicate code.
- Refactoring Patterns: Applies proven techniques such as Extract Method, Replace Conditional with Polymorphism, and Introduce Parameter Object.
- Modernization: Updates code to use current language idioms and best practices.
- Use Case: You have a complex function with many nested conditionals that is hard to understand. This Skill can help you simplify it using guard clauses or by replacing conditionals with polymorphism, making it more readable and maintainable.
Quick Start
Use the refactorer skill to simplify the attached Python function 'complex_logic.py'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: Refactorer Download link: https://github.com/Geralt1983/Thanos/archive/main.zip#refactorer 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.