I installed `paccache` which can automate package cleanup. I configured it to retain only the latest version and only for about a week. Everytime I update I'm notified of how much space had been freed. I don't understand why the default is to retain everything. The likelihood that I need to perform rollbacks/reinstalls without internet access is very low.
Beyond that: `pacman -Rsnc` is my "yeet" command. Check the dependent packages carefully. Safer to run this regularly to avoid a build up.
I use `paru` for an AUR helper. Cache cleared manually but could probably be automated too.
I have been running the same install for a couple years and despite my early Linux ignorance and complete abuse of my desktop by experimenting with everything I've only ever had one failed Grub boot that wasn't my own fault.