Have a look at
https://github.com/Kinematics/GearSwap-Jobs if you haven't already. The gear used in these sets is at least two years out of date, but the logic is pretty sound and the comments in the code are usually pretty helpful.
First, just focus on changing the sets.idle and sets.engaged sets to match your gear current. Then reload Gearswap to recognise your new sets with:
Now run:
This will allow you to see in the chat log that your gear is actually equipping. Just go outside a city and switch between engaged and idle to see it working. You can run the same command to stop logging your gear changes.
When you've got this far, you can then venture into things like precast and midcast sets.