Skip to main content
Run any Skill in Manus
with one click

refactoring-simplifying-conditionals

Stars1
Forks0
UpdatedApril 23, 2026 at 13:14

Techniques for simplifying conditional logic: Decompose Conditional, Consolidate Conditional Expression, Consolidate Duplicate Conditional Fragments, Remove Control Flag, Replace Nested Conditions with Guard Clauses, Replace Conditional with Polymorphism. All with Python before/after examples.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly