My Aggressive Clean Up

Aggressively remove the dead code left behind after a feature flag, killswitch, experiment flight, or any conditional code path is retired — the orphaned state, types, variables, imports, styles, and comments that existed only to serve the removed branch, plus the repo-wide footprint (duplicate flag checks, now-constant arguments, dead consumer-side reads). Headlines the wrong-branch hazard: which side survives depends on the flag's polarity and terminal value. Use after graduating/retiring/removing a flag or collapsing a conditional, or when asked to clean up thoroughly after a code path is removed.

superliaye Updated

File contents

superliaye/my-agent-kits commit 8ed273aeb0

Frequently asked questions

npx get-skill add superliaye/my-aggressive-clean-up