Some interpret the rhyme as a way to teach children good habits: getting ready (buckling shoes), arriving at work (shutting the door), and completing a task neatly. Educational Benefits

likely describes arranging these pins to create patterns.

may refer to the wooden pins used in lacemaking machines.