Someone recommended this in the replies: https://github.com/Dicklesworthstone/destructive_command_gua... Any other must-have tools like this?
dcg nails the known bad patterns. I built something similar that handles the ones that need human judgment, irreversible actions it cant decide. both together covers the full picture.
github.com/phinq-co/phinq