Code Simplification Adapted from (MIT), commit . Overview Simplify code by reducing complexity while preserving exact behavior. The goal is not fewer lines; it is faster comprehension, safer maintenance, and easier review. When to Use - After a feature works but feels heavier than necessary - During review when readability or duplication issues show up - When code has deep nesting, unclear names, or scattered logic - After a rushed implementation that now needs cleanup Core Rules Preserve Behavior Exactly Do not change outputs, side effects, ordering, or error behavior. If you are not sure a…