Senior AI Dev Kit
Back to the catalog

workflow

Simplify the code

/code-simplify

Removes accidental complexity and duplication without changing behavior.

When to use it

When working code has become hard to read.

Technical description

Use when working code has become hard to read; removes dead code, duplication and needless complexity without changing behavior.