This takes messy code and makes it readable without changing what it actually does. It flattens nested conditionals, pulls out clear variable names, removes duplication, and breaks up dense transform chains. The workflow is conservative: it preserves public APIs, side effects, and error behavior, then runs lints and tests to verify nothing broke. You can point it at specific files or let it work on whatever you just modified in the session. It knows when to stop and ask instead of attempting speculative rewrites. Good for when you need to clean up before review but want guardrails against breaking changes.
npx skills add https://github.com/paulrberg/agent-skills --skill code-simplify