Add gosub-generated package specs and pre-commit hook to sync specs

[#80741398]