Ever accidentally lost files in /snap/bin due to human error(e.g. System migration has the directory excluded)? I designed a script to fix this exact problem:
https://gitlab.com/brlin/fix-snap-bin
This script works by reinstalling all snap packages to force snapd to regenerate these files. Hopefully, it can be fixed by snapd automatically in the future.