Flying your windfoil gybe is probably the most sought after goal of anyone new to foiling, and consistency the goal of every racer! After practicing on and off for about 2 years now I finally had a good session with light-medium winds about 8-16 knots and made the most of my 1000R AFS foil, FMX 91cm Hyperion foil board and 8.0 Loft SkyBlade 4 cam dedicated foil sail. I'm about 80kg and 185cm tall for comparison purposes.
A few things I've noticed over the years... feel free to agree or amend:

Comfortable but fast entry speed

Smooth movements

Back foot as far across your board as is practical... preferably in line with the leeward front footstrap.

Back foot placement is critical to maintain altitude, even more so on free ride short fuselage foils.

Lean sail in and forward on fully extended arms. The forward sail helps balance your ride height

Open sail early as you turn downwind - this is the most different part to a powered slalom gybe

Bring your old front foot to the centreline, as far back as you were standing before

Quickly move your new front foot from the leeward rail to the new front strap
Safe but slow option is to put this foot in front of the strap... guaranteed to be a planing gybe but prevents an ejection.

Flip the sail quickly by leading the leading edge around - try not to 'push' the clew around with the back hand.
If you get backwinded - especially in light winds - try to flip the sail a moment earlier. This is still my main challenge with a big sail (10.0).

Bring the sail forward - immediately - into the new sailing position to regain balance, power and the right body position

Oh and Windfoil gybes help your fin gybes too because you have to pay more attention to every angle.
To get to this point I've also been practicing my "Figure S's", sailing upwind, turning smooth and sharply downwind, then carving back upwind. Do this a few times each session, on both tacks, to get familiar with your board/foil/sails feel at more extreme angles.
Last year I was also aiming for consistently finished gybes rather than air gybes so I would put my new front foot in front of the new front strap, so I could focus on the rig flip and staying dry rather than speed, but safely avoiding an aerial loop or catapult!
Also wind speed matters! I'm much more happy in comfortable winds, too fast or too light and I still struggle! For this video I was using an 8.0 foil racing sail, but if it was a competition I would probably be on a 9 or even 10 for these lighter winds. The smaller 8 (i remember when 7.5 was my biggest sail) is much easier to handle and practice with.