My approach is to screw all the barrel adjuster 3/4 in so there is adjustment both ways plus some extra for any stretch, the shifter in top gear (smallest cog) and then hold the mech over the second smallest cog before applying a bit of tension to the cable and tightening the clamp. When you let go the mech pulls any remaining slack, occasionally it’s spot on but normally needs a couple of turns on the barrel adjuster to get it perfect.
Finally, I always wind in the limit screws slightly until it won’t shift into top and bottom gear, and then adjust back until it shifts into the full range without fuss, then add an extra turn just to give it a slight ability to over-shift when clagged up. Seen too many mech v spoke incidents to just trust that they are still set correctly!