Cleans up a skeleton so a rig can be built on it: names, transforms, hierarchy and mirroring.
Run it on any skeleton before apex_joints. It fills or sanitizes joint names, initializes and orients transforms, checks and sorts the hierarchy, mirrors one side onto the other (by position or by l_ / r_ names), resets pole and guide joints to identity and marks the joints to bind in the skel_bind group. The labels next to the joint fields show how many joints they match.
A KineFX skeleton: joints as points, bones as open polylines.
The skeleton with the change.