I am imagining something like this at this point.
If a character's unit does not encounter another unit in battle, 30% chance of Leadership increase, 10% chance nothing increases.
If a character's infantry, archer or mixed infantry unit encounters another unit in a battle, 60% change of Swordsmanship increase and 30% chance of Leadership increase, 10% chance nothing increases.
If a character leading cavalry meets another unit in battle while charging only, 60% change of Jousting increase and 30% chance of Leadership increase, 10% chance nothing increases.
If a character leading cavalry meets another unit in battle while charging and while not charging, 30% change of Jousting increase, 30% chance of swordfighting increase and 30% chance of Leadership increase, 10% chance nothing increases.
By meeting another unit in battle, I men that the two units engage in melee combat.
If the character is a hero, increase the chance of a fighting skill increase by 10% and decrease the chance of gaining leadership by 10%.
Any existing class rules that determine how a particular characters skills affect unit CS, willingness to stay and fight and all that remain.