Wang Shaoyi (Chinese: 王紹懿; died 866), formally the Count of Taiyuan (太原伯), was a general of the Chinese dynasty Tang dynasty who ruled Chengde Circuit (成德, headquartered in modern Shijiazhuang, Hebei) in de facto independence from the imperial government as its military governor (Jiedushi).
His family had been, prior to his generation, in control of Chengde Circuit for two generations, after his grandfather Wang Tingcou seized control of the circuit in 821 without imperial approval and eventually forced the imperial government to acquiesce; his father Wang Yuankui later succeeded Wang Tingcou and took a more conciliatory stance with the imperial government.
However, Wang Shaoding was inappropriate in his behavior, favoring drinking, and particularly liking to sling bullets at people from towers for fun.
The soldiers supported Wang Shaoyi, who was then deputy military governor, to succeed him.
Work hard, be faithful to the imperial government, be peaceful with the neighboring circuits, and do not destroy my brother's heritage.