One unusual skill is the military "coup d'œil". This is the skill of looking at a battlefield and maps, and knowing what to do to win. Some commanders have this, and some don't. Bolger, in his "The Panzer Killers", comments on which WWII generals had it and who didn't. (Bolger is a modern US general who has commanded tank units in combat, so he has experience with this.) This seems to be a skill that does not come from training and experience - either you have it or you don't.
The US Army tries to understand this.[1] This writer claims it is a trainable skill, but the training required is long. You have to fight a lot of battles, real or simulated. Even then it may just be bringing out the ones who have the innate talent. There aren't that many good generals. Each generation has only a few greats - Giap, Patton, people like that.
[1] https://www.armyupress.army.mil/Journals/Military-Review/Eng...