Fronts- scissor the rail/box with your front foot, you can do it with you back foot but it is harder, by forcing the ski into the side of the box enough to get to the speed you want and set a spin. Once scissoring push with the scissoring foot and jump as straight up as possible while looking where you want to spin and it should be enough to set a 180 for the swap when landing make sure to keep in an athletic position with your feet about shoulder width apart slightly crouched to keep you center over the box/rail and slide out the rest of the feature.
Backs- using the front tip of your ski press on the front of the box/rail while looking over your back shoulder and jump like in the front swap but i would pop a little harder than in the front make sure to keep center on this because these are and easy trick to slip back on IMO finish the same way as the front.
MAKE SURE TO SWITCH UP EARLIER THAN YOU THINK YOU SHOULD
2s- same as swaps just easier because you dont have to land back on the rail on back 2s make sure to keep forward because you may end up washing out
2 on- do this on a small flat box first and i would also have the 2s out and front swaps before doing this, to do this i would suggest practicing on an imaginary rail just doing 270s onto a spot on the ground. going into this trick you are going to need the mindset of a thug(for lack of a better word) you have to know you are going to do it and ride out nice and smooth. going into the jump i dont really prewind i just am in my athletic stance(explained in fronts) ready to pop at the lip of the take off pop like you know you can and spin with you whole body at once as best you can make sure not to over rotate or under(over is better though) when you get on the box try to either stop your rotation like how you set a back swap or keep your bases flat and continue into a front surface swap
thats all i got hope it helps