Code Simplification

Reduce code complexity without changing behavior — the Review-stage QUALITY axis. Use the moment a slice's code is green but reads heavier than it should: deep nesting, nested ternaries, dead code, generic names, copy-paste duplication, speculative abstractions. Apply Chesterton's Fence (understand before you cut) and stay scoped to what changed. Quality only — it does NOT hunt for bugs (that is `code-review`/`security-and-hardening`). It REPORTS findings and edits nothing — not the code, not the tests; a simplification that cannot be had without moving behavior, a frozen test, or the repo's decided look is a HALT, not a finding.

celestialdust b44fd9b 17.7 KB Updated

File contents

celestialdust/achilles-skills/tree/main/skills/code-simplification commit b44fd9b33f

Frequently asked questions

npx skillmds@latest add celestialdust/code-simplification