Simplify

Reduce the complexity of existing code without changing behavior - deep nesting, long functions, dead code, unclear names, the wrong abstraction. Use after a feature works but reads heavier than it should, or to clean up code written under time pressure. Pass `--aggressive` to reshape a working feature into the form it should have had from day one (delete proven-dead compatibility paths). `--scan` lists aggressive candidates only. Triggers: 'simplify this', 'clean up this code', 'reduce complexity', 'zero tech debt', 'remove the compat layer', 'rebuild this as if from scratch'.

vanducng 287343b 2 files · 9.9 KB Updated

File contents

vanducng/skills/tree/main/skills/simplify commit 287343b3c7

Frequently asked questions

npx skillmds@latest add vanducng/simplify