How to smoothly switch combo style during combat, considering different marketplace anim assets have their own skeleton?

So, I was planning to build a DMC-style game, and I intend to have three combat styles: longsword, gunner, and great sword. I realized different animation assets have their own UE4 skeletons. For example, my main character is using animations from skeleton A, and I could not play other animation assets because they are using skeleton B, even though their original skeleton is all UE4 original skeleton. So, if I want to switch different combat styles during the fight or even during the combo, What is the best way, or better way to actually build the function? Could anybody give me some tips or at least a way to look into?

Appreciated:D

PS: I’ve heard of the UE5 retargeting system, does that help? or?