Skill-Based Few-Shot Selection for In-Context Learning