There were all sorts of fancy rule of thumb people were advocating, as well as formal approaches like GEPA that were then incorporated into frameworks like DSPy which were also briefly popular.
Having said that, it's been a while since I've come across conversations on this topic, which means it's either dead or it's already working well in production.
Anybody still has prompt tuning with the likes of DSPy as a standard part of your development process and stack?