Write pseudo-code implementation of "Link to Skeleton" action