Mixing it up is what it's all about. Going on mountain bike rides, road rides, city riding, gravel rides, anything with cranks and pedals, and many of these skills will come naturally.
By the way, out of all these, gravel rides are the absolute best!