the skill has to fulfill the condition of the troop event for it to trigger.
you can choose that condition freely, but it has to be unique so that nothing else triggers the event.
without more details we can only guess which condition would work best, but one possibility is to have the skill turn on a switch either by common event or by damage formula coding.