Replace repetitive skills append with 'for' statement