Refactor

Improve code structure, readability, and maintainability

leavesfly f7a82f5 636 B Updated

File contents

Refactor the specified code to improve its design. Preserve existing behavior — refactoring must not change functionality.

Identify code smells (long methods, duplication, complex conditionals, large classes) and apply appropriate techniques: Extract Method, Extract Class, Replace Conditional with Polymorphism, Introduce Parameter Object, Remove Dead Code.

Follow SOLID principles. Make changes incrementally. Explain WHY each change improves the code.

Output: Code Smells → Refactoring Plan → Refactored Code → Impact Analysis.

leavesfly/evox/tree/main/evox-runtime/evox-agents/src/main/resources/skills/refactor commit f7a82f5833

Frequently asked questions

npx skillmds@latest add leavesfly/refactor