ZooWork Market · Skill
refactoring
Load PROACTIVELY when a task involves improving code structure without changing behavior. Use when the user says "refactor this", "clean up this code", "remove dead code", "reduce duplication", "reorganize the files", or "extract this into a function". Covers extract function/component, rename symbol, simplify conditionals, improve type safety, apply dependency inversion, remove dead code, resolve circular dependencies, and refactor database queries into safer patterns (parameterization/ORM), with automated safety validation (type checking, tests) at each step.