“The general who thoroughly understands the advantages that accompany variation of tactics knows how to handle his troops.”

Knowing when to deviate is what separates a capable commander from a rigid one; flexibility is the competency.
Chapter 8 names its competency: the general who thoroughly understands the advantages that accompany variation of tactics knows how to handle his troops. Variation is promoted from tactic to knowledge-domain — something studied, with advantages attached that can be understood thoroughly. Sun Tzu is describing judgment as a learnable expertise, distinct from both obedience and improvisation.
Two ER directors run the same protocol-driven department. One applies protocols as law; the other knows each protocol’s protective purpose, and varies when the purpose is better served otherwise — triage reordered for a multi-casualty event, antibiotics timed around a surgery the rule never anticipated. The auditors initially flag the deviations; the mortality data eventually promotes the deviator. Thorough understanding is the license; the outcomes are the proof.
Variation is earned, not assumed — the verse requires thoroughly understanding the advantages, which presupposes knowing the standard deeply enough to know what it buys you. Novices who vary first and study later are not practicing Chapter 8; they are gambling with extra steps. The sequence is mastery, then deviation, then comparison of outcomes.