Refactor Replace Conditional With Polymorphism

This skill should be used when the user asks to "replace conditionals", "refactor switch statements", mentions "polymorphism", discusses complex branching logic, type-based conditionals, or wants to eliminate long if-else or switch-case chains.

helmedeiros Updated 2 repo stars

File contents

helmedeiros/clean-code-skills commit 0cfb4a6835

Frequently asked questions

npx get-skill add helmedeiros/refactor-replace-conditional-with-polymorphism