by Justin Maresh
Do you find that Personal Dictionary shortcuts stop working in Gboard at random times or after a reboot? Download then click the start of this flow and create a shortcut on your home screen. Then, tap the shortcut and Gboard should work normally again. Yay!
All this does is execute a shell script to force-stop Gboard and then set it as your default input method again. Root is required.
If you want this to happen automatically after reboot, use my other flow "Gboard Shortcut Fix at Boot." Until Google fixes this long standing bug, this operation is the most common workaround, but it may not work for everyone.