Again, you usually take those from existing animations.
Animation is a sequence of matrix translations and rotations to skeleton placed into timeline.
No matter what character blizzard introduces, it is going to reuse some of the already-implemented stuff like mesh/skeleton/animations.
Post I quoted is truly making character from ground up.