There's no easy way to write a set of instructions due to how many things can change and/or break.
Just as an example, the new 23.05 version introduced several changes to the packages that are part of the default build, requires GCC 10 to compile successfully (hence the change to Ubuntu Server 20.04), and specifically version 23.05.3 needed a kmod package to be excluded from being built in order to have it compile successfully.
Overall, I'd say you should always start with the most recent .patch and .config files, and work your way through the changes and issues introduced by the new version so that you end up with a vanilla image.