There's a bug related to Skill Swap in Doubles.
I was playing in a Doubles format (VGC 2016 to be exact) and was facing a Bronzong. Throughout the game, it never revealed its ability in any way, but when it used Skill Swap on its own partner (a Primal Kyogre), on the Pokémon info box that...